From b0982834e0c47369e4509095fbb18a1050c71b45 Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Fri, 31 Jan 2014 11:25:03 -0500 Subject: [PATCH] Bind glance-api's registry host to openstack vip glance-api's registry host was bound to a fqdn until now. We bind it to the openstack vip. --- manifests/image.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/image.pp b/manifests/image.pp index 7448dc5b..c86b5042 100644 --- a/manifests/image.pp +++ b/manifests/image.pp @@ -75,6 +75,7 @@ class cloud::image( $rabbit_password = $os_params::rabbit_password, $rabbit_host = $os_params::rabbit_hosts[0], $api_eth = $os_params::api_eth, + $openstack_vip = $os_params::vip_public_ip, $rbd_store_pool = $os_params::glance_rbd_pool, $rbd_store_user = $os_params::glance_rbd_user, $verbose = $os_params::verbose, @@ -86,7 +87,7 @@ class cloud::image( class { 'glance::api': sql_connection => "mysql://${encoded_glance_user}:${encoded_glance_password}@${glance_db_host}/glance", - registry_host => $ks_glance_internal_host, + registry_host => $openstack_vip, verbose => $verbose, debug => $debug, auth_host => $ks_keystone_internal_host,