1 heat_template_version: pike
4 OpenStack containerized Ironic PXE service
9 default: 'tripleoupstream'
13 default: 'centos-binary-ironic-pxe:latest'
15 DockerIronicConfigImage:
16 description: The container image to use for the ironic config_volume
17 default: 'centos-binary-ironic-pxe: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.
39 description: Role name on which the service is applied
43 description: Parameters specific to the role
49 type: ./containers-common.yaml
53 description: Role data for the Ironic PXE role.
55 service_name: ironic_pxe
57 step_config: &step_config ''
58 service_config_settings: {}
59 # BEGIN DOCKER SETTINGS
62 puppet_tags: ironic_config
63 step_config: *step_config
67 - [ {get_param: DockerNamespace}, {get_param: DockerIronicConfigImage} ]
69 /var/lib/kolla/config_files/ironic_pxe_http.json:
70 command: /usr/sbin/httpd -DFOREGROUND
72 - source: "/var/lib/kolla/config_files/src/*"
75 preserve_properties: true
76 /var/lib/kolla/config_files/ironic_pxe_tftp.json:
77 command: /usr/sbin/in.tftpd --foreground --user root --address 0.0.0.0:69 --map-file /var/lib/ironic/tftpboot/map-file /var/lib/ironic/tftpboot
79 - source: "/var/lib/kolla/config_files/src/*"
82 preserve_properties: true
84 - path: /var/log/ironic
91 image: &ironic_pxe_image
94 - [ {get_param: DockerNamespace}, {get_param: DockerIronicPxeImage} ]
100 - {get_attr: [ContainersCommon, volumes]}
102 - /var/lib/kolla/config_files/ironic_pxe_tftp.json:/var/lib/kolla/config_files/config.json:ro
103 - /var/lib/config-data/puppet-generated/ironic/:/var/lib/kolla/config_files/src:ro
104 - /var/lib/ironic:/var/lib/ironic/
106 - /var/log/containers/ironic:/var/log/ironic
108 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
111 image: *ironic_pxe_image
117 - {get_attr: [ContainersCommon, volumes]}
119 - /var/lib/kolla/config_files/ironic_pxe_http.json:/var/lib/kolla/config_files/config.json:ro
120 - /var/lib/config-data/puppet-generated/ironic/:/var/lib/kolla/config_files/src:ro
121 - /var/lib/ironic:/var/lib/ironic/
122 - /var/log/containers/ironic:/var/log/ironic
124 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
126 - name: create persistent directories
132 - /var/log/containers/ironic