Mount host localtime for ceilometer
Change-Id: Ia4a9e132683a8328cb2ff6d7e28e3560f2a8614e Closes-Bug: #1628584
This commit is contained in:
parent
3a54a2cb54
commit
ca26f55d5c
@ -14,6 +14,7 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceilometer-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceilometer-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "ceilometer:/var/lib/ceilometer/"
|
- "ceilometer:/var/lib/ceilometer/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
run_once: True
|
run_once: True
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
name: "ceilometer_notification"
|
name: "ceilometer_notification"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceilometer-notification/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceilometer-notification/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['ceilometer-notification']
|
when: inventory_hostname in groups['ceilometer-notification']
|
||||||
|
|
||||||
@ -18,6 +19,7 @@
|
|||||||
name: "ceilometer_api"
|
name: "ceilometer_api"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceilometer-api/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceilometer-api/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "ceilometer:/var/lib/ceilometer/"
|
- "ceilometer:/var/lib/ceilometer/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['ceilometer-api']
|
when: inventory_hostname in groups['ceilometer-api']
|
||||||
@ -30,6 +32,7 @@
|
|||||||
name: "ceilometer_central"
|
name: "ceilometer_central"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceilometer-central/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceilometer-central/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "ceilometer:/var/lib/ceilometer/"
|
- "ceilometer:/var/lib/ceilometer/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['ceilometer-central']
|
when: inventory_hostname in groups['ceilometer-central']
|
||||||
@ -42,6 +45,7 @@
|
|||||||
name: "ceilometer_collector"
|
name: "ceilometer_collector"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceilometer-collector/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceilometer-collector/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "ceilometer:/var/lib/ceilometer/"
|
- "ceilometer:/var/lib/ceilometer/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
when: inventory_hostname in groups['ceilometer-collector']
|
when: inventory_hostname in groups['ceilometer-collector']
|
||||||
@ -55,8 +59,9 @@
|
|||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ceilometer-compute/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ceilometer-compute/:{{ container_config_directory }}/:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
- "/run/:/run/"
|
||||||
- "ceilometer:/var/lib/ceilometer/"
|
- "ceilometer:/var/lib/ceilometer/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
- "/run/:/run/"
|
|
||||||
- "nova_libvirt:/var/lib/libvirt"
|
- "nova_libvirt:/var/lib/libvirt"
|
||||||
when: inventory_hostname in groups['ceilometer-compute']
|
when: inventory_hostname in groups['ceilometer-compute']
|
||||||
|
Loading…
Reference in New Issue
Block a user