OSC 7.0.0: quota set needs both compute and volume
Bug #2076229 reported by
Dr. Jens Harbott
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Critical
|
Stephen Finucane |
Bug Description
command: openstack --debug quota set --instances 40 $project
expected result (working with <7): quota getting set successfully
current result: internal endpoint for block-storage service in RegionOne region not found
this happens when nova is deployed without cinder or vice-versa when trying to set volume quota. both are valid deployment scenarios. the commit that causes this seems to be https:/
Changed in python-openstackclient: | |
importance: | Undecided → Critical |
Changed in python-openstackclient: | |
status: | New → In Progress |
Changed in python-openstackclient: | |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /python- openstackclient /+/925861 /opendev. org/openstack/ python- openstackclient /commit/ 6693f555bcc412b c84226bb71d093e 77a2ab240c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 6693f555bcc412b c84226bb71d093e 77a2ab240c
Author: Stephen Finucane <email address hidden>
Date: Wed Aug 7 12:44:37 2024 +0100
quota: Allow 'quota set' to function without volume service
Unlike cinderclient, SDK attempts to connect to a service as soon as you exceptions. catalog. EndpointNotFoun d
create a client. A keystoneauth1.
exception can be raised if this service does not exist in the service
catalog. Avoid this for the quota and limits commands by first checking
if the service is enabled.
In the process, we rework the 'is_volume_ endpoint_ enabled' helper we are
using to check for the existence of the service to *not* require a
volume client, since this was causing a chicken and egg issue for us
(and was also pretty much unnecessary).
Change-Id: I56e68f00ea221d 689eb7f668e9e5f fa7d1a20184
Signed-off-by: Stephen Finucane <email address hidden>
Closes-bug: #2076229