Set glance_api_servers for cinder
authorDan Prince <dprince@redhat.com>
Mon, 1 Jun 2015 14:26:38 +0000 (10:26 -0400)
committerDan Prince <dprince@redhat.com>
Thu, 4 Jun 2015 17:28:00 +0000 (13:28 -0400)
This patch updates the hiera configuration for the Cinder API so
that we set glance_api_servers. By default Cinder constructs
a glance URL based on $my_ip (the local IP of the machine)
which may not be correct if you are running Glance on a non-default
internal network.

By setting glance_api_servers to the same thing we already
use for Nova we make Cinder contact the correct Glance URL
regardless of the network settings.

Change-Id: I1c56eb585ddfdc9989a8b55bc1bac819802f7794

puppet/controller-puppet.yaml

index aa33cbf..2160bfa 100644 (file)
@@ -794,6 +794,7 @@ resources:
                 cinder::rabbit_port: {get_input: rabbit_client_port}
                 cinder::debug: {get_input: debug}
                 cinder_enable_iscsi_backend: {get_input: cinder_enable_iscsi_backend}
+                cinder::glance::glance_api_servers: {get_input: glance_api_servers}
 
                 # Glance
                 glance::api::bind_port: {get_input: glance_port}