openstack-python-openstackc.../openstackclient
Stephen Finucane 6693f555bc quota: Allow 'quota set' to function without volume service
Unlike cinderclient, SDK attempts to connect to a service as soon as you
create a client. A keystoneauth1.exceptions.catalog.EndpointNotFound
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: I56e68f00ea221d689eb7f668e9e5ffa7d1a20184
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes-bug: #2076229
2024-08-07 11:56:07 +00:00
..
api network: Replace use of in-tree API client 2024-07-09 18:19:36 +01:00
common quota: Allow 'quota set' to function without volume service 2024-08-07 11:56:07 +00:00
compute Remove python-novaclient 2024-07-18 13:28:51 +01:00
identity Merge "identity: Migrate 'service' commands to SDK" 2024-07-12 14:07:22 +00:00
image Remove python-novaclient 2024-07-18 13:28:51 +01:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network network: Replace use of in-tree API client 2024-07-09 18:19:36 +01:00
object trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
tests quota: Allow 'quota set' to function without volume service 2024-08-07 11:56:07 +00:00
volume Merge "Add volume snapshot unmanage support" 2024-07-23 12:58:03 +00:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00