← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2049064] Re: Unit/functional test failures with oslo.limit 2.3.0

 

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 <kajinamit@xxxxxxxxxxxxxxx>
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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2049064

Title:
  Unit/functional test failures with oslo.limit 2.3.0

Status in Glance:
  Fix Released
Status in OpenStack Compute (nova):
  In Progress

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

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



References