ae86e3a0db
The Kolla project supports building images with user-defined prefixes. However, Kolla-ansible is unable to use those images for installation. This patch fixes that issue. Closes-Bug: #2073541 Change-Id: Ia8140b289aa76fcd584e0e72686e3786215c5a99
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
---
|
|
multipathd_services:
|
|
multipathd:
|
|
container_name: multipathd
|
|
group: multipathd
|
|
enabled: true
|
|
ipc_mode: "host"
|
|
privileged: True
|
|
image: "{{ multipathd_image_full }}"
|
|
volumes: "{{ multipathd_default_volumes + multipathd_extra_volumes + lookup('vars', 'run_default_volumes_' + kolla_container_engine) }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
multipathd_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ docker_image_name_prefix }}multipathd"
|
|
multipathd_tag: "{{ openstack_tag }}"
|
|
multipathd_image_full: "{{ multipathd_image }}:{{ multipathd_tag }}"
|
|
|
|
multipathd_default_volumes:
|
|
- "{{ node_config_directory }}/multipathd/:{{ container_config_directory }}/:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}"
|
|
- "/dev/:/dev/"
|
|
- "/run:/run{{ ':shared' if kolla_container_engine == 'docker' else '' }}"
|
|
- "/lib/modules:/lib/modules:ro"
|
|
- "/sys/kernel/config:/configfs"
|
|
multipathd_extra_volumes: "{{ default_extra_volumes }}"
|