Skip to content

Instantly share code, notes, and snippets.

Anil venkataanil

Block or report user

Report or block venkataanil

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View osp14_ml2ovs_ovn_comparision
(.browbeat-venv) [stack@undercloud-0 browbeat]$ ./browbeat.py -s neutron.yaml -q -u 37f05fe4-d20b-45cc-9572-345bf9a347a9 37f05fe4-d20b-45cc-9572-345bf9a347a9
2018-11-26 14:32:24,438 - browbeat.config - INFO - Config neutron.yaml validated
2018-11-26 14:32:24,536 - browbeat.elastic - INFO - Making query against browbeat-rally-*
2018-11-26 14:32:34,016 - browbeat.elastic - INFO - Searching through ES for uuid: 37f05fe4-d20b-45cc-9572-345bf9a347a9
2018-11-26 14:32:34,016 - browbeat.elastic - INFO - Scrolling through Browbeat 51 documents...
2018-11-26 14:32:34,046 - browbeat.elastic - INFO - Making query against browbeat-rally-*
2018-11-26 14:32:34,288 - browbeat.elastic - INFO - Searching through ES for uuid: 37f05fe4-d20b-45cc-9572-345bf9a347a9
2018-11-26 14:32:34,289 - browbeat.elastic - INFO - Scrolling through Browbeat 51 documents...
2018-11-26 14:32:34,372 - browbeat.elastic - ERROR - Not enough data to compare
(.browbeat-venv) [stack@undercloud-0 browbeat]$ ./browbeat.py -s neutron
View osp14_ml2ovs_ovn_comparision
(.browbeat-venv) [stack@undercloud-0 browbeat]$ ./browbeat.py -s neutron.yaml -q -u 37f05fe4-d20b-45cc-9572-345bf9a347a9 37f05fe4-d20b-45cc-9572-345bf9a347a9
2018-11-26 14:32:24,438 - browbeat.config - INFO - Config neutron.yaml validated
2018-11-26 14:32:24,536 - browbeat.elastic - INFO - Making query against browbeat-rally-*
2018-11-26 14:32:34,016 - browbeat.elastic - INFO - Searching through ES for uuid: 37f05fe4-d20b-45cc-9572-345bf9a347a9
2018-11-26 14:32:34,016 - browbeat.elastic - INFO - Scrolling through Browbeat 51 documents...
2018-11-26 14:32:34,046 - browbeat.elastic - INFO - Making query against browbeat-rally-*
2018-11-26 14:32:34,288 - browbeat.elastic - INFO - Searching through ES for uuid: 37f05fe4-d20b-45cc-9572-345bf9a347a9
2018-11-26 14:32:34,289 - browbeat.elastic - INFO - Scrolling through Browbeat 51 documents...
2018-11-26 14:32:34,372 - browbeat.elastic - ERROR - Not enough data to compare
(.browbeat-venv) [stack@undercloud-0 browbeat]$ ./browbeat.py -s neutron
View osp14 Installation
```openstack tripleo container image prepare default --local-push-destination --output-env-file /home/stack/containers-prepare-parameter.yaml```
### cat /home/stack/containers-prepare-parameter.yaml
```Generated with the following on 2018-11-04T18:33:57.661136
openstack tripleo container image prepare default --local-push-destination --output-env-file /home/stack/containers-prepare-parameter.yaml
parameter_defaults:
View osp14_lorenzo_installation.txt
mkdir ~/images
mkdir ~/templates
# update hostname in /etc/hosts and /etc/hostname
sudo yum install -y python-tripleoclient
openstack tripleo container image prepare default --local-push-destination --output-env-file containers-prepare-parameter.yaml
# update containers-prepare-parameter.yaml // 1) remove last line 2) remove ceph
cp /usr/share/python-tripleoclient/undercloud.conf.sample undercloud.conf
# update local_interface and below parameters in undercloud.conf
# container_images_file = /home/stack/containers-prepare-parameter.yaml
# undercloud_ntp_servers = clock.redhat.com
View deploy_fail_prepping_block_device.txt
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 281, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 25, in run
View ssh failing
Command '['ssh', '-o', 'ConnectionAttempts=6', '-o', 'ConnectTimeout=30', '-o', 'StrictHostKeyChecking=no', '-o', 'PasswordAuthentication=no', '-o', 'UserKnownHostsFile=
/dev/null', '-o', 'StrictHostKeyChecking=no', '-i', '/home/stack/.ssh/id_rsa', '-l', 'heat-admin', u'192.168.24.8', "echo -e '\nssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDMf
LARG0Dif26jvz1g+w1ZPXoZWQfgmoDWwFfEX/3hRiuEhxC3tdPRL37jnyD1mTxaOLHjk/KSSYm5vKd8lNN5sElKTdXB+EqgnkIKqhkm3IQTidDV5lB8xvhuuQ3tBcaJJU9MOcbVPwa2IO8iBIOoyptThK4qJEsP8QjwGryIyn
VhANCVOwJJk9iQ1w8w6CCx9sb3KiIgTuIBcML7AExBvKTPaXXWib7Lfh7pnNUHI2sxCKhFzJBWtNgnq/f5OlboFWdhbedLDyCGjaFfJbJDanJqJ62I4v4QOrOoW6HlQUYFZVVTY4R6gyUswBrok2iWgkjarEXnjP4RASGLuo+
jZwSe4ijKYzpo4rHpDBM/ifZX9NG8zwHpGeCMzdbSP7L9GgtKKszJuPTsIkFcgFgWAr+nBWa3ZcEzwU0NarycDiaH+fjK4qebx2DNT2x4RoyRGt76UISKewFJ/AuunhLmyM6vuDmPBcVP4ztCZ+1MMefK+Vyy2tcth09akKs6
M09PhqhZ4epu3u47B/D39dmwder6wj1yfoIiIp3TPxgJgY5gv+p9el/R41btHrae4TAcLSned0XYotKlbp/4zDZiBuWHz04Ehps47pYJV4tDqsIIwI8LRzPyLYPwiLftJtvRtZQamVKY5BU6E0MSjDpz3P5rFe7zpOw8NYq0k
qqa+
View compute_fail_to_reach_internal_api_network.txt
Started Mistral Workflow tripleo.deployment.v1.set_deployment_status_failed. Execution ID: f68398c5-043a-4f00-bb0c-d404952f5fe5
{u'body': {u'type': u'tripleo.deployment.v1.set_deployment_status_failed', u'payload': {u'status': u'SUCCESS', u'message': u'', u'execution': {u'name': u'tripleo.deploym
ent.v1.set_deployment_status_failed', u'created_at': u'2018-12-06 10:56:03', u'updated_at': u'2018-12-06 10:56:03', u'id': u'f68398c5-043a-4f00-bb0c-d404952f5fe5', u'par
ams': {u'namespace': u'', u'env': {}}, u'input': {u'queue_name': u'tripleo', u'plan': u'overcloud'}, u'spec': {u'tasks': {u'send_message': {u'input': {u'status': u'<% $.
status %>', u'plan_name': u'<% $.plan %>', u'queue_name': u'<% $.queue_name %>', u'message': u"<% $.get('message', '') %>", u'execution': u'<% execution() %>', u'type':
u'<% execution().name %>', u'payload': {u'deployment_status': u'<% $.deployment_status %>'}, u'deployment_status': u'<% $.deployment_status %>'}, u'version': u'2.0', u't
ype': u'direct', u'name': u'send_message', u'w
View osp13_installation.txt
curl -o rhos-release-latest.noarch.rpm http://download-node-02.eng.bos.redhat.com/rcm-guest/puddles/OpenStack/rhos-release/rhos-release-latest.noarch.rpm
yum install -y rhos-release-latest.noarch.rpm
rhos-release --help
rhos-release 13-director -p passed_phase2
yum update -y; reboot
=======================================
yum install tmux -y
tmux new -s osp
useradd stack
passwd stack
View osp13-controller.yaml
type: OS::Heat::SoftwareConfig
properties:
group: script
config:
str_replace:
template:
get_file: /usr/share/openstack-tripleo-heat-templates/network/scripts/run-os-net-config.sh
params:
$network_config:
network_config:
View centos_repo
[stack@gprfc050 devstack]$ cat /etc/yum.repos.d/CentOS-Base.repo
[base]
name=CentOS-7-Base
baseurl=http://mirror.centos.org/centos/7/os/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
You can’t perform that action at this time.