From 0a85df9e41593c692db7f65a59779e4abbd7a7fc Mon Sep 17 00:00:00 2001 From: Matthew Oliver Date: Mon, 9 Dec 2013 15:40:22 +1100 Subject: [PATCH] Added keystone auth port to the nova config Added the $KEYSTONE_AUTH_PORT to the keystone_authtoken section of the create_nova_conf function. This is required as without it nova doesn't communicate to the keystone server. Generating an "Unauthorised (HTTP 401)" page when acceesing /admin/. Change-Id: Ibf4d9d1c21081a1e3de4ea765f4db6de5fbdb237 --- lib/nova | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nova b/lib/nova index 5fd0bebf65..e4dae7c7df 100644 --- a/lib/nova +++ b/lib/nova @@ -398,6 +398,7 @@ function create_nova_conf() { # Add keystone authtoken configuration iniset $NOVA_CONF keystone_authtoken auth_host $KEYSTONE_AUTH_HOST + iniset $NOVA_CONF keystone_authtoken auth_port $KEYSTONE_AUTH_PORT iniset $NOVA_CONF keystone_authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL iniset $NOVA_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME iniset $NOVA_CONF keystone_authtoken cafile $KEYSTONE_SSL_CA