← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1943985] Re: Glance fails to build with oslo.log 4.4.0 for Debian platform

 

** Also affects: glance/xena
   Importance: High
     Assignee: Abhishek Kekane (abhishek-kekane)
       Status: In Progress

** Changed in: glance/xena
   Importance: High => Critical

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1943985

Title:
  Glance fails to build with oslo.log 4.4.0 for Debian platform

Status in Glance:
  In Progress
Status in Glance xena series:
  In Progress

Bug description:
  Glance RC1 for Xena fails to build with oslo.log 4.4.0 for Debian
  platform so we need to bump the oslo.log version in requirements.txt

  Failures during discovery
  =========================
  --- import errors ---
  Failed to import test module: glance.tests.unit.api.middleware.test_cache_manage
  Traceback (most recent call last):
    File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
      module = self._get_module_from_name(name)
    File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
      __import__(name)
    File "/<<PKGBUILDDIR>>/glance/tests/unit/api/middleware/test_cache_manage.py", line 13, in <module>
      from glance.api.middleware import cache_manage
    File "/<<PKGBUILDDIR>>/glance/api/middleware/cache_manage.py", line 23, in <module>
      from glance.api.v2 import cached_images
    File "/<<PKGBUILDDIR>>/glance/api/v2/cached_images.py", line 23, in <module>
      from glance.api import policy
    File "/<<PKGBUILDDIR>>/glance/api/policy.py", line 30, in <module>
      from glance import policies
    File "/<<PKGBUILDDIR>>/glance/policies/__init__.py", line 17, in <module>
      from glance.policies import metadef
    File "/<<PKGBUILDDIR>>/glance/policies/metadef.py", line 39, in <module>
      deprecated_since=versionutils.deprecated.XENA
  AttributeError: type object 'deprecated' has no attribute 'XENA'

  versionutils module of oslo.log included Xena release from version
  4.5.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1943985/+subscriptions



References