1 heat_template_version: pike
4 OpenStack containerized Nova Ironic Compute service
9 default: 'tripleoupstream'
11 DockerNovaComputeIronicImage:
13 default: 'centos-binary-nova-compute-ironic:latest'
15 DockerNovaConfigImage:
16 description: The container image to use for the nova config_volume
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: Role name on which the service is applied
34 description: Parameters specific to the role
38 description: Mapping of service endpoint -> protocol. Typically set
39 via parameter_defaults in the resource registry.
45 type: ./containers-common.yaml
48 type: ../../puppet/services/nova-ironic.yaml
50 ServiceNetMap: {get_param: ServiceNetMap}
51 DefaultPasswords: {get_param: DefaultPasswords}
52 EndpointMap: {get_param: EndpointMap}
53 RoleName: {get_param: RoleName}
54 RoleParameters: {get_param: RoleParameters}
58 description: Role data for the Nova Compute service.
60 service_name: {get_attr: [NovaIronicBase, role_data, service_name]}
61 config_settings: {get_attr: [NovaIronicBase, role_data, config_settings]}
62 step_config: &step_config
63 get_attr: [NovaIronicBase, role_data, step_config]
66 puppet_tags: nova_config,nova_paste_api_ini
67 step_config: *step_config
71 - [ {get_param: DockerNamespace}, {get_param: DockerNovaConfigImage} ]
73 /var/lib/kolla/config_files/nova_ironic.json:
74 command: /usr/bin/nova-compute --config-file /etc/nova/nova.conf --config-file /etc/nova/rootwrap.conf
88 - [ {get_param: DockerNamespace}, {get_param: DockerNovaComputeIronicImage} ]
95 - {get_attr: [ContainersCommon, volumes]}
97 - /var/lib/kolla/config_files/nova_ironic.json:/var/lib/kolla/config_files/config.json:ro
98 - /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
101 - /etc/iscsi:/etc/iscsi
102 - /var/lib/nova/:/var/lib/nova
103 - /var/log/containers/nova:/var/log/nova
105 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
107 - name: create persistent directories
112 - /var/log/containers/nova
115 - name: Stop and disable nova-compute service
117 service: name=openstack-nova-compute state=stopped enabled=no