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: Role name on which the service is applied
34 description: Parameters specific to the role
37 description: Mapping of service endpoint -> protocol. Typically set
38 via parameter_defaults in the resource registry.
44 type: ./containers-common.yaml
47 type: ../../puppet/services/nova-ironic.yaml
49 ServiceNetMap: {get_param: ServiceNetMap}
50 DefaultPasswords: {get_param: DefaultPasswords}
51 EndpointMap: {get_param: EndpointMap}
52 RoleName: {get_param: RoleName}
53 RoleParameters: {get_param: RoleParameters}
57 description: Role data for the Nova Compute service.
59 service_name: {get_attr: [NovaIronicBase, role_data, service_name]}
60 config_settings: {get_attr: [NovaIronicBase, role_data, config_settings]}
61 step_config: &step_config
62 get_attr: [NovaIronicBase, role_data, step_config]
65 puppet_tags: nova_config,nova_paste_api_ini
66 step_config: *step_config
70 - [ {get_param: DockerNamespace}, {get_param: DockerNovaConfigImage} ]
72 /var/lib/kolla/config_files/nova_ironic.json:
73 command: /usr/bin/nova-compute --config-file /etc/nova/nova.conf --config-file /etc/nova/rootwrap.conf
87 - [ {get_param: DockerNamespace}, {get_param: DockerNovaComputeImage} ]
94 - {get_attr: [ContainersCommon, volumes]}
96 - /var/lib/kolla/config_files/nova_ironic.json:/var/lib/kolla/config_files/config.json:ro
97 - /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
100 - /etc/iscsi:/etc/iscsi
101 - /var/lib/nova/:/var/lib/nova
102 - /var/log/containers/nova:/var/log/nova
104 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
106 - name: create persistent directories
111 - /var/log/containers/nova
114 - name: Stop and disable nova-compute service
116 service: name=openstack-nova-compute state=stopped enabled=no