Bug 1393523

Summary: New python2-cryptograpy package breaks undercloud install because of package dependency
Product: Red Hat OpenStack Reporter: Jeremy <jmelvin>
Component: rhosp-directorAssignee: Angus Thomas <athomas>
Status: CLOSED NOTABUG QA Contact: Omri Hochman <ohochman>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 8.0 (Liberty)CC: dbecker, dcain, jmelvin, mburns, morazi, rhel-osp-director-maint
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-10 14:17:41 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:

Description Jeremy 2016-11-09 18:18:27 UTC
Created attachment 1219035 [details]
install-log

Description of problem: There appears to be a new version of python2-cryptograpy that requires python-cffi.1.4.1 that is not available in the openstack-8 repos.

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 (rhel-7-server-openstack-8-rpms)
               python-cffi = 1.1.2-4.el7ost


Version-Release number of selected component (if applicable):
openstack-tripleo-0.0.7-1.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. install new undercloud with current repos.
2.
3.

Actual results:
no python-cffi >= 1.4.1 package available

Expected results:
no package deps issues on install

Additional info:

Comment 1 Mike Burns 2016-11-09 18:32:55 UTC
Do you have yum version locking in place?  If you do, that's why this is failing.  The solution in that case is to copy the python-cryptography line from the version lock file, and add it again with python2-cryptography

The versionlock file should contain 2 lines with the same version but slightly different names like:

python-cryptography-1.0.2-1.4.el7ost
python2-cryptography-1.0.2-1.4.el7ost

Comment 2 Jeremy 2016-11-10 14:17:41 UTC
mbrurns,

Thanks, the customer fixed version lock and it is not working.

Comment 3 Mike Burns 2016-11-10 14:43:57 UTC
(In reply to Jeremy from comment #2)
> mbrurns,
> 
> Thanks, the customer fixed version lock and it is not working.

assuming -- s/not/now