openstack-python-openstackc.../openstackclient
Stephen Finucane c6946f4743 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
(cherry picked from commit 7c6b47b451)
2024-10-17 16:23:06 +00:00
..
api network: Replace use of in-tree API client 2024-07-09 18:19:36 +01:00
common clientmanager: Check for 'block-storage' service type 2024-10-17 16:23:06 +00:00
compute compute: Fix --host in server list for new openstacksdk 2024-10-03 10:48:24 +00:00
identity Always resolve domain id 2024-10-03 06:10:41 +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
releasenotes/notes Show Created At column for volume backups 2024-05-19 22:17:06 +02:00
tests compute: Fix --host in server list for new openstacksdk 2024-10-03 10:48:24 +00:00
volume Merge "Show Created At column for volume backups" 2024-08-09 12:20:45 +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