Bug 1643614

Summary: python-networking-bigswitch-12.0.6-1.el7ost is missing an obsoletes on removed subpackage openstack-neutron-bigswitch-vif-plug-ivs
Product: Red Hat OpenStack Reporter: Jason Joyce <jjoyce>
Component: python-networking-bigswitchAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: Ofer Blaut <oblaut>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: jjoyce, jschluet, lhh, ragiman, rhos-maint
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-networking-bigswitch-12.0.6-2.el7ost Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-13 23:32:58 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 Jason Joyce 2018-10-26 17:55:43 UTC
Description of problem:
During the rebase to tag 12.0.4 of python-networking-bigswitch, the vif_plug_ivs subpackage was removed because it was moved to a separate repo.

When trying to upgrade from an earlier version of python-networking-bigswitch an error occurs because the previously installed version of openstack-neutron-bigswitch-vif-plug-ivs requires the older version of python-networking-bigswitch.

An obsoletes needs to be added to the rpm spec to ensure that older versions of openstack-neutron-bigswitch-vif-plug-ivs are no longer provided by this package.

Version-Release number of selected component (if applicable):
python-networking-bigswitch-12.0.6-1.el7ost

How reproducible:
Always

Steps to Reproduce:
1. yum install python-networking-bigswitch-12.0.3-0.20180419202353.a59c13d.el7ost
2. yum upgrade python-networking-bigswitch-12.0.6-1.el7ost

Actual results:
Resolving Dependencies
--> Running transaction check
---> Package python-networking-bigswitch.noarch 2:12.0.3-0.20180419202353.a59c13d.el7ost will be updated
--> Processing Dependency: python-networking-bigswitch = 2:12.0.3-0.20180419202353.a59c13d.el7ost for package: 2:openstack-neutron-bigswitch-agent-12.0.3-0.20180419202353.a59c13d.el7ost.noarch
--> Processing Dependency: python-networking-bigswitch = 2:12.0.3-0.20180419202353.a59c13d.el7ost for package: 2:openstack-neutron-bigswitch-vif-plug-ivs-12.0.3-0.20180419202353.a59c13d.el7ost.noarch
--> Processing Dependency: python-networking-bigswitch = 2:12.0.3-0.20180419202353.a59c13d.el7ost for package: 2:openstack-neutron-bigswitch-lldp-12.0.3-0.20180419202353.a59c13d.el7ost.noarch
---> Package python-networking-bigswitch.noarch 2:12.0.6-1.el7ost will be an update
--> Finished Dependency Resolution
Error: Package: 2:openstack-neutron-bigswitch-lldp-12.0.3-0.20180419202353.a59c13d.el7ost.noarch (@rhel-7-server-openstack-13-rpms)
           Requires: python-networking-bigswitch = 2:12.0.3-0.20180419202353.a59c13d.el7ost
           Removing: 2:python-networking-bigswitch-12.0.3-0.20180419202353.a59c13d.el7ost.noarch (@rhel-7-server-openstack-13-rpms)
               python-networking-bigswitch = 2:12.0.3-0.20180419202353.a59c13d.el7ost
           Updated By: 2:python-networking-bigswitch-12.0.6-1.el7ost.noarch (/python-networking-bigswitch-12.0.6-1.el7ost.noarch)
               python-networking-bigswitch = 2:12.0.6-1.el7ost
Error: Package: 2:openstack-neutron-bigswitch-vif-plug-ivs-12.0.3-0.20180419202353.a59c13d.el7ost.noarch (@rhel-7-server-openstack-13-rpms)
           Requires: python-networking-bigswitch = 2:12.0.3-0.20180419202353.a59c13d.el7ost
           Removing: 2:python-networking-bigswitch-12.0.3-0.20180419202353.a59c13d.el7ost.noarch (@rhel-7-server-openstack-13-rpms)
               python-networking-bigswitch = 2:12.0.3-0.20180419202353.a59c13d.el7ost
           Updated By: 2:python-networking-bigswitch-12.0.6-1.el7ost.noarch (/python-networking-bigswitch-12.0.6-1.el7ost.noarch)
               python-networking-bigswitch = 2:12.0.6-1.el7ost
Error: Package: 2:openstack-neutron-bigswitch-agent-12.0.3-0.20180419202353.a59c13d.el7ost.noarch (@rhel-7-server-openstack-13-rpms)
           Requires: python-networking-bigswitch = 2:12.0.3-0.20180419202353.a59c13d.el7ost
           Removing: 2:python-networking-bigswitch-12.0.3-0.20180419202353.a59c13d.el7ost.noarch (@rhel-7-server-openstack-13-rpms)
               python-networking-bigswitch = 2:12.0.3-0.20180419202353.a59c13d.el7ost
           Updated By: 2:python-networking-bigswitch-12.0.6-1.el7ost.noarch (/python-networking-bigswitch-12.0.6-1.el7ost.noarch)
               python-networking-bigswitch = 2:12.0.6-1.el7ost
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Expected results:
python-networking-bigswitch upgrades as expected.

Comment 16 errata-xmlrpc 2018-11-13 23:32:58 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:3614