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:
scottda
2017-01-18 09:19:54 -07:00
parent 045f08ab8a
commit 377f400497
+2 -2
View File
@@ -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 = []