Bug 1521114

Summary: pep8 component CI job is broken because of missing aioeventlet version on PyPI
Product: Red Hat OpenStack Reporter: Ihar Hrachyshka <ihrachys>
Component: openstack-neutronAssignee: Ihar Hrachyshka <ihrachys>
Status: CLOSED ERRATA QA Contact: Arie Bregman <abregman>
Severity: high Docs Contact:
Priority: high    
Version: 8.0 (Liberty)CC: amuller, ccollett, chrisw, ihrachys, jlibosva, nyechiel, srevivo
Target Milestone: zstreamKeywords: AutomationBlocker, Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-7.2.0-32.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-15 12:38:27 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 Ihar Hrachyshka 2017-12-05 20:20:04 UTC
https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/DFG-network-neutron-8-pep8-rhos/36/

22:47:55 Collecting aioeventlet===0.4 (from -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=liberty-eol (line 57))
22:47:55   Could not find a version that satisfies the requirement aioeventlet===0.4 (from -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=liberty-eol (line 57)) (from versions: 0.5.2)
22:47:55 No matching distribution found for aioeventlet===0.4 (from -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=liberty-eol (line 57))
22:47:55 
22:47:55 ERROR: could not install deps [-r/home/cloud-user/neutron/requirements.txt, -r/home/cloud-user/neutron/test-requirements.txt]; v = InvocationError('/home/cloud-user/neutron/.tox/pep8/bin/pip install -U -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=liberty-eol -r/home/cloud-user/neutron/requirements.txt -r/home/cloud-user/neutron/test-requirements.txt (see /home/cloud-user/neutron/.tox/pep8/log/pep8-1.log)', 1)

This is because upstream liberty-eol version of upper-constraints.txt file lists the old version of the library that is not available on pypi. For CI matters, it should be enough to switch the version, meaning we need to store the constraints file in-tree or somewhere else on Red Hat premise.

Comment 3 Ihar Hrachyshka 2017-12-07 18:49:56 UTC
Fixed in Octario: https://review.gerrithub.io/#/c/390583/ We still may want to fix tox environment generation since developers may want to rely on it.

Comment 9 errata-xmlrpc 2018-03-15 12:38:27 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:0534