2 charm: "./{{ ubuntu.release }}/glance"
3 num_units: {{ unit_qty() }}
4 {% if os.service.bindings %}
5 constraints: *ceph-access-constr
10 internal: *internal-space
11 shared-db: *internal-space
13 series: {{ ubuntu.release }}
15 openstack-origin: *openstack-origin
16 worker-multiplier: *worker-multiplier
17 region: *openstack-region
18 {% if os.git_repo.origin_git %}
19 openstack-origin-git: "{{ os.git_repo.branch }}"
21 {% if os.network.ipv6 %}
22 prefer-ipv6: {{ os.network.ipv6 }}
24 {% if opnfv.storage_dict.ceph is defined %}
25 ceph-osd-replication-count: {{ unit_ceph_qty() }}
27 {% if os.ha.mode == 'ha' %}
34 os-public-hostname: *hostname_glance_public
35 os-internal-hostname: *hostname_glance_public
36 os-admin-hostname: *hostname_glance_public
39 {% for unit_id in to_select() %}
40 - "lxd:nodes/{{ unit_id }}"