diff options
| author | Steven Dake <stdake@cisco.com> | 2016-04-15 18:01:51 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2016-04-15 22:01:03 -0400 |
| commit | 79627310aa8e2ba24210bb235619885be189d0c1 (patch) | |
| tree | 115a86dabceb2ec9abb5ff3796fa0df75becceb5 | |
| parent | a4104c2aecea4aa50638661dbf1cc3ecdd4dd63a (diff) | |
| download | kolla-79627310aa8e2ba24210bb235619885be189d0c1.tar.gz kolla-79627310aa8e2ba24210bb235619885be189d0c1.zip | |
Use proper protocol scheme with nova
Change-Id: I699d3fa4db897a25c31384b7dacf1c465aa4ea86
Closes-Bug: #1571129
| -rw-r--r-- | ansible/roles/nova/templates/nova.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2 index 91c00e5ca..04a3b5439 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 }} |
