diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-04-20 22:31:39 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-04-20 22:31:39 +0000 |
| commit | c08ec0fe59d7bf91acd226ced26029f1445c374d (patch) | |
| tree | 99186817fd8b98c3b62e990ca656f167cdfd0f41 | |
| parent | 3bb62d9d5afbbb2f955435bd51dd300a5170f8d5 (diff) | |
| parent | 79627310aa8e2ba24210bb235619885be189d0c1 (diff) | |
| download | kolla-c08ec0fe59d7bf91acd226ced26029f1445c374d.tar.gz kolla-c08ec0fe59d7bf91acd226ced26029f1445c374d.zip | |
Merge "Use proper protocol scheme with nova"
| -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 }} |
