aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-08-22 15:56:17 +0000
committerSam Yaple <sam@yaple.net>2015-08-23 03:56:31 +0000
commitdc0abd101903b6ff1906ae15a39d40786dd98c9b (patch)
tree4d1f12fc389a528b2d60238c02106406b46b61bd
parentf70e8d4598c58f8b2904542f7e0d87c693f70761 (diff)
downloadkolla-dc0abd101903b6ff1906ae15a39d40786dd98c9b.tar.gz
kolla-dc0abd101903b6ff1906ae15a39d40786dd98c9b.zip
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
-rw-r--r--ansible/roles/nova/templates/nova.conf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2
index e6d20dde0..9ea09b9ce 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