Description of problem: OVN deployment failed because of missing openvswitch package. getting error: EBUG util.py:577: Executing command: ['/usr/bin/yum-builddep', '--installroot', u'/var/lib/mock/rhos-14.0-rhel-7-candidate-x86_64/root/', u'/var/lib/mock/rhos-14.0-rhel-7-candidate-x86_64/root//builddir/build/SRPMS/python-networking-ovn-5.0.0-0.20180707005814.de7c1f0.el7ost.src.rpm'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'LC_MESSAGES': 'C.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ '} and shell False DEBUG util.py:489: BUILDSTDERR: Failed to set locale, defaulting to C DEBUG util.py:491: Getting requirements for python-networking-ovn-5.0.0-0.20180707005814.de7c1f0.el7ost.src DEBUG util.py:491: --> git-1.8.3.1-14.el7_5.x86_64 DEBUG util.py:491: --> python-devel-2.7.5-69.el7_5.x86_64 DEBUG util.py:491: --> python2-debtcollector-1.19.0-1.el7ost.noarch DEBUG util.py:491: --> python-mock-2.0.0-1.el7ost.noarch DEBUG util.py:491: --> openstack-macros-2018.2.0-0.20180615220745.ce6a105.el7ost.noarch DEBUG util.py:491: --> 1:python-neutron-13.0.0-0.20180710125920.5db3979.el7ost.noarch DEBUG util.py:491: --> 2:python2-oslo-config-6.2.2-0.20180709084304.9c71b01.el7ost.noarch DEBUG util.py:491: --> python2-oslo-log-3.39.0-0.20180703122252.3b43002.el7ost.noarch DEBUG util.py:491: --> python2-openstackdocstheme-1.18.1-1.el7ost.noarch DEBUG util.py:491: --> python2-ovsdbapp-0.11.0-0.20180604110321.90dfca5.el7ost.noarch DEBUG util.py:491: --> python2-pbr-3.1.1-2.el7ost.noarch DEBUG util.py:491: --> 1:python2-sphinx-1.6.5-1.el7ost.noarch DEBUG util.py:491: --> Already installed : systemd-219-57.el7_5.1.x86_64 DEBUG util.py:491: Error: Package: python-rhosp-openvswitch-2.10-0.1.el7ost.noarch (build) DEBUG util.py:491: Requires: python-openvswitch2.10 DEBUG util.py:491: You could try using --skip-broken to work around the problem DEBUG util.py:491: You could try running: rpm -Va --nofiles --nodigest DEBUG util.py:632: Child return code was: 1 DEBUG util.py:651: child environment: None DEBUG util.py:577: Executing command: ['/bin/umount', '-n', '-l', u'/var/lib/mock/rhos-14.0-rhel-7-candidate-x86_64/root/dev/pts'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False DEBUG util.py:632: Child return code was: 0 DEBUG util.py:651: child environment: None DEBUG util.py:577: Executing command: ['/bin/umount', '-n', '-l', u'/var/lib/mock/rhos-14.0-rhel-7-candidate-x86_64/root/dev/shm'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False DEBUG util.py:632: Child return code was: 0 DEBUG util.py:651: child environment: None DEBUG util.py:577: Executing command: ['/bin/umount', '-n', '-l', u'/var/lib/mock/rhos-14.0-rhel-7-candidate-x86_64/root/sys'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False DEBUG util.py:632: Child return code was: 0 DEBUG util.py:651: child environment: None DEBUG util.py:577: Executing command: ['/bin/umount', '-n', '-l', u'/var/lib/mock/rhos-14.0-rhel-7-candidate-x86_64/root/proc'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False DEBUG util.py:632: Child return code was: 0 DEBUG util.py:226: kill orphans DEBUG util.py:651: child environment: None DEBUG util.py:577: Executing command: ['btrfs', 'subv', 'list', '/var/lib/mock'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False DEBUG util.py:489: BUILDSTDERR: ERROR: not a btrfs filesystem: /var/lib/mock DEBUG util.py:489: BUILDSTDERR: ERROR: can't access '/var/lib/mock' DEBUG util.py:632: Child return code was: 1 DEBUG util.py:1392: Please ignore the error above above about btrfs. Version-Release number of selected component (if applicable): rhos-release 14 -p 2018-07-13.3 How reproducible: 100% Steps to Reproduce: 1. run ovn deployment - you can use Jenkins CI jobs 2. 3. Actual results: failed Expected results: deployment pass Additional info:
Fix verified: OSP14 puddle 2018-08-21.2 [root@controller-2 ~]# rpm -qa |grep openvswitch openvswitch2.10-2.10.0-0.20180810git58a7ce6.el7fdp.x86_64 rhosp-openvswitch-2.10-0.1.el7ost.noarch openvswitch-selinux-extra-policy-1.0-5.el7fdp.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0045