From 377f4004970e6f5b26a146b24bb108e04fe5c0ae Mon Sep 17 00:00:00 2001 From: scottda Date: Wed, 18 Jan 2017 09:10:21 -0700 Subject: [PATCH] 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 --- nova/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/context.py b/nova/context.py index 68dcdad61842..02549f31b13b 100644 --- a/nova/context.py +++ b/nova/context.py @@ -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 = []