glance_api_servers must contain a valid url with protocol

This addresses a Nova config deprecation in the Mitaka release
documented here: http://docs.openstack.org/releasenotes/nova/mitaka.html#deprecation-notes

Adding nova_glance_api_servers to the nova_all group vars to address
a nova role namespacing issue as well.

Needed-By: If33d3ce9e9dfee827a92c9c0813b7c0a18cb8a7b
Change-Id: Ibc0a5b70d4da2e905b10b4c1334b57a6f0f3b4ed
Closes-Bug: #1596084
This commit is contained in:
Travis Truman 2016-06-28 11:59:29 -04:00 committed by Jesse Pretorius (odyssey4me)
parent 486c2a6974
commit 08beb6fd6b
2 changed files with 12 additions and 1 deletions

View File

@ -120,7 +120,17 @@ cinder_rabbitmq_vhost: /cinder
## Glance
glance_service_port: 9292
glance_api_servers: "{{ internal_lb_vip_address }}:{{ glance_service_port }}"
glance_service_proto: http
glance_service_publicuri_proto: "{{ openstack_service_publicuri_proto | default(glance_service_proto) }}"
glance_service_adminuri_proto: "{{ openstack_service_adminuri_proto | default(glance_service_proto) }}"
glance_service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(glance_service_proto) }}"
glance_service_publicuri: "{{ glance_service_publicuri_proto }}://{{ external_lb_vip_address }}:{{ glance_service_port }}"
glance_service_publicurl: "{{ glance_service_publicuri }}"
glance_service_internaluri: "{{ glance_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ glance_service_port }}"
glance_service_internalurl: "{{ glance_service_internaluri }}"
glance_service_adminuri: "{{ glance_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ glance_service_port }}"
glance_service_adminurl: "{{ glance_service_adminuri }}"
glance_api_servers: "{{ glance_service_internaluri }}"
glance_service_user_name: glance
glance_rabbitmq_userid: glance
glance_rabbitmq_vhost: /glance

View File

@ -17,3 +17,4 @@ nova_external_ssl: "{{ openstack_external_ssl }}"
nova_ceph_client_uuid: '{{ cinder_ceph_client_uuid | default() }}'
nova_dhcp_domain: "{{ dhcp_domain }}"
nova_service_in_ldap: "{{ service_ldap_backend_enabled }}"
nova_glance_api_servers: "{{ glance_api_servers }}"