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
This commit is contained in:
Matthew Oliver
2013-12-09 15:40:22 +11:00
parent 9f2ec52991
commit 0a85df9e41

View File

@@ -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