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: Mapping of service_name -> network name. Typically set
27 via parameter_defaults in the resource registry. This
28 mapping overrides those in ServiceNetMapDefaults.
32 description: Role name on which the service is applied
36 description: Parameters specific to the role
45 type: ./containers-common.yaml
49 description: Role data for the Multipathd API role.
51 service_name: multipathd
54 service_config_settings: {}
55 # BEGIN DOCKER SETTINGS
57 config_volume: multipathd
63 - [ {get_param: DockerNamespace}, {get_param: DockerMultipathdConfigImage} ]
65 /var/lib/kolla/config_files/multipathd.json:
66 command: /usr/sbin/multipathd -d
74 - [ {get_param: DockerNamespace}, {get_param: DockerMultipathdImage} ]
80 - {get_attr: [ContainersCommon, volumes]}
82 - /var/lib/kolla/config_files/multipathd.json:/var/lib/kolla/config_files/config.json:ro
86 - /lib/modules:/lib/modules:ro
87 - /etc/iscsi:/etc/iscsi
88 - /var/lib/cinder:/var/lib/cinder
90 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
93 - name: Stop and disable multipathd service
95 service: name=multipathd state=stopped enabled=no