Update the Nova Endpoint information for Cinder
authorRhys Oxenham <roxenham@redhat.com>
Wed, 22 Feb 2017 21:20:40 +0000 (16:20 -0500)
committerRhys Oxenham <roxenham@redhat.com>
Wed, 22 Feb 2017 21:36:34 +0000 (16:36 -0500)
commit09d8c1278604cc2aec42b7284c01cf7eb8b074b6
treed3b975ddaffde4546285d7f9dc0be61bf9b2df42
parentf3772c6b0ab5550fc80c53b624d780a04545fbc6
Update the Nova Endpoint information for Cinder

This patch updates the Cinder service to reference the correct
catalogue entries for Nova as configured by TripleO. The default
settings as set by TripleO do not match our catalogue entries,
and when Cinder attempts to callback to Nova in certain events
(such as a Cinder volume retype) it can raise an EndpointNotFound
error.

Out of the box we have settings in /etc/cinder/cinder.conf like:

nova_catalog_info = compute:Compute Service:internalURL

With the format as "<service_type>:<service_name>:<endpoint_type>"

Yet our catalogue has no mention of 'Compute Service'. This patch
also fixes the reference for the adminURL also.

Change-Id: I888ee07ef02d82578867e33608901c06e6478472
Co-Authored-By: Greg Charot <gcharot@redhat.com>
puppet/services/cinder-api.yaml