1 heat_template_version: pike
4 OpenStack containerized Multipathd service
10 DockerMultipathdConfigImage:
11 description: The container image to use for the multipathd config_volume
15 description: Mapping of service endpoint -> protocol. Typically set
16 via parameter_defaults in the resource registry.
20 description: Dictionary packing service data
24 description: Mapping of service_name -> network name. Typically set
25 via parameter_defaults in the resource registry. This
26 mapping overrides those in ServiceNetMapDefaults.
30 description: Role name on which the service is applied
34 description: Parameters specific to the role
43 type: ./containers-common.yaml
47 description: Role data for the Multipathd API role.
49 service_name: multipathd
52 service_config_settings: {}
53 # BEGIN DOCKER SETTINGS
55 config_volume: multipathd
58 config_image: {get_param: DockerMultipathdConfigImage}
60 /var/lib/kolla/config_files/multipathd.json:
61 command: /usr/sbin/multipathd -d
66 image: {get_param: DockerMultipathdImage}
72 - {get_attr: [ContainersCommon, volumes]}
74 - /var/lib/kolla/config_files/multipathd.json:/var/lib/kolla/config_files/config.json:ro
78 - /lib/modules:/lib/modules:ro
79 - /etc/iscsi:/etc/iscsi
80 - /var/lib/cinder:/var/lib/cinder
82 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
85 - name: Stop and disable multipathd service
87 service: name=multipathd state=stopped enabled=no