Browse code

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

Matthew Oliver authored on 2013/12/09 13:40:22
Showing 1 changed files
... ...
@@ -398,6 +398,7 @@ function create_nova_conf() {
398 398
         # Add keystone authtoken configuration
399 399
 
400 400
         iniset $NOVA_CONF keystone_authtoken auth_host $KEYSTONE_AUTH_HOST
401
+        iniset $NOVA_CONF keystone_authtoken auth_port $KEYSTONE_AUTH_PORT
401 402
         iniset $NOVA_CONF keystone_authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL
402 403
         iniset $NOVA_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME
403 404
         iniset $NOVA_CONF keystone_authtoken cafile $KEYSTONE_SSL_CA