From 79627310aa8e2ba24210bb235619885be189d0c1 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Fri, 15 Apr 2016 18:01:51 -0700 Subject: [PATCH] Use proper protocol scheme with nova Change-Id: I699d3fa4db897a25c31384b7dacf1c465aa4ea86 Closes-Bug: #1571129 --- ansible/roles/nova/templates/nova.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2 index 91c00e5ca7..04a3b5439a 100644 --- a/ansible/roles/nova/templates/nova.conf.j2 +++ b/ansible/roles/nova/templates/nova.conf.j2 @@ -97,7 +97,7 @@ rabbit_hosts = {% for host in groups['rabbitmq'] %}{{ hostvars[host]['ansible_' lock_path = /var/lib/nova/tmp [glance] -api_servers = {% for host in groups['glance-api'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ glance_api_port }}{% if not loop.last %},{% endif %}{% endfor %} +api_servers = {% for host in groups['glance-api'] %}{{ internal_protocol }}://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ glance_api_port }}{% if not loop.last %},{% endif %}{% endfor %} num_retries = {{ groups['glance-api'] | length }}