Uses the appropriate port value for Glance

nova.conf was not using the proper port value for glance and would
only work with the default port in that situation.

Additionally, the state_path defaults to the python directory rather
that the expected /var/lib/nova/ directory.

Paritially-Implements: blueprint update-configs

Change-Id: I9cc2117c1d786fc1b81c53848e543d27afaf8979
This commit is contained in:
Sam Yaple 2015-08-22 15:56:17 +00:00
parent f70e8d4598
commit dc0abd1019

View File

@ -4,6 +4,7 @@ verbose = true
debug = true
api_paste_config = /etc/nova/api-paste.ini
state_path = /var/lib/nova
osapi_compute_listen = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
osapi_compute_listen_port = {{ nova_api_port }}
@ -49,6 +50,7 @@ lock_path = /var/lib/nova/tmp
[glance]
host = {{ kolla_internal_address }}
port = {{ glance_api_port }}
[cinder]
catalog_info = volume:cinder:internalURL