Bug 1396758 - since RHEL7.3, undercloud deployment fails because of yum-plugin-priorities
Summary: since RHEL7.3, undercloud deployment fails because of yum-plugin-priorities
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: distribution
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lon Hohberger
QA Contact: Udi Shkalim
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-19 21:17 UTC by Gonéri Le Bouder
Modified: 2017-05-11 11:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-11 11:50:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Gonéri Le Bouder 2016-11-19 21:17:59 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:

The deployment fails if yum-plugin-priorities is installed on the undercloud:

Error: Execution of '/bin/yum -d 0 -e 0 -y install python-nova' returned 1: Error: Package: python2-cryptography-1.3.1-3.el7.x86_64 (rhel-7-server-rpms)
           Requires: python-cffi >= 1.4.1
           Available: python-cffi-1.1.2-4.el7ost.x86_64 (RH7-RHOS-8.0)
               python-cffi = 1.1.2-4.el7ost
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
python-ironic-inspector-client-1.2.0-6.el7ost.noarch has installed conflicts python-ironic-discoverd: python-ironic-inspector-client-1.2.0-6.el7ost.noarch[0m
[1;31mError: /Stage[main]/Nova/Package[python-nova]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y install python-nova' returned 1: Error: Package: python2-cryptography-1.3.1-3.el7.x86_64 (rhel-7-server-rpms)
           Requires: python-cffi >= 1.4.1
           Available: python-cffi-1.1.2-4.el7ost.x86_64 (RH7-RHOS-8.0)
               python-cffi = 1.1.2-4.el7ost
2016-11-19 10:34:33,047::DEBUG::u could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
python-ironic-inspector-client-1.2.0-6.el7ost.noarch has installed conflicts python-ironic-discoverd: python-ironic-inspector-client-1.2.0-6.el7ost.noarch

OSP8 comes with an outdated version of python-cffi. Because of yum-plugin-priorities, yum try to use this version instead of the one coming from RHEL 7.3.

Could you remove python-cffi from OSP8 or update the version?

Comment 1 Mike Burns 2017-05-11 11:50:44 UTC
No, we don't remove content from CDN and we don't reship content that is in RHEL unless we absolutely necessary (we need something that is not available in the rhel version).

If you're using yum priorities (which we don't document using, I don't believe), you should have rhel-7-server and rhos-7-server-openstack-*-rpms at the same priority level.  All our testing is done without yum priorities, relying on yum/rpm to make the right decisions.


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