Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1583783

Summary: OVS workaround fails if multiple deps are updated with interdependancies
Product: Red Hat OpenStack Reporter: Lukas Bezdicka <lbezdick>
Component: openstack-tripleo-heat-templatesAssignee: Lukas Bezdicka <lbezdick>
Status: CLOSED ERRATA QA Contact: Gurenko Alex <agurenko>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 10.0 (Newton)CC: aschultz, ccamacho, mburns, mcornea
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-5.3.10-7.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 23:30:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Bezdicka 2018-05-29 16:32:52 UTC
Description of problem:
If multiple packages are dependancy of openvswitch upgrade we iterate them one by one ignoring their scriptlets, this fails if they are inter dependand and can cause problems if the scriptlets fix the runtime.

Comment 1 Lukas Bezdicka 2018-05-31 13:22:37 UTC
{
  "status": "FAILED",
  "server_id": "cb78bb8a-72ff-46d6-9d73-1cc3063f4736",
  "config_id": "b56e3050-f3b9-4be4-b865-60cadc7ba11d",
  "output_values": {                                                                                                                                                                                              
    "deploy_stdout": "Started yum_update.sh on server cb78bb8a-72ff-46d6-9d73-1cc3063f4736 at Thu May 31 13:02:33 UTC 2018\nChecking openstack-nova-migration is installed\nInstalling openstack-nova-migration\nDe
lta RPMs disabled because /usr/bin/applydeltarpm not installed.\nwarning: /etc/nova/nova.conf created as /etc/nova/nova.conf.rpmnew\nLoaded plugins: product-id, search-disabled-repos, subscription-manager\nThis
system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\nMetadata Cache Created\nChecking for ceph-osd dependency issues\nceph-osd package is available from an
enabled repo\nDelta RPMs disabled because /usr/bin/applydeltarpm not installed.\nThu May 31 13:13:19 UTC 2018 yum update os-net-config return code: 0\nLoaded plugins: product-id, search-disabled-repos, subscript
ion-manager\nThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\nMetadata Cache Created\nopenvswitch-2.5.0-14.git20160727.el7fdp.x86_64\nManual upgrad
e of openvswitch - ovs-2.5.0-14 or restart in postun detected\n/var/lib/heat-config/heat-config-script/OVS_UPGRADE /var/lib/heat-config/heat-config-script\nAttempting to downloading latest openvswitch with yumdo
wnloader\nLoaded plugins: product-id\nRepository rhelosp-rhel-pending is listed more than once in the configuration\nRepository el7-rhos-test-deps is listed more than once in the configuration\n--> Running trans
action check\n---> Package openvswitch.x86_64 0:2.9.0-19.el7fdp will be installed\n--> Processing Conflict: openvswitch-2.9.0-19.el7fdp.x86_64 conflicts selinux-policy < 3.13.1-166.el7_4.9\n--> Restarting Depend
ency Resolution with new changes.\n--> Running transaction check\n---> Package selinux-policy.noarch 0:3.13.1-102.el7_3.7 will be updated\n--> Processing Dependency: selinux-policy = 3.13.1-102.el7_3.7 for packa
ge: selinux-policy-targeted-3.13.1-102.el7_3.7.noarch\n--> Processing Dependency: selinux-policy = 3.13.1-102.el7_3.7 for package: selinux-policy-targeted-3.13.1-102.el7_3.7.noarch\n---> Package selinux-policy.n
oarch 0:3.13.1-192.el7_5.3 will be an update\n--> Processing Dependency: policycoreutils >= 2.5-18 for package: selinux-policy-3.13.1-192.el7_5.3.noarch\n--> Running transaction check\n---> Package policycoreuti
ls.x86_64 0:2.5-9.el7 will be updated\n--> Processing Dependency: policycoreutils = 2.5-9.el7 for package: policycoreutils-python-2.5-9.el7.x86_64\n---> Package policycoreutils.x86_64 0:2.5-22.el7 will be an update\n--> Processing Dependency: libselinux-utils >= 2.5-12 for package: policycoreutils-2.5-22.el7.x86_64\n--> Processing Dependency: libsepol >= 2.5-8 for package: policycoreutils-2.5-22.el7.x86_64\n---> Packag
e selinux-policy-targeted.noarch 0:3.13.1-102.el7_3.7 will be updated\n---> Package selinux-policy-targeted.noarch 0:3.13.1-192.el7_5.3 will be an update\n--> Running transaction check\n---> Package libselinux-u
tils.x86_64 0:2.5-6.el7 will be updated\n---> Package libselinux-utils.x86_64 0:2.5-12.el7 will be an update\n--> Processing Dependency: libselinux(x86-64) = 2.5-12.el7 for package: libselinux-utils-2.5-12.el7.x
86_64\n---> Package libsepol.x86_64 0:2.5-6.el7 will be updated\n---> Package libsepol.x86_64 0:2.5-8.1.el7 will be an update\n---> Package policycoreutils-python.x86_64 0:2.5-9.el7 will be updated\n---> Package
 policycoreutils-python.x86_64 0:2.5-22.el7 will be an update\n--> Processing Dependency: libsemanage-python >= 2.5-9 for package: policycoreutils-python-2.5-22.el7.x86_64\n--> Processing Dependency: setools-lib
s >= 3.3.8-2 for package: policycoreutils-python-2.5-22.el7.x86_64\n--> Running transaction check\n---> Package libselinux.x86_64 0:2.5-6.el7 will be updated\n--> Processing Dependency: libselinux(x86-64) = 2.5-
6.el7 for package: libselinux-ruby-2.5-6.el7.x86_64\n--> Processing Dependency: libselinux(x86-64) = 2.5-6.el7 for package: libselinux-python-2.5-6.el7.x86_64\n---> Package libselinux.x86_64 0:2.5-12.el7 will be
 an update\n---> Package libsemanage-python.x86_64 0:2.5-4.el7 will be updated\n---> Package libsemanage-python.x86_64 0:2.5-11.el7 will be an update\n--> Processing Dependency: libsemanage = 2.5-11.el7 for pack
age: libsemanage-python-2.5-11.el7.x86_64\n---> Package setools-libs.x86_64 0:3.3.8-1.1.el7 will be updated\n---> Package setools-libs.x86_64 0:3.3.8-2.el7 will be an update\n--> Running transaction check\n--->
Package libselinux-python.x86_64 0:2.5-6.el7 will be updated\n---> Package libselinux-python.x86_64 0:2.5-12.el7 will be an update\n---> Package libselinux-ruby.x86_64 0:2.5-6.el7 will be updated\n---> Package l
ibselinux-ruby.x86_64 0:2.5-12.el7 will be an update\n---> Package libsemanage.x86_64 0:2.5-4.el7 will be updated\n---> Package libsemanage.x86_64 0:2.5-11.el7 will be an update\n--> Finished Dependency Resoluti
on\nDelta RPMs disabled because /usr/bin/applydeltarpm not installed.\nUpdating libselinux-2.5-12.el7.x86_64.rpm with --nopostun --notriggerun\n",                                                                
    "deploy_stderr": "Repository rhelosp-rhel-pending is listed more than once in the configuration\nRepository el7-rhos-test-deps is listed more than once in the configuration\nRepository rhelosp-rhel-pending i
s listed more than once in the configuration\nRepository el7-rhos-test-deps is listed more than once in the configuration\nRepository rhelosp-rhel-pending is listed more than once in the configuration\nRepositor
y el7-rhos-test-deps is listed more than once in the configuration\nRepository rhelosp-rhel-pending is listed more than once in the configuration\nRepository el7-rhos-test-deps is listed more than once in the co
nfiguration\n[2018/05/31 01:13:19 PM] [INFO] Using config file at: /etc/os-net-config/config.json\n[2018/05/31 01:13:19 PM] [INFO] Using mapping file at: /etc/os-net-config/mapping.yaml\n[2018/05/31 01:13:19 PM]
 [INFO] Ifcfg net config provider created.\n[2018/05/31 01:13:19 PM] [INFO] nic3 mapped to: eth2\n[2018/05/31 01:13:19 PM] [INFO] nic2 mapped to: eth1\n[2018/05/31 01:13:19 PM] [INFO] nic1 mapped to: eth0\n[2018
/05/31 01:13:19 PM] [INFO] adding interface: eth0\n[2018/05/31 01:13:19 PM] [INFO] adding custom route for interface: eth0\n[2018/05/31 01:13:19 PM] [INFO] adding bridge: br-isolated\n[2018/05/31 01:13:19 PM] [I
NFO] adding interface: eth1\n[2018/05/31 01:13:19 PM] [INFO] adding vlan: vlan20\n[2018/05/31 01:13:19 PM] [INFO] adding vlan: vlan30\n[2018/05/31 01:13:19 PM] [INFO] adding vlan: vlan50\n[2018/05/31 01:13:19 PM
] [INFO] adding interface: eth2\n[2018/05/31 01:13:19 PM] [INFO] applying network configs...\n[2018/05/31 01:13:19 PM] [INFO] No changes required for interface: eth2\n[2018/05/31 01:13:19 PM] [INFO] No changes r
equired for interface: eth1\n[2018/05/31 01:13:19 PM] [INFO] No changes required for interface: eth0\n[2018/05/31 01:13:19 PM] [INFO] No changes required for vlan interface: vlan20\n[2018/05/31 01:13:19 PM] [INF
O] No changes required for vlan interface: vlan30\n[2018/05/31 01:13:19 PM] [INFO] No changes required for vlan interface: vlan50\n[2018/05/31 01:13:19 PM] [INFO] No changes required for bridge: br-isolated\nRep
ository rhelosp-rhel-pending is listed more than once in the configuration\nRepository el7-rhos-test-deps is listed more than once in the configuration\nRepository rhelosp-rhel-pending is listed more than once i
n the configuration\nRepository el7-rhos-test-deps is listed more than once in the configuration\nerror: Failed dependencies:\n\tlibselinux(x86-64) = 2.5-6.el7 is needed by (installed) libselinux-utils-2.5-6.el7
.x86_64\n\tlibselinux(x86-64) = 2.5-6.el7 is needed by (installed) libselinux-python-2.5-6.el7.x86_64\n\tlibselinux(x86-64) = 2.5-6.el7 is needed by (installed) libselinux-ruby-2.5-6.el7.x86_64\n",             
    "update_managed_packages": "false",                                                                                                                                                                           
    "deploy_status_code": 1                                                                                                                                                                                       
  },                                                                                                                                                                                                              
  "creation_time": "2018-05-30T15:46:50Z",                                                                                                                                                                        
  "updated_time": "2018-05-31T13:14:27Z",                                                                                                                                                                         
  "input_values": {                                                                                                                                                                                               
    "update_identifier": "1527771429"                                                                                                                                                                             
  },                                                                                                                                                                                                              
  "action": "UPDATE",                                                                                                                                                                                             
  "status_reason": "deploy_status_code : Deployment exited with non-zero status code: 1",                                                                                                                         
  "id": "656e29b8-a6d7-4e2e-99b2-216d1d4e50e7"

Comment 2 Carlos Camacho 2018-06-06 06:15:45 UTC
Fix packaged

Comment 7 errata-xmlrpc 2018-06-27 23:30:45 UTC
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/RHBA-2018:2101