Merge "elevates privileges and grants access to /dev/mapper to cinder backup"
This commit is contained in:
commit
91795c52a0
@ -16,9 +16,11 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "cinder_backup"
|
name: "cinder_backup"
|
||||||
image: "{{ cinder_backup_image_full }}"
|
image: "{{ cinder_backup_image_full }}"
|
||||||
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/cinder-backup/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/cinder-backup/:{{ container_config_directory }}/:ro"
|
||||||
- "/run/kolla/log:/dev/log"
|
- "/run/kolla/log:/dev/log"
|
||||||
|
- "/dev/mapper/:/dev/mapper/"
|
||||||
when: inventory_hostname in groups['cinder-backup']
|
when: inventory_hostname in groups['cinder-backup']
|
||||||
|
|
||||||
- name: Starting cinder-scheduler container
|
- name: Starting cinder-scheduler container
|
||||||
|
Loading…
Reference in New Issue
Block a user