Public bug reported: We are unable to use cinder v3 endpoint. To Reproduce put the following in nova.conf: [cinder] catalog_info = volumev3:cinderv3:publicURL
When nova first uses the cinderclient for a volume-attach, an exception will be thrown: 2017-01-05 19:30:30.353 7049 ERROR nova.compute.manager [instance: cf1ec253-8a03-4080-a7dd-768090c86c5e] raise exceptions.EndpointNotFound(msg) 2017-01-05 19:30:30.353 7049 ERROR nova.compute.manager [instance: cf1ec253-8a03-4080-a7dd-768090c86c5e] EndpointNotFound: publicURL endpoint for volumev3 service named cinderv3 in RegionOne region not found See: http://logs.openstack.org/82/385682/3/check/gate-tempest-dsvm- neutron-full-ubuntu- xenial/0a4185b/logs/screen-n-cpu.txt.gz?level=TRACE#_2017-01-05_19_30_30_353 This fix is required: diff --git a/nova/context.py b/nova/context.py index 68dcdad..02549f3 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 = [] ** Affects: nova Importance: Undecided Assignee: Scott DAngelo (scott-dangelo) Status: New ** Changed in: nova Assignee: (unassigned) => Scott DAngelo (scott-dangelo) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1657496 Title: Nova cannot find cinder v3 endpoint Status in OpenStack Compute (nova): New Bug description: We are unable to use cinder v3 endpoint. To Reproduce put the following in nova.conf: [cinder] catalog_info = volumev3:cinderv3:publicURL When nova first uses the cinderclient for a volume-attach, an exception will be thrown: 2017-01-05 19:30:30.353 7049 ERROR nova.compute.manager [instance: cf1ec253-8a03-4080-a7dd-768090c86c5e] raise exceptions.EndpointNotFound(msg) 2017-01-05 19:30:30.353 7049 ERROR nova.compute.manager [instance: cf1ec253-8a03-4080-a7dd-768090c86c5e] EndpointNotFound: publicURL endpoint for volumev3 service named cinderv3 in RegionOne region not found See: http://logs.openstack.org/82/385682/3/check/gate-tempest-dsvm- neutron-full-ubuntu- xenial/0a4185b/logs/screen-n-cpu.txt.gz?level=TRACE#_2017-01-05_19_30_30_353 This fix is required: diff --git a/nova/context.py b/nova/context.py index 68dcdad..02549f3 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 = [] To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1657496/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp