Merge "map the host localtime to the container"
This commit is contained in:
commit
1011b7cd24
@ -49,6 +49,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceph-osd/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceph-osd/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/dev/:/dev/"
|
- "/dev/:/dev/"
|
||||||
with_indexed_items: osds_bootstrap|default([])
|
with_indexed_items: osds_bootstrap|default([])
|
||||||
|
|
||||||
@ -79,5 +80,6 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceph-osd/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceph-osd/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/dev/:/dev/"
|
- "/dev/:/dev/"
|
||||||
with_indexed_items: osds_cache_bootstrap|default([])
|
with_indexed_items: osds_cache_bootstrap|default([])
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceph-mon/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceph-mon/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "ceph_mon:/var/lib/ceph"
|
- "ceph_mon:/var/lib/ceph"
|
||||||
- "ceph_mon_config:/etc/ceph"
|
- "ceph_mon_config:/etc/ceph"
|
||||||
|
|
||||||
|
@ -10,5 +10,6 @@
|
|||||||
name: "ceph_mon"
|
name: "ceph_mon"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceph-mon/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceph-mon/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "ceph_mon:/var/lib/ceph"
|
- "ceph_mon:/var/lib/ceph"
|
||||||
- "ceph_mon_config:/etc/ceph"
|
- "ceph_mon_config:/etc/ceph"
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceph-osd/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceph-osd/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/dev/:/dev/"
|
- "/dev/:/dev/"
|
||||||
- "/var/lib/ceph/osd/{{ item.1['fs_uuid'] }}:/var/lib/ceph/osd/ceph-{{ item.0.stdout }}"
|
- "/var/lib/ceph/osd/{{ item.1['fs_uuid'] }}:/var/lib/ceph/osd/ceph-{{ item.0.stdout }}"
|
||||||
with_together:
|
with_together:
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
image: "{{ ceph_rgw_image_full }}"
|
image: "{{ ceph_rgw_image_full }}"
|
||||||
name: "ceph_rgw"
|
name: "ceph_rgw"
|
||||||
volumes: "{{ node_config_directory }}/ceph-rgw/:{{ container_config_directory }}/:ro"
|
volumes:
|
||||||
|
- "{{ node_config_directory }}/ceph-rgw/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/cinder-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/cinder-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['cinder-api'][0] }}"
|
delegate_to: "{{ groups['cinder-api'][0] }}"
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
image: "{{ cinder_api_image_full }}"
|
image: "{{ cinder_api_image_full }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/cinder-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/cinder-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['cinder-api']
|
when: inventory_hostname in groups['cinder-api']
|
||||||
|
|
||||||
@ -18,6 +19,7 @@
|
|||||||
image: "{{ cinder_scheduler_image_full }}"
|
image: "{{ cinder_scheduler_image_full }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/cinder-scheduler/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/cinder-scheduler/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['cinder-scheduler']
|
when: inventory_hostname in groups['cinder-scheduler']
|
||||||
|
|
||||||
@ -25,6 +27,7 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
mounts:
|
mounts:
|
||||||
- "{{ node_config_directory }}/cinder-volume/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/cinder-volume/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/dev/:/dev/"
|
- "/dev/:/dev/"
|
||||||
- "/run/:/run/"
|
- "/run/:/run/"
|
||||||
- "{% if enable_iscsi | bool %}cinder:/var/lib/cinder{% endif %}"
|
- "{% if enable_iscsi | bool %}cinder:/var/lib/cinder{% endif %}"
|
||||||
@ -51,6 +54,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/cinder-backup/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/cinder-backup/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/dev/mapper/:/dev/mapper/"
|
- "/dev/mapper/:/dev/mapper/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['cinder-backup']
|
when: inventory_hostname in groups['cinder-backup']
|
||||||
|
@ -21,5 +21,6 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/heka/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/heka/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: kolla_logs_volume.changed
|
when: kolla_logs_volume.changed
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
name: "heka"
|
name: "heka"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/heka/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/heka/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
- "heka:/var/cache/hekad"
|
- "heka:/var/cache/hekad"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
@ -25,6 +26,7 @@
|
|||||||
name: "kolla_toolbox"
|
name: "kolla_toolbox"
|
||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/dev/:/dev/"
|
- "/dev/:/dev/"
|
||||||
- "/run/:/run/"
|
- "/run/:/run/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
@ -37,5 +39,6 @@
|
|||||||
name: "cron"
|
name: "cron"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/cron/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/cron/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
|
@ -7,4 +7,5 @@
|
|||||||
name: "elasticsearch"
|
name: "elasticsearch"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/elasticsearch/:{{ container_config_directory }}/"
|
- "{{ node_config_directory }}/elasticsearch/:{{ container_config_directory }}/"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "elasticsearch:/var/lib/elasticsearch/data"
|
- "elasticsearch:/var/lib/elasticsearch/data"
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "glance:/var/lib/glance/"
|
- "glance:/var/lib/glance/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
run_once: True
|
run_once: True
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
name: "glance_registry"
|
name: "glance_registry"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/glance-registry/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/glance-registry/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['glance-registry']
|
when: inventory_hostname in groups['glance-registry']
|
||||||
|
|
||||||
@ -18,6 +19,7 @@
|
|||||||
name: "glance_api"
|
name: "glance_api"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "glance:/var/lib/glance/"
|
- "glance:/var/lib/glance/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['glance-api']
|
when: inventory_hostname in groups['glance-api']
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/haproxy/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/haproxy/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "haproxy_socket:/var/lib/kolla/haproxy/"
|
- "haproxy_socket:/var/lib/kolla/haproxy/"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
|
|
||||||
@ -20,6 +21,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/keepalived/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/keepalived/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/lib/modules:/lib/modules:ro"
|
- "/lib/modules:/lib/modules:ro"
|
||||||
- "haproxy_socket:/var/lib/kolla/haproxy/"
|
- "haproxy_socket:/var/lib/kolla/haproxy/"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/heat-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/heat-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['heat-api'][0] }}"
|
delegate_to: "{{ groups['heat-api'][0] }}"
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
name: "heat_api"
|
name: "heat_api"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/heat-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/heat-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['heat-api']
|
when: inventory_hostname in groups['heat-api']
|
||||||
|
|
||||||
@ -18,6 +19,7 @@
|
|||||||
name: "heat_api_cfn"
|
name: "heat_api_cfn"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/heat-api-cfn/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/heat-api-cfn/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['heat-api-cfn']
|
when: inventory_hostname in groups['heat-api-cfn']
|
||||||
|
|
||||||
@ -29,5 +31,6 @@
|
|||||||
name: "heat_engine"
|
name: "heat_engine"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/heat-engine/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/heat-engine/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['heat-engine']
|
when: inventory_hostname in groups['heat-engine']
|
||||||
|
@ -7,5 +7,6 @@
|
|||||||
name: "horizon"
|
name: "horizon"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['horizon']
|
when: inventory_hostname in groups['horizon']
|
||||||
|
@ -55,6 +55,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ironic-pxe/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ironic-pxe/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "ironic_pxe:/tftpboot/"
|
- "ironic_pxe:/tftpboot/"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['ironic-pxe'][0] }}"
|
delegate_to: "{{ groups['ironic-pxe'][0] }}"
|
||||||
|
@ -11,6 +11,8 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_ironic"
|
name: "bootstrap_ironic"
|
||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes: "{{ node_config_directory }}/ironic-api/:{{ container_config_directory }}/:ro"
|
volumes:
|
||||||
|
- "{{ node_config_directory }}/ironic-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['ironic-api'][0] }}"
|
delegate_to: "{{ groups['ironic-api'][0] }}"
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
image: "{{ ironic_pxe_image_full }}"
|
image: "{{ ironic_pxe_image_full }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ironic-pxe/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ironic-pxe/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "ironic_pxe:/tftpboot/"
|
- "ironic_pxe:/tftpboot/"
|
||||||
when: inventory_hostname in groups['ironic-pxe']
|
when: inventory_hostname in groups['ironic-pxe']
|
||||||
|
|
||||||
@ -27,6 +28,7 @@
|
|||||||
name: "ironic_conductor"
|
name: "ironic_conductor"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ironic-conductor/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ironic-conductor/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "ironic_pxe:/tftpboot/"
|
- "ironic_pxe:/tftpboot/"
|
||||||
when: inventory_hostname in groups['ironic-conductor']
|
when: inventory_hostname in groups['ironic-conductor']
|
||||||
|
|
||||||
@ -37,5 +39,7 @@
|
|||||||
image: "{{ ironic_inspector_image_full }}"
|
image: "{{ ironic_inspector_image_full }}"
|
||||||
name: "ironic_inspector"
|
name: "ironic_inspector"
|
||||||
privileged: True
|
privileged: True
|
||||||
volumes: "{{ node_config_directory }}/ironic-inspector/:{{ container_config_directory }}/:ro"
|
volumes:
|
||||||
|
- "{{ node_config_directory }}/ironic-inspector/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
when: inventory_hostname in groups['ironic-inspector']
|
when: inventory_hostname in groups['ironic-inspector']
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/iscsid/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/iscsid/:{{ container_config_directory }}/:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/dev/:/dev/"
|
- "/dev/:/dev/"
|
||||||
- "/run/:/run/"
|
- "/run/:/run/"
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
||||||
@ -30,6 +31,7 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/tgtd/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/tgtd/:{{ container_config_directory }}/:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/dev/:/dev/"
|
- "/dev/:/dev/"
|
||||||
- "/run/:/run/"
|
- "/run/:/run/"
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/keystone/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/keystone/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['keystone'][0] }}"
|
delegate_to: "{{ groups['keystone'][0] }}"
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
name: "keystone"
|
name: "keystone"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/keystone/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/keystone/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
|
|
||||||
- name: Wait for keystone startup
|
- name: Wait for keystone startup
|
||||||
|
@ -7,3 +7,4 @@
|
|||||||
name: "kibana"
|
name: "kibana"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/kibana/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/kibana/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/magnum-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/magnum-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla"
|
- "kolla_logs:/var/log/kolla"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['magnum-api'][0] }}"
|
delegate_to: "{{ groups['magnum-api'][0] }}"
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
name: "magnum_api"
|
name: "magnum_api"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/magnum-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/magnum-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['magnum-api']
|
when: inventory_hostname in groups['magnum-api']
|
||||||
|
|
||||||
@ -18,5 +19,6 @@
|
|||||||
name: "magnum_conductor"
|
name: "magnum_conductor"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/magnum-conductor/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/magnum-conductor/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['magnum-conductor']
|
when: inventory_hostname in groups['magnum-conductor']
|
||||||
|
@ -15,5 +15,6 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/manila-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/manila-api/:{{ container_config_directory }}/:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['manila-api'][0] }}"
|
delegate_to: "{{ groups['manila-api'][0] }}"
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
image: "{{ manila_api_image_full }}"
|
image: "{{ manila_api_image_full }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/manila-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/manila-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['manila-api']
|
when: inventory_hostname in groups['manila-api']
|
||||||
|
|
||||||
@ -18,6 +19,7 @@
|
|||||||
image: "{{ manila_scheduler_image_full }}"
|
image: "{{ manila_scheduler_image_full }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/manila-scheduler/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/manila-scheduler/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['manila-scheduler']
|
when: inventory_hostname in groups['manila-scheduler']
|
||||||
|
|
||||||
@ -30,6 +32,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/manila-share/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/manila-share/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/run/:/run/"
|
- "/run/:/run/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['manila-share']
|
when: inventory_hostname in groups['manila-share']
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/mariadb/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/mariadb/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
- "mariadb:/var/lib/mysql"
|
- "mariadb:/var/lib/mysql"
|
||||||
|
|
||||||
@ -33,5 +34,6 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/mariadb/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/mariadb/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
- "mariadb:/var/lib/mysql"
|
- "mariadb:/var/lib/mysql"
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/mariadb/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/mariadb/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
- "mariadb:/var/lib/mysql"
|
- "mariadb:/var/lib/mysql"
|
||||||
when:
|
when:
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
name: "mariadb"
|
name: "mariadb"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/mariadb/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/mariadb/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "mariadb:/var/lib/mysql"
|
- "mariadb:/var/lib/mysql"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: delegate_host != 'None' or
|
when: delegate_host != 'None' or
|
||||||
|
@ -5,5 +5,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
image: "{{ memcached_image_full }}"
|
image: "{{ memcached_image_full }}"
|
||||||
name: "memcached"
|
name: "memcached"
|
||||||
volumes: "{{ node_config_directory }}/memcached/:{{ container_config_directory }}/:ro"
|
volumes:
|
||||||
|
- "{{ node_config_directory }}/memcached/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
when: inventory_hostname in groups['memcached']
|
when: inventory_hostname in groups['memcached']
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/mistral-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/mistral-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['mistral-api'][0] }}"
|
delegate_to: "{{ groups['mistral-api'][0] }}"
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
image: "{{ mistral_engine_image_full }}"
|
image: "{{ mistral_engine_image_full }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/mistral-engine/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/mistral-engine/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['mistral-engine']
|
when: inventory_hostname in groups['mistral-engine']
|
||||||
|
|
||||||
@ -18,6 +19,7 @@
|
|||||||
image: "{{ mistral_executor_image_full }}"
|
image: "{{ mistral_executor_image_full }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/mistral-executor/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/mistral-executor/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['mistral-executor']
|
when: inventory_hostname in groups['mistral-executor']
|
||||||
|
|
||||||
@ -29,5 +31,6 @@
|
|||||||
image: "{{ mistral_api_image_full }}"
|
image: "{{ mistral_api_image_full }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/mistral-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/mistral-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['mistral-api']
|
when: inventory_hostname in groups['mistral-api']
|
||||||
|
@ -12,5 +12,6 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/mongodb/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/mongodb/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
- "mongodb:/var/lib/mongodb/"
|
- "mongodb:/var/lib/mongodb/"
|
||||||
|
@ -8,5 +8,6 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/mongodb/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/mongodb/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
- "mongodb:/var/lib/mongodb"
|
- "mongodb:/var/lib/mongodb"
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/murano-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/murano-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['murano-api'][0] }}"
|
delegate_to: "{{ groups['murano-api'][0] }}"
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
name: "murano_engine"
|
name: "murano_engine"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/murano-engine/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/murano-engine/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['murano-engine']
|
when: inventory_hostname in groups['murano-engine']
|
||||||
|
|
||||||
@ -18,5 +19,6 @@
|
|||||||
name: "murano_api"
|
name: "murano_api"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/murano-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/murano-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['murano-api']
|
when: inventory_hostname in groups['murano-api']
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/neutron-server/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/neutron-server/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['neutron-server'][0] }}"
|
delegate_to: "{{ groups['neutron-server'][0] }}"
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
name: "openvswitch_db"
|
name: "openvswitch_db"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/openvswitch-db-server/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/openvswitch-db-server/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/run:/run"
|
- "/run:/run"
|
||||||
- "openvswitch_db:/var/lib/openvswitch/"
|
- "openvswitch_db:/var/lib/openvswitch/"
|
||||||
when:
|
when:
|
||||||
@ -53,6 +54,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/openvswitch-vswitchd/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/openvswitch-vswitchd/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/lib/modules:/lib/modules:ro"
|
- "/lib/modules:/lib/modules:ro"
|
||||||
- "/run:/run"
|
- "/run:/run"
|
||||||
when:
|
when:
|
||||||
@ -71,6 +73,7 @@
|
|||||||
name: "neutron_server"
|
name: "neutron_server"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/neutron-server/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/neutron-server/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['neutron-server']
|
when: inventory_hostname in groups['neutron-server']
|
||||||
|
|
||||||
@ -83,6 +86,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/neutron-openvswitch-agent/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/neutron-openvswitch-agent/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/lib/modules:/lib/modules:ro"
|
- "/lib/modules:/lib/modules:ro"
|
||||||
- "/run:/run"
|
- "/run:/run"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
@ -112,6 +116,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/neutron-openvswitch-agent-fake-{{ item }}/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/neutron-openvswitch-agent-fake-{{ item }}/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/lib/modules:/lib/modules:ro"
|
- "/lib/modules:/lib/modules:ro"
|
||||||
- "/run:/run"
|
- "/run:/run"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
@ -134,6 +139,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/neutron-linuxbridge-agent/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/neutron-linuxbridge-agent/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/lib/modules:/lib/modules:ro"
|
- "/lib/modules:/lib/modules:ro"
|
||||||
- "/run:/run"
|
- "/run:/run"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
@ -154,6 +160,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/neutron-dhcp-agent/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/neutron-dhcp-agent/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/run/:/run/"
|
- "/run/:/run/"
|
||||||
- "/run/netns/:/run/netns/:shared"
|
- "/run/netns/:/run/netns/:shared"
|
||||||
- "neutron_metadata_socket:/var/lib/neutron/kolla/"
|
- "neutron_metadata_socket:/var/lib/neutron/kolla/"
|
||||||
@ -170,6 +177,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/neutron-l3-agent/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/neutron-l3-agent/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/run:/run"
|
- "/run:/run"
|
||||||
- "/run/netns/:/run/netns/:shared"
|
- "/run/netns/:/run/netns/:shared"
|
||||||
- "neutron_metadata_socket:/var/lib/neutron/kolla/"
|
- "neutron_metadata_socket:/var/lib/neutron/kolla/"
|
||||||
@ -186,6 +194,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/neutron-metadata-agent/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/neutron-metadata-agent/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/run/netns/:/run/netns/:shared"
|
- "/run/netns/:/run/netns/:shared"
|
||||||
- "neutron_metadata_socket:/var/lib/neutron/kolla/"
|
- "neutron_metadata_socket:/var/lib/neutron/kolla/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['nova-api'][0] }}"
|
delegate_to: "{{ groups['nova-api'][0] }}"
|
||||||
@ -43,6 +44,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
- "nova_compute:/var/lib/nova/"
|
- "nova_compute:/var/lib/nova/"
|
||||||
when:
|
when:
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-libvirt/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-libvirt/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/lib/modules:/lib/modules:ro"
|
- "/lib/modules:/lib/modules:ro"
|
||||||
- "/run/:/run/"
|
- "/run/:/run/"
|
||||||
- "/dev:/dev"
|
- "/dev:/dev"
|
||||||
@ -22,6 +23,7 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
mounts:
|
mounts:
|
||||||
- "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/lib/modules:/lib/modules:ro"
|
- "/lib/modules:/lib/modules:ro"
|
||||||
- "/run:/run"
|
- "/run:/run"
|
||||||
- "/dev:/dev"
|
- "/dev:/dev"
|
||||||
@ -50,6 +52,7 @@
|
|||||||
name: "nova_compute_ironic"
|
name: "nova_compute_ironic"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-compute-ironic/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-compute-ironic/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['nova-compute-ironic']
|
- inventory_hostname in groups['nova-compute-ironic']
|
||||||
@ -64,6 +67,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-compute-fake-{{ item }}/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-compute-fake-{{ item }}/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/lib/modules:/lib/modules:ro"
|
- "/lib/modules:/lib/modules:ro"
|
||||||
- "/run:/run"
|
- "/run:/run"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
@ -80,6 +84,7 @@
|
|||||||
name: "nova_ssh"
|
name: "nova_ssh"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-ssh/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-ssh/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla"
|
- "kolla_logs:/var/log/kolla"
|
||||||
- "nova_compute:/var/lib/nova"
|
- "nova_compute:/var/lib/nova"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
|
@ -7,5 +7,6 @@
|
|||||||
image: "{{ nova_conductor_image_full }}"
|
image: "{{ nova_conductor_image_full }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-conductor/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-conductor/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['nova-conductor']
|
when: inventory_hostname in groups['nova-conductor']
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "/lib/modules:/lib/modules:ro"
|
- "/lib/modules:/lib/modules:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['nova-api']
|
when: inventory_hostname in groups['nova-api']
|
||||||
@ -20,6 +21,7 @@
|
|||||||
name: "nova_consoleauth"
|
name: "nova_consoleauth"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-consoleauth/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-consoleauth/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['nova-consoleauth']
|
when: inventory_hostname in groups['nova-consoleauth']
|
||||||
|
|
||||||
@ -31,6 +33,7 @@
|
|||||||
name: "nova_novncproxy"
|
name: "nova_novncproxy"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-novncproxy/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-novncproxy/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['nova-novncproxy']
|
- inventory_hostname in groups['nova-novncproxy']
|
||||||
@ -44,6 +47,7 @@
|
|||||||
name: "nova_scheduler"
|
name: "nova_scheduler"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-scheduler/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-scheduler/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['nova-scheduler']
|
when: inventory_hostname in groups['nova-scheduler']
|
||||||
|
|
||||||
@ -55,6 +59,7 @@
|
|||||||
name: "nova_spicehtml5proxy"
|
name: "nova_spicehtml5proxy"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-spicehtml5proxy/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-spicehtml5proxy/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['nova-spicehtml5proxy']
|
- inventory_hostname in groups['nova-spicehtml5proxy']
|
||||||
|
@ -32,5 +32,6 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/rabbitmq/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/rabbitmq/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "rabbitmq:/var/lib/rabbitmq/"
|
- "rabbitmq:/var/lib/rabbitmq/"
|
||||||
when: rabbitmq_volume | changed
|
when: rabbitmq_volume | changed
|
||||||
|
@ -7,5 +7,6 @@
|
|||||||
name: "rabbitmq"
|
name: "rabbitmq"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/rabbitmq/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/rabbitmq/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "rabbitmq:/var/lib/rabbitmq/"
|
- "rabbitmq:/var/lib/rabbitmq/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/swift-rsyncd/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-rsyncd/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-account-server'] or
|
when: inventory_hostname in groups['swift-account-server'] or
|
||||||
inventory_hostname in groups['swift-container-server'] or
|
inventory_hostname in groups['swift-container-server'] or
|
||||||
@ -55,6 +56,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-account-server/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-account-server/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-account-server']
|
when: inventory_hostname in groups['swift-account-server']
|
||||||
|
|
||||||
@ -68,6 +70,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-account-auditor/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-account-auditor/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-account-server']
|
when: inventory_hostname in groups['swift-account-server']
|
||||||
|
|
||||||
@ -81,6 +84,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-account-replicator/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-account-replicator/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-account-server']
|
when: inventory_hostname in groups['swift-account-server']
|
||||||
|
|
||||||
@ -94,6 +98,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-account-reaper/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-account-reaper/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-account-server']
|
when: inventory_hostname in groups['swift-account-server']
|
||||||
|
|
||||||
@ -107,6 +112,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-container-server/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-container-server/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-container-server']
|
when: inventory_hostname in groups['swift-container-server']
|
||||||
|
|
||||||
@ -120,6 +126,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-container-auditor/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-container-auditor/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-container-server']
|
when: inventory_hostname in groups['swift-container-server']
|
||||||
|
|
||||||
@ -133,6 +140,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-container-replicator/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-container-replicator/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-container-server']
|
when: inventory_hostname in groups['swift-container-server']
|
||||||
|
|
||||||
@ -146,6 +154,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-container-updater/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-container-updater/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-container-server']
|
when: inventory_hostname in groups['swift-container-server']
|
||||||
|
|
||||||
@ -159,6 +168,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-object-server/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-object-server/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-object-server']
|
when: inventory_hostname in groups['swift-object-server']
|
||||||
|
|
||||||
@ -172,6 +182,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-object-auditor/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-object-auditor/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-object-server']
|
when: inventory_hostname in groups['swift-object-server']
|
||||||
|
|
||||||
@ -185,6 +196,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-object-replicator/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-object-replicator/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-object-server']
|
when: inventory_hostname in groups['swift-object-server']
|
||||||
|
|
||||||
@ -198,6 +210,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-object-updater/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-object-updater/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-object-server']
|
when: inventory_hostname in groups['swift-object-server']
|
||||||
|
|
||||||
@ -211,6 +224,7 @@
|
|||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-object-expirer/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-object-expirer/:{{ container_config_directory }}/:ro"
|
||||||
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-object-server']
|
when: inventory_hostname in groups['swift-object-server']
|
||||||
|
|
||||||
@ -223,5 +237,6 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
- "{{ node_config_directory }}/swift/:/var/lib/kolla/swift/:ro"
|
||||||
- "{{ node_config_directory }}/swift-proxy-server/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/swift-proxy-server/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "heka_socket:/var/lib/kolla/heka/"
|
- "heka_socket:/var/lib/kolla/heka/"
|
||||||
when: inventory_hostname in groups['swift-proxy-server']
|
when: inventory_hostname in groups['swift-proxy-server']
|
||||||
|
Loading…
Reference in New Issue
Block a user