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 vxlan_error_jetpack
PLAY [undercloud] ****************************************************************************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************************************************************************
task path: /root/masco/jetpack/overcloud.yml:2
<f19-h11-000-r620.rdu2.scalelab.redhat.com> ESTABLISH SSH CONNECTION FOR USER: stack
<f19-h11-000-r620.rdu2.scalelab.redhat.com> SSH: EXEC sshpass -d8 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/root/.ssh/id_rsa"' -o 'User="stack"' -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/72c2d774e1 f19-h11-000-r620.rdu2.scalelab.redhat.com '/bin/sh -c '"'"'echo ~stack && sleep 0'"'"''
<f19-h11-000-r620.rdu2.scalelab.redhat.com> (0, '/home/stac
View nova_memory_issue
2019-11-20 04:52:13.061 8 INFO nova.compute.claims [req-ab220b86-431b-4a5b-b878-461a953a30ea dc796caf4f85423a8e9c379b7edc2d5a 248a4621e03a43a6b9aa9fec4b74e09e - default default] [instance: 5b16df3f-1cfa-4bb3-bb1c-7017d4c4c824] Attempting claim on node compute-0.localdomain: memory 32768 MB, disk 20 GB, vcpus 10 CPU
2019-11-20 04:52:13.062 8 INFO nova.compute.claims [req-ab220b86-431b-4a5b-b878-461a953a30ea dc796caf4f85423a8e9c379b7edc2d5a 248a4621e03a43a6b9aa9fec4b74e09e - default default] [instance: 5b16df3f-1cfa-4bb3-bb1c-7017d4c4c824] Total memory: 261790 MB, used: 4096.00 MB
2019-11-20 04:52:13.062 8 INFO nova.compute.claims [req-ab220b86-431b-4a5b-b878-461a953a30ea dc796caf4f85423a8e9c379b7edc2d5a 248a4621e03a43a6b9aa9fec4b74e09e - default default] [instance: 5b16df3f-1cfa-4bb3-bb1c-7017d4c4c824] memory limit not specified, defaulting to unlimited
2019-11-20 04:52:13.063 8 INFO nova.compute.claims [req-ab220b86-431b-4a5b-b878-461a953a30ea dc796caf4f85423a8e9c379b7edc2d5a 248a4621e03a43a6b9aa9fec4b74e09e
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 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 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 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 ocp_sp_infrared.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 14-director -p passed_phase2
yum update -y; reboot
=======================================
sudo yum install git gcc libffi-devel openssl-devel python-virtualenv libselinux-python tmux -y
#install kvm and libvirt
sudo yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install -y
sudo yum install libguestfs libguestfs-tools-c libguestfs-tools-xfs python-lxml wget libselinux-python expect -y
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
You can’t perform that action at this time.