config: Change [volume] catalog_type default

Start using the 'block-storage' catalog type, which for DevStack has
pointed to the Cinder v3 API for many years now [1].

[1] https://review.opendev.org/c/openstack/devstack/+/565479

Change-Id: I8c9e5bfc2722ccd493c062cbb5e52cbc98f5ddc7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2024-09-24 13:08:46 +01:00 committed by Stephen Finucane
parent f4a3be7e35
commit 1a744c8042
3 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The default for ``[volume] catalog_type``, which is used to determine the
service type to use to idenify the block storage service in the service
catalog, has changed from ``volumev3`` to ``block-storage``.

View File

@ -978,7 +978,7 @@ VolumeGroup = [
help='Timeout in seconds to wait for a volume to become '
'available.'),
cfg.StrOpt('catalog_type',
default='volumev3',
default='block-storage',
help="Catalog type of the Volume Service"),
cfg.StrOpt('region',
default='',

View File

@ -498,7 +498,7 @@ class TestDiscovery(base.TestCase):
return ('token',
{'serviceCatalog': [{'type': 'compute'},
{'type': 'image'},
{'type': 'volumev3'},
{'type': 'block-storage'},
{'type': 'network'},
{'type': 'object-store'}]})