[6.1] Recent fuel-web requirements change breaks updates

Bug #1526416 reported by Denis Meltsaykin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Fuel Python (Deprecated)

Bug Description

The change request https://review.openstack.org/#/c/201030 which was intended to fix broken CI breaks the real updates on a master node.

Following errors could be observed in nailgun's container after its updating:

Traceback (most recent call last):
  File "/usr/bin/statsenderd", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2957, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 695, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: oslo.context<0.5.0

Traceback (most recent call last):
  File "/usr/bin/statsenderd", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2961, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: netaddr>=0.7.10,<=0.7.13

These two appear in `statsenderd` and are caused by incautious change of the requirements.txt file in nailgun. There might be more failures from other components, which are not investigated yet.

This issue causes Swarm/BVT tests to fail on container creation and blocks us from delivery the MU. We really should not fix the CI by breaking real working environments.

Changed in fuel:
milestone: none → 8.0
Changed in fuel:
importance: Undecided → Critical
milestone: 8.0 → 6.1-updates
Changed in fuel:
importance: Critical → High
tags: added: area-ci
Changed in fuel:
status: New → Confirmed
importance: High → Critical
tags: added: maintenance
Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

Link to failed BVT with diagnostic snapshot

https://ci.fuel-infra.org/job/fuel_community.ubuntu.bvt_2/813/

Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

The patch to fix nailgun dependencies - https://review.openstack.org/#/c/258562/ - some workaround to pass tests in CI is still needed.

Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

Python team, please help with analysis for the test failure

Changed in fuel:
assignee: Aleksandra Fedorova (afedorova) → Fuel Python Team (fuel-python)
status: Confirmed → New
Ilya Kutukov (ikutukov)
Changed in fuel:
status: New → Confirmed
information type: Private → Public
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/6.1)

Reviewed: https://review.openstack.org/258562
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=bda3035828c97af9ab3d6056109719cd5dea651a
Submitter: Jenkins
Branch: stable/6.1

commit bda3035828c97af9ab3d6056109719cd5dea651a
Author: Vitaly Sedelnik <email address hidden>
Date: Wed Dec 16 18:05:33 2015 +0300

    Fix nailgun dependencies

    The patch fixes CI pinnings https://review.openstack.org/#/c/201030
    which caused dependency error when applying updated package.

    In versions of keystonemiddleware > 1.2.0 oslo.context is required.
    For the Fuel 6.1 we use python-keystonemiddleware-1.2.0-1.mira2.noarch.rpm
    Thus version for keystonemiddleware is pinned to 1.2.0 in the
    requirements.txt

    Closes-Bug: #1526416
    Change-Id: I01488c1b5ddf09e982de3b825e11aa2c1f112bed

Changed in fuel:
status: Confirmed → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.