Merge "config: Change [volume] catalog_type default"

This commit is contained in:
Zuul 2024-10-07 15:19:19 +00:00 committed by Gerrit Code Review
commit 868ee068ee
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'}]})