
Due some cinder drivers need multipathing support like this one http://docs.openstack.org/mitaka/config-reference/block-storage/drivers/ibm-storwize-svc-driver.html This PS will allow to run these additional drivers when using Kolla. Implements: blueprint multipath-support Change-Id: Id6cf29f984c92773bbfc2f95daea573a74701648
22 lines
702 B
YAML
22 lines
702 B
YAML
---
|
|
- name: Starting multipathd container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ multipathd_image_full }}"
|
|
name: "multipathd"
|
|
ipc_mode: "host"
|
|
privileged: True
|
|
volumes:
|
|
- "{{ node_config_directory }}/multipathd/:{{ container_config_directory }}/:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "/dev/:/dev/"
|
|
- "/run/:/run/"
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
|
- "/lib/modules:/lib/modules:ro"
|
|
- "/sys/kernel/config:/configfs"
|
|
- "cinder:/var/lib/cinder"
|
|
- "iscsi_info:/etc/iscsi"
|
|
when: inventory_hostname in groups['compute']
|