1 heat_template_version: pike
4 OpenStack containerized Nova Ironic Compute service
9 default: 'tripleoupstream'
11 DockerNovaComputeImage:
13 default: 'centos-binary-nova-compute-ironic:latest'
15 DockerNovaConfigImage:
17 default: 'centos-binary-nova-base:latest'
21 description: Mapping of service_name -> network name. Typically set
22 via parameter_defaults in the resource registry. This
23 mapping overrides those in ServiceNetMapDefaults.
30 description: Mapping of service endpoint -> protocol. Typically set
31 via parameter_defaults in the resource registry.
37 type: ./containers-common.yaml
40 type: ../../puppet/services/nova-ironic.yaml
42 EndpointMap: {get_param: EndpointMap}
46 description: Role data for the Nova Compute service.
48 service_name: {get_attr: [NovaIronicBase, role_data, service_name]}
49 config_settings: {get_attr: [NovaIronicBase, role_data, config_settings]}
50 step_config: &step_config
51 get_attr: [NovaIronicBase, role_data, step_config]
54 puppet_tags: nova_config,nova_paste_api_ini
55 step_config: *step_config
59 - [ {get_param: DockerNamespace}, {get_param: DockerNovaConfigImage} ]
61 /var/lib/kolla/config_files/nova_ironic.json:
62 command: /usr/bin/nova-compute --config-file /etc/nova/nova.conf --config-file /etc/nova/rootwrap.conf
69 - [ {get_param: DockerNamespace}, {get_param: DockerNovaComputeImage} ]
76 - {get_attr: [ContainersCommon, volumes]}
78 - /var/lib/kolla/config_files/nova_ironic.json:/var/lib/kolla/config_files/config.json:ro
79 - /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
82 - /etc/iscsi:/etc/iscsi
83 - /var/lib/nova/:/var/lib/nova
85 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
87 - name: Stop and disable nova-compute service
89 service: name=openstack-nova-compute state=stopped enabled=no