1 heat_template_version: pike
4 OpenStack containerized Multipathd service
9 default: 'tripleoupstream'
11 DockerMultipathdImage:
13 default: 'centos-binary-multipathd:latest'
15 DockerMultipathdConfigImage:
16 description: The container image to use for the multipathd config_volume
17 default: 'centos-binary-multipathd:latest'
21 description: Mapping of service endpoint -> protocol. Typically set
22 via parameter_defaults in the resource registry.
26 description: Dictionary packing service data
30 description: Mapping of service_name -> network name. Typically set
31 via parameter_defaults in the resource registry. This
32 mapping overrides those in ServiceNetMapDefaults.
36 description: Role name on which the service is applied
40 description: Parameters specific to the role
49 type: ./containers-common.yaml
53 description: Role data for the Multipathd API role.
55 service_name: multipathd
58 service_config_settings: {}
59 # BEGIN DOCKER SETTINGS
61 config_volume: multipathd
67 - [ {get_param: DockerNamespace}, {get_param: DockerMultipathdConfigImage} ]
69 /var/lib/kolla/config_files/multipathd.json:
70 command: /usr/sbin/multipathd -d
78 - [ {get_param: DockerNamespace}, {get_param: DockerMultipathdImage} ]
84 - {get_attr: [ContainersCommon, volumes]}
86 - /var/lib/kolla/config_files/multipathd.json:/var/lib/kolla/config_files/config.json:ro
90 - /lib/modules:/lib/modules:ro
91 - /etc/iscsi:/etc/iscsi
92 - /var/lib/cinder:/var/lib/cinder
94 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
97 - name: Stop and disable multipathd service
99 service: name=multipathd state=stopped enabled=no
100 metadata_settings: {}