openstack-python-openstackc.../openstackclient
Stephen Finucane 7c6b47b451 clientmanager: Check for 'block-storage' service type
This is a fun one driven by two separate changes. We recently started
checking whether the volume service was available before setting quotas
in order to allow us to use quota set for other services [1]. This
merged a number of weeks ago and was included in 7.1.0. More recently,
we modified DevStack to stop publishing a service catalog entry with a
service type of 'volumev3', preferring instead to use the correct
'block-storage' service type. Taken separately, neither of these changes
would have caused issues. Together, they mean our lookups for the volume
service now fail and we can't set volume quotas.

Fix things by checking for the block-storage service type also. A future
change will raise a warning (later an error) if the volume service is
not found and you're attempting to set a quota since this is clearly a
mistake.

Change-Id: Ibbeef52225e18757cd28d0fbfb14c1ca06975b60
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes-bug: #2084580
2024-10-15 18:07:26 +01:00
..
api pre-commit: Migrate pyupgrade to ruff 2024-09-12 18:08:23 +01:00
common clientmanager: Check for 'block-storage' service type 2024-10-15 18:07:26 +01:00
compute evacuate SDK actually uses admin_pass param 2024-09-18 08:46:44 +02:00
identity Merge "Always resolve domain id" 2024-10-03 11:59:16 +00:00
image pre-commit: Migrate pyupgrade to ruff 2024-09-12 18:08:23 +01:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Merge "Add status filtering options to port list" 2024-09-30 17:38:14 +00:00
object trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
releasenotes/notes Show Created At column for volume backups 2024-05-19 22:17:06 +02:00
tests Merge "Add status filtering options to port list" 2024-09-30 17:38:14 +00:00
volume pre-commit: Migrate bandit to ruff 2024-09-12 18:08:23 +01: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 pre-commit: Migrate pyupgrade to ruff 2024-09-12 18:08:23 +01:00