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 ovn2.11 patching
Installing openvswitch (which requires wrappers as well)
note: "el7" are for RHEL7 and "el8" are for RHEL 8
1) download the below files to undercloud and then copy them to controllers
wget http://download-node-02.eng.bos.redhat.com/brewroot/packages/openvswitch2.11/2.11.0/26.el7fdp/x86_64/openvswitch2.11-2.11.0-26.el7fdp.x86_64.rpm
wget http://download-node-02.eng.bos.redhat.com/brewroot/packages/openvswitch2.11/2.11.0/26.el7fdp/x86_64/python-openvswitch2.11-2.11.0-26.el7fdp.x86_64.rpm
and the rhosp wrappers
wget http://brew-task-repos.usersys.redhat.com/repos/official/rhosp-openvswitch/2.11/0.6.el7ost/noarch/rhosp-openvswitch-2.11-0.6.el7ost.noarch.rpm
wget http://brew-task-repos.usersys.redhat.com/repos/official/rhosp-openvswitch/2.11/0.6.el7ost/noarch/python-rhosp-openvswitch-2.11-0.6.el7ost.noarch.rpm
2) login to nodes using "public ip i.e 10.x and not 192.x" as 192.x is on switch, which will break the connection when we install ovs
View osp18_compute_var_log_messages
This file has been truncated, but you can view the full file.
Nov 1 10:00:50 compute-0 kernel: microcode: microcode updated early to revision 0x200005e, date = 2019-04-02
Nov 1 10:00:50 compute-0 kernel: Linux version 4.18.0-147.el8.x86_64 (mockbuild@x86-vm-09.build.eng.bos.redhat.com) (gcc version 8.3.1 20190507 (Red Hat 8.3.1-4) (GCC)) #1 SMP Thu Sep 26 15:52:44 UTC 2019
Nov 1 10:00:50 compute-0 kernel: Command line: BOOT_IMAGE=(hd0,msdos2)/boot/vmlinuz-4.18.0-147.el8.x86_64 root=UUID=34ecc31c-fa6a-4104-b15b-36a582e847fd ro console=ttyS0 console=ttyS0,115200n81 no_timer_check net.ifnames=0 crashkernel=auto rhgb quiet
Nov 1 10:00:50 compute-0 kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Nov 1 10:00:50 compute-0 kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Nov 1 10:00:50 compute-0 kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Nov 1 10:00:50 compute-0 kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
View dhcp_issue
==================== Failing node ====================================================================
[root@overcloud-compute-13 heat-admin]# grep -inr enp2s0f0 /var/log/messages
1038:Oct 22 06:20:01 overcloud-compute-13 NetworkManager[1940]: <info> [1571739601.7204] manager: (enp2s0f0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
1039:Oct 22 06:20:01 overcloud-compute-13 NetworkManager[1940]: <info> [1571739601.7211] device (enp2s0f0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
1040:Oct 22 06:20:01 overcloud-compute-13 kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s0f0: link is not ready
1041:Oct 22 06:20:01 overcloud-compute-13 kernel: ixgbe 0000:02:00.0: registered PHC device on enp2s0f0
1050:Oct 22 06:20:01 overcloud-compute-13 kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s0f0: link is not ready
1057:Oct 22 06:20:01 overcloud-compute-13 kernel: ixgbe 0000:02:00.0 enp2s0f0: detected SFP+: 3
1067:Oct 22 06:20:02 overcloud-compute-13 NetworkManager[1940]:
View browbeat_install_howto.txt
git clone https://github.com/openstack/browbeat.git
cd browbeat
cd ansible
./generate_tripleo_hostfile.sh -l
[stack@f27-h32-000-r630 ansible]$ cat /etc/resolv.conf
# Generated by NetworkManager
search rdu2.scalelab.redhat.com
nameserver 10.1.32.3
View ovn_osp13_installation.txt
# this can be used for non-ovn i.e ml2/ovs based deployment as well.
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
View undercloud_error
TASK [copy default undercloud config] ******************************************
^[[1;30mtask path: /root/.infrared/plugins/tripleo-undercloud/configure.yml:64^[[0m
^[[0;31mfatal: [undercloud_host]: FAILED! => {"changed": false, "msg": "Source /usr/share/python3-tripleoclient/undercloud.conf.sample not found"}^[[0m
View libvirt_networking
read https://wiki.libvirt.org/page/VirtualNetworking along with below data
The above deostn't talk about bridged networking.
For bridged networking https://wiki.libvirt.org/page/Networking
[stack@gprfs036 infrared]$ brctl show
bridge name bridge id STP enabled interfaces
data 8000.525400520d57 yes data-nic
vnet0
vnet3
View dhcp_agent_error
2019-06-10 08:03:59.528 159786 ERROR neutron.agent.dhcp.agent [req-f8365cd2-c790-4ac9-844f-a6cb8bce98fd c33f02381e1c479586489e1b6686a71f 3ba6344f83c743ef9640403661af3199 - - -] Unable to reload_allocations dhcp for ff7ee612-d52a-4ece-9f1f-c4cf84be019c.: ProcessExecutionError: Exit code: 125; Stdin: ; Stdout: neutron-dnsmasq-qdhcp-ff7ee612-d52a-4ece-9f1f-c4cf84be019c
; Stderr: Error response from daemon: removal of container neutron-dnsmasq-qdhcp-ff7ee612-d52a-4ece-9f1f-c4cf84be019c is already in progress
/usr/bin/docker-current: Error response from daemon: Conflict. The container name "/neutron-dnsmasq-qdhcp-ff7ee612-d52a-4ece-9f1f-c4cf84be019c" is already in use by container e0ead3352db8f1586cee98d419932713f36684a525caca9f79db15303bf25fe3. You have to remove (or rename) that container to be able to reuse that name..
See '/usr/bin/docker-current run --help'.
2019-06-10 08:03:59.528 159786 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
2019-06-10 08:03:59.528 159786 ERROR neutron.agent.dhcp.
View dhcp_errors
[root@overcloud-controller-0 neutron]# grep -inr fa042939-aba0-4bf3-8007-fb888f909a9e 1
365313:Jun 10 07:50:10 overcloud-controller-0 dockerd-current[46063]: time="2019-06-10T07:50:10.107112993Z" level=error msg="Handler for POST /v1.26/containers/neutron-dnsmasq-qdhcp-fa042939-aba0-4bf3-8007-fb888f909a9e/stop returned error: No such container: neutron-dnsmasq-qdhcp-fa042939-aba0-4bf3-8007-fb888f909a9e"
365314:Jun 10 07:50:10 overcloud-controller-0 dockerd-current[46063]: time="2019-06-10T07:50:10.107322882Z" level=error msg="Handler for POST /v1.26/containers/neutron-dnsmasq-qdhcp-fa042939-aba0-4bf3-8007-fb888f909a9e/stop returned error: No such container: neutron-dnsmasq-qdhcp-fa042939-aba0-4bf3-8007-fb888f909a9e"
365315:Jun 10 07:50:10 overcloud-controller-0 dockerd-current[46063]: time="2019-06-10T07:50:10.129916831Z" level=error msg="Handler for DELETE /v1.26/containers/neutron-dnsmasq-qdhcp-fa042939-aba0-4bf3-8007-fb888f909a9e?force=1 returned error: No such container: neutron-dnsmasq-qdhcp-fa042939-aba
View local.conf
[[local|localrc]]
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
ADMIN_PASSWORD=password
disable_service n-net
enable_service q-svc
You can’t perform that action at this time.