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

Bug #1943985 reported by Abhishek Kekane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Critical
Abhishek Kekane
Xena
Fix Committed
Critical
Abhishek Kekane

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

description: updated
description: updated
Changed in glance:
importance: Undecided → High
assignee: nobody → Abhishek Kekane (abhishek-kekane)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/glance/+/809777

Changed in glance:
status: New → In Progress
Erno Kuvaja (jokke)
Changed in glance:
milestone: none → yoga-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.opendev.org/c/openstack/glance/+/809777
Committed: https://opendev.org/openstack/glance/commit/489298849157f76512358185edd4be9e3d8c07df
Submitter: "Zuul (22348)"
Branch: master

commit 489298849157f76512358185edd4be9e3d8c07df
Author: Abhishek Kekane <email address hidden>
Date: Fri Sep 17 15:44:37 2021 +0000

    Bump oslo.log to version 4.5.0

    In this version versionutils were updated for Xena release.

    Closes-Bug: #1943985
    Change-Id: I2159e74dd9004e6d901dbcecf651de078fb2c193

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/glance/+/809886

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/glance/+/809886
Committed: https://opendev.org/openstack/glance/commit/aa7d260f42216784214806d4bcd96f48de7c886c
Submitter: "Zuul (22348)"
Branch: stable/xena

commit aa7d260f42216784214806d4bcd96f48de7c886c
Author: Abhishek Kekane <email address hidden>
Date: Fri Sep 17 15:44:37 2021 +0000

    Bump oslo.log to version 4.5.0

    In this version versionutils were updated for Xena release.

    Closes-Bug: #1943985
    Change-Id: I2159e74dd9004e6d901dbcecf651de078fb2c193
    (cherry picked from commit 489298849157f76512358185edd4be9e3d8c07df)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 23.0.0.0rc2

This issue was fixed in the openstack/glance 23.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 24.0.0.0rc1

This issue was fixed in the openstack/glance 24.0.0.0rc1 release candidate.

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.