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: Mapping of service_name -> network name. Typically set
21 via parameter_defaults in the resource registry. This
22 mapping overrides those in ServiceNetMapDefaults.
26 description: Role name on which the service is applied
30 description: Parameters specific to the role
39 type: ./containers-common.yaml
43 description: Role data for the Multipathd API role.
45 service_name: multipathd
48 service_config_settings: {}
49 # BEGIN DOCKER SETTINGS
51 config_volume: multipathd
54 config_image: {get_param: DockerMultipathdConfigImage}
56 /var/lib/kolla/config_files/multipathd.json:
57 command: /usr/sbin/multipathd -d
62 image: {get_param: DockerMultipathdImage}
68 - {get_attr: [ContainersCommon, volumes]}
70 - /var/lib/kolla/config_files/multipathd.json:/var/lib/kolla/config_files/config.json:ro
74 - /lib/modules:/lib/modules:ro
75 - /etc/iscsi:/etc/iscsi
76 - /var/lib/cinder:/var/lib/cinder
78 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
81 - name: Stop and disable multipathd service
83 service: name=multipathd state=stopped enabled=no