Bug 1571358

Summary: CI: Functional tests failing for OVN jobs due to errors with python-cryptography
Product: Red Hat OpenStack Reporter: Daniel Alvarez Sanchez <dalvarez>
Component: python-cryptographyAssignee: Jon Schlueter <jschluet>
Status: CLOSED ERRATA QA Contact: Shai Revivo <srevivo>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: apevec, jschluet, knylande, lhh
Target Milestone: betaKeywords: AutomationBlocker, Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-cryptography-2.1.4-2.el7ost Doc Type: Bug Fix
Doc Text:
After installing python-cryptography build, the initial import from RDO failed because it was missing Obsoletes. The RHEL 7 build of this package is correct and has right Obsoletes entries. This fix adds the Obsoletes for python-cryptography.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:52:04 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 Daniel Alvarez Sanchez 2018-04-24 15:13:49 UTC
Looks like when we are first installing python-cryptography and then installing second dep that pulls in later requirement on python2-cryptography > 1.3 


https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/DFG-network-networking-ovn-13-dsvm-functional-rhos/84/consoleFull


11:08:33 Transaction check error:
11:08:33   file /usr/lib64/python2.7/site-packages/cryptography/__init__.py from install of python2-cryptography-2.1.4-1.el7ost.x86_64 conflicts with file from package python-cryptography-0.8.2-1.el7.x86_64
11:08:33   file /usr/lib64/python2.7/site-packages/cryptography/hazmat/__init__.py from install of python2-cryptography-2.1.4-1.el7ost.x86_64 conflicts with file from package python-cryptography-0.8.2-1.el7.x86_64
11:08:33   file /usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/__init__.py from install of python2-cryptography-2.1.4-1.el7ost.x86_64 conflicts with file from package python-cryptography-0.8.2-1.el7.x86_64
11:08:33   file /usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py from install of python2-cryptography-2.1.4-1.el7ost.x86_64 conflicts with file from package python-cryptography-0.8.2-1.el7.x86_64
11:08:33   file /usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/twofactor/__init__.py from install of python2-cryptography-2.1.4-1.el7ost.x86_64 conflicts with file from package python-cryptography-0.8.2-1.el7.x86_64
11:08:33   file /usr/lib64/python2.7/site-packages/cryptography/__init__.pyc from install of python2-cryptography-2.1.4-1.el7ost.x86_64 conflicts with file from package python-cryptography-0.8.2-1.el7.x86_64

Comment 1 Jon Schlueter 2018-04-24 15:18:59 UTC
Missing Obsoletes for python2-cryptography rpm

Comment 7 errata-xmlrpc 2018-06-27 13:52:04 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