Fix Nova to allow using cinder v3 endpoint
Nova creates a limited service catalog using just the endpoints required for Nova. This needs to include the new Cinder v3. Change-Id: I06f9f2885bb1748897332cb15d4aafe4a99aa9dc Closes-Bug: #1657496
This commit is contained in:
+2
-2
@@ -102,8 +102,8 @@ class RequestContext(context.RequestContext):
|
||||
if service_catalog:
|
||||
# Only include required parts of service_catalog
|
||||
self.service_catalog = [s for s in service_catalog
|
||||
if s.get('type') in ('volume', 'volumev2', 'key-manager',
|
||||
'placement')]
|
||||
if s.get('type') in ('volume', 'volumev2', 'volumev3',
|
||||
'key-manager', 'placement')]
|
||||
else:
|
||||
# if list is empty or none
|
||||
self.service_catalog = []
|
||||
|
||||
Reference in New Issue
Block a user