From a6601a51eb725a4b0bee843c2861e88befdf0c97 Mon Sep 17 00:00:00 2001 From: Mate Lakat Date: Wed, 13 Mar 2013 13:35:47 +0000 Subject: [PATCH] Multi-node setup: Fix keystone host Fixes bug 1154587. Use KEYSTONE_AUTH_HOST instead of SERVICE_HOST when setting nova auth parameters. Also use KEYSTONE_AUTH_PROTOCOL instead of SERVICE_PROTOCOL. Change-Id: I54f7f31f6b795833b38968f6beea68e429f01d55 --- lib/nova | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nova b/lib/nova index 13e20f87be..bdf5d22011 100644 --- a/lib/nova +++ b/lib/nova @@ -166,9 +166,9 @@ function configure_nova() { # Get the sample configuration file in place cp $NOVA_DIR/etc/nova/api-paste.ini $NOVA_CONF_DIR - iniset $NOVA_API_PASTE_INI filter:authtoken auth_host $SERVICE_HOST + iniset $NOVA_API_PASTE_INI filter:authtoken auth_host $KEYSTONE_AUTH_HOST if is_service_enabled tls-proxy; then - iniset $NOVA_API_PASTE_INI filter:authtoken auth_protocol $SERVICE_PROTOCOL + iniset $NOVA_API_PASTE_INI filter:authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL fi iniset $NOVA_API_PASTE_INI filter:authtoken admin_tenant_name $SERVICE_TENANT_NAME iniset $NOVA_API_PASTE_INI filter:authtoken admin_user nova