Allow hyphen in cinder catalog_info service-type
The official service type for Cinder according to [0] is "block-storage", so it should be allowed in the validation regex. [0] https://specs.openstack.org/openstack/service-types-authority/ Closes-Bug: 2092194 Change-Id: I9a57aa72cc9589cec08b0f8d5797108043747ef6 (cherry picked from commit2c8400043d) (cherry picked from commit137097dc93) (cherry picked from commitacc46c5871) (cherry picked from commitb2ceff2e89)
This commit is contained in:
committed by
Maksim Malchuk
parent
b834c628ff
commit
2ac3efc8a4
@@ -24,7 +24,7 @@ cinder_group = cfg.OptGroup(
|
|||||||
cinder_opts = [
|
cinder_opts = [
|
||||||
cfg.StrOpt('catalog_info',
|
cfg.StrOpt('catalog_info',
|
||||||
default='volumev3::publicURL',
|
default='volumev3::publicURL',
|
||||||
regex=r'^\w+:\w*:.*$',
|
regex=r'^[\w-]+:\w*:.*$',
|
||||||
help="""
|
help="""
|
||||||
Info to match when looking for cinder in the service catalog.
|
Info to match when looking for cinder in the service catalog.
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Nova now allows to use a hyphen in the ``[cinder]catalog_info``
|
||||||
|
service-type field, so in particular the official
|
||||||
|
``block-storage`` type is now valid.
|
||||||
|
`Bug 2092194 <https://bugs.launchpad.net/nova/+bug/2092194>`_
|
||||||
Reference in New Issue
Block a user