1 heat_template_version: pike
4 OpenStack containerized Multipathd service
9 default: 'tripleoupstream'
11 DockerMultipathdImage:
13 default: 'centos-binary-multipathd:latest'
17 description: Mapping of service endpoint -> protocol. Typically set
18 via parameter_defaults in the resource registry.
22 description: Mapping of service_name -> network name. Typically set
23 via parameter_defaults in the resource registry. This
24 mapping overrides those in ServiceNetMapDefaults.
28 description: Role name on which the service is applied
32 description: Parameters specific to the role
41 type: ./containers-common.yaml
45 description: Role data for the Multipathd API role.
47 service_name: multipathd
50 service_config_settings: {}
51 # BEGIN DOCKER SETTINGS
53 config_volume: multipathd
56 config_image: &multipathd_image
59 - [ {get_param: DockerNamespace}, {get_param: DockerMultipathdImage} ]
61 /var/lib/kolla/config_files/multipathd.json:
62 command: /usr/sbin/multipathd -d
67 image: *multipathd_image
73 - {get_attr: [ContainersCommon, volumes]}
75 - /var/lib/kolla/config_files/multipathd.json:/var/lib/kolla/config_files/config.json:ro
79 - /lib/modules:/lib/modules:ro
80 - /etc/iscsi:/etc/iscsi
81 - /var/lib/cinder:/var/lib/cinder
83 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
86 - name: Stop and disable multipathd service
88 service: name=multipathd state=stopped enabled=no