From dc0abd101903b6ff1906ae15a39d40786dd98c9b Mon Sep 17 00:00:00 2001 From: Sam Yaple <sam@yaple.net> Date: Sat, 22 Aug 2015 15:56:17 +0000 Subject: [PATCH] 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 --- ansible/roles/nova/templates/nova.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2 index e6d20dde08..9ea09b9ce3 100644 --- a/ansible/roles/nova/templates/nova.conf.j2 +++ b/ansible/roles/nova/templates/nova.conf.j2 @@ -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