Unit/functional test failures with oslo.limit 2.3.0

Bug #2049064 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Takashi Kajinami
OpenStack Compute (nova)
Fix Released
High
Takashi Kajinami

Bug Description

Description
===========
The new oslo.limit 2.3.0 release introduced the validation to ensure the [oslo_limit] endpoint_id option is set.
However this change broke some unit/functional test cases which enable unified quota implementation without setting this option.

Steps to reproduce
==================
- Download global upper constraints

- Bump oslo.limit version to 2.3.0

- Run unit tests with the modified upper constraints
 $ TOX_CONSTRAINTS_FILE=<modified constraint file> tox -e py310

Expected result
===============
- No test case fails

Actual result
=============
- Some of the test cases fail because of the following error

Environment
===========
N/A

Logs & Configs
==============
cross-nova-py310: https://zuul.opendev.org/t/openstack/build/79d2c815f0e04d4b8f6838b1d1ec026f
cross-nova-functional: https://zuul.opendev.org/t/openstack/build/159f06a88d7948209a111a9f45306e0a
cross-glance-py310: https://zuul.opendev.org/t/openstack/build/7634390991ab4442b4230b09563ef26b

description: updated
summary: - Unit test fails with oslo.limit 2.3.0
+ Unit/functional test failures with oslo.limit 2.3.0
Changed in nova:
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in glance:
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: New → In Progress
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/+/905315

Changed in glance:
status: New → In Progress
Changed in nova:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.opendev.org/c/openstack/glance/+/905315
Committed: https://opendev.org/openstack/glance/commit/5378396b84755dedbba2a34d2e9c93add8c27176
Submitter: "Zuul (22348)"
Branch: master

commit 5378396b84755dedbba2a34d2e9c93add8c27176
Author: Takashi Kajinami <email address hidden>
Date: Fri Jan 12 00:20:42 2024 +0900

    Fix test failures with oslo.limit 2.3.0

    The oslo.limit 2.3.0 release contains the validation to ensure
    the [oslo_limit] endpoint_id option is set[1]. This fixes the test
    failures caused by that validation by overriding the option in all
    test cases where unified quota implementation is used.

    [1] https://review.opendev.org/c/openstack/oslo.limit/+/897509

    Closes-Bug: #2049064
    Change-Id: I704393892799ee0d5edf45fabe07afe01473e38d

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.opendev.org/c/openstack/nova/+/905314
Committed: https://opendev.org/openstack/nova/commit/48639c1005db9d5ac45eb1e86fc9700165c78e1b
Submitter: "Zuul (22348)"
Branch: master

commit 48639c1005db9d5ac45eb1e86fc9700165c78e1b
Author: Takashi Kajinami <email address hidden>
Date: Fri Jan 12 00:14:52 2024 +0900

    Fix test failures with oslo.limit 2.3.0

    The oslo.limit 2.3.0 release contains the validation to ensure
    the [oslo_limit] endpoint_id option is set[1]. This fixes the test
    failures caused by that validation by overriding the option in all
    test cases where unified quota implementation is used.

    [1] https://review.opendev.org/c/openstack/oslo.limit/+/897509

    Closes-Bug: #2049064
    Change-Id: Iffc7a66033a9c09e850890bb380b6667412f0d98

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 28.0.0.0rc1

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

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

This issue was fixed in the openstack/nova 29.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.