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
63 - source: "/var/lib/kolla/config_files/src-iscsid/*"
66 preserve_properties: true
71 image: {get_param: DockerMultipathdImage}
77 - {get_attr: [ContainersCommon, volumes]}
79 - /var/lib/kolla/config_files/multipathd.json:/var/lib/kolla/config_files/config.json:ro
80 - /var/lib/config-data/puppet-generated/iscsid/:/var/lib/kolla/config_files/src-iscsid:ro
84 - /lib/modules:/lib/modules:ro
85 - /var/lib/cinder:/var/lib/cinder
87 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
90 - name: Stop and disable multipathd service
92 service: name=multipathd state=stopped enabled=no