Bug 1566280 - OSP12->13 yum update fails with python-oslo-db-tests dependency
Summary: OSP12->13 yum update fails with python-oslo-db-tests dependency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-oslo-db
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: beta
: 13.0 (Queens)
Assignee: Michael Bayer
QA Contact: pkomarov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-12 00:22 UTC by Marius Cornea
Modified: 2018-06-27 13:51 UTC (History)
13 users (show)

Fixed In Version: python-oslo-db-4.33.0-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-27 13:50:58 UTC
Target Upstream Version:
Embargoed:
mbayer: needinfo-


Attachments (Terms of Use)
yum update output (67.96 KB, text/plain)
2018-04-12 00:22 UTC, Marius Cornea
no flags Details


Links
System ID Private Priority Status Summary Last Updated
RDO 13414 0 None rpm-master: NEW openstack/oslo-db-distgit: Adding Obsoletes for oslo-db-tests (I533cc49c190e1a08e7c13fbd509c7963de5dee51) 2018-04-18 12:34:48 UTC
Red Hat Product Errata RHEA-2018:2086 0 None None None 2018-06-27 13:51:40 UTC

Description Marius Cornea 2018-04-12 00:22:41 UTC
Created attachment 1420605 [details]
yum update output

Description of problem:

yum update fails with:

Error: Package: python-oslo-db-tests-4.25.1-1.el7ost.noarch (@rhelosp-12.0-puddle)
           Requires: python-oslo-db = 4.25.1-1.el7ost
           Removing: python-oslo-db-4.25.1-1.el7ost.noarch (@rhelosp-12.0-puddle)
               python-oslo-db = 4.25.1-1.el7ost
           Obsoleted By: python2-oslo-db-4.33.0-1.el7ost.noarch (rhelosp-13.0-puddle)
               python-oslo-db = 4.33.0-1.el7ost
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest



Additional info:
Attaching full output.

Comment 3 Mike Burns 2018-04-12 11:08:24 UTC
The issue here is that python-oslo-db-tests was shipped in previous versions because it was a dependency.  We generally try to avoid shipping unit tests sub-packages and since it was no longer a requirement, we dropped it from the OSP 13 release.  Specifically, python-neutron-tests required it in 12 but does not in 13. 

There are 2 paths forward here.  We can add the package to the release or we can obsolete the package.  The preference is an obsoletes from our side unless there is significant reason to ship the package.

Thoughts from the PIDONE DFG?

Comment 5 Michael Bayer 2018-04-12 13:21:32 UTC
So I didn't realize we ever even shipped the tests/ folder and I was not aware of this as the real reason bz#1546758 happened when it did, e.g. that "we dropped it from the OSP 13 release".  I thought that issue was strange that it came up so suddenly, now I know why.   Since in bz#1546758 and the related clones we did the work to not depend on the tests we should do what we have to in order to no longer ship or produce this package.

Comment 16 pkomarov 2018-04-24 11:25:11 UTC
Verified, 

Environment : 

(undercloud) [stack@undercloud-0 ~]$ rhos-release -L
Installed repositories (rhel-7.5):
  13
  ceph-3
  ceph-osd-3
  rhel-7.5

(undercloud) [stack@undercloud-0 ~]$ cat core_puddle_version 
2018-04-19.2

(undercloud) [stack@undercloud-0 ~]$ yum repolist
Loaded plugins: search-disabled-repos
repo id                                                       repo name                                                           status
rhelosp-13.0-image-build-override/x86_64                      RHOS 13.0 Override                                                       0
rhelosp-13.0-puddle/x86_64                                    RHOS-13.0                                                              802
rhelosp-ceph-3.0-mon/x86_64                                   Ceph 3.0 MON                                                            79
rhelosp-ceph-3.0-osd/x86_64                                   Ceph 3.0 OSD                                                            66
rhelosp-ceph-3.0-tools/x86_64                                 Ceph 3.0 Tools                                                         113
rhelosp-rhel-7.5-extras/x86_64                                Red Hat Enterprise Linux 7Server - x86_64 - Extras                     814
rhelosp-rhel-7.5-ha/x86_64                                    Red Hat Enterprise Linux 7Server - x86_64 - HA                         468
rhelosp-rhel-7.5-image-build-override/x86_64                  RHEL 7.5 Override                                                        0
rhelosp-rhel-7.5-server/x86_64                                Red Hat Enterprise Linux 7Server - x86_64 - Server                  20,112
rhos-release                                                  RHOS Release                                                            56
rhos-release-extras/7Server                                   RHOS Release Extras                                                      2

Verified that package is absent : 

(undercloud) [stack@undercloud-0 ~]$ ansible overcloud -b -mshell -a'rpm -qi python-oslo-db-tests;true'

compute-1 | SUCCESS | rc=0 >>
package python-oslo-db-tests is not installed

compute-0 | SUCCESS | rc=0 >>
package python-oslo-db-tests is not installed

controller-0 | SUCCESS | rc=0 >>
package python-oslo-db-tests is not installed

controller-1 | SUCCESS | rc=0 >>
package python-oslo-db-tests is not installed

controller-2 | SUCCESS | rc=0 >>
package python-oslo-db-tests is not installed

Comment 18 errata-xmlrpc 2018-06-27 13:50: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/RHEA-2018:2086


Note You need to log in before you can comment on or make changes to this bug.