Glance round robin for default file backend
Closes-Bug: #1504902 Change-Id: Id4cced68ef078adb3db19c67f62d96275ab2329f
This commit is contained in:
parent
952ea3d888
commit
0cefd64450
@ -76,8 +76,14 @@ rabbit_ha_queues = true
|
|||||||
lock_path = /var/lib/nova/tmp
|
lock_path = /var/lib/nova/tmp
|
||||||
|
|
||||||
[glance]
|
[glance]
|
||||||
|
{% if enable_ceph | bool %}
|
||||||
host = {{ kolla_internal_address }}
|
host = {{ kolla_internal_address }}
|
||||||
port = {{ glance_api_port }}
|
port = {{ glance_api_port }}
|
||||||
|
{% else %}
|
||||||
|
api_servers = {% for host in groups['glance-api'] %}{{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:{{ glance_api_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
||||||
|
|
||||||
|
num_retries = {{ groups['glance-api'] | length }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
[cinder]
|
[cinder]
|
||||||
catalog_info = volume:cinder:internalURL
|
catalog_info = volume:cinder:internalURL
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
roles:
|
roles:
|
||||||
- { role: glance, tags: glance, when: enable_glance | bool }
|
- { role: glance, tags: glance, when: enable_glance | bool }
|
||||||
|
|
||||||
- hosts: [nova-api, nova-conductor, nova-consoleauth, nova-novncproxy, nova-scheduler, compute, ceph-mon]
|
- hosts: [nova-api, nova-conductor, nova-consoleauth, nova-novncproxy, nova-scheduler, compute, ceph-mon, glance-api]
|
||||||
roles:
|
roles:
|
||||||
- { role: nova, tags: nova, when: enable_nova | bool }
|
- { role: nova, tags: nova, when: enable_nova | bool }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user