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: Dictionary packing service data
25 description: Mapping of service_name -> network name. Typically set
26 via parameter_defaults in the resource registry. This
27 mapping overrides those in ServiceNetMapDefaults.
34 description: Role name on which the service is applied
38 description: Parameters specific to the role
42 description: Mapping of service endpoint -> protocol. Typically set
43 via parameter_defaults in the resource registry.
49 type: ./containers-common.yaml
52 type: ../../puppet/services/nova-ironic.yaml
54 ServiceData: {get_param: ServiceData}
55 ServiceNetMap: {get_param: ServiceNetMap}
56 DefaultPasswords: {get_param: DefaultPasswords}
57 EndpointMap: {get_param: EndpointMap}
58 RoleName: {get_param: RoleName}
59 RoleParameters: {get_param: RoleParameters}
63 description: Role data for the Nova Compute service.
65 service_name: {get_attr: [NovaIronicBase, role_data, service_name]}
66 config_settings: {get_attr: [NovaIronicBase, role_data, config_settings]}
67 step_config: &step_config
68 get_attr: [NovaIronicBase, role_data, step_config]
71 puppet_tags: nova_config,nova_paste_api_ini
72 step_config: *step_config
76 - [ {get_param: DockerNamespace}, {get_param: DockerNovaConfigImage} ]
78 /var/lib/kolla/config_files/nova_ironic.json:
79 command: /usr/bin/nova-compute --config-file /etc/nova/nova.conf --config-file /etc/nova/rootwrap.conf
81 - source: "/var/lib/kolla/config_files/src/*"
84 preserve_properties: true
98 - [ {get_param: DockerNamespace}, {get_param: DockerNovaComputeIronicImage} ]
105 - {get_attr: [ContainersCommon, volumes]}
107 - /var/lib/kolla/config_files/nova_ironic.json:/var/lib/kolla/config_files/config.json:ro
108 - /var/lib/config-data/puppet-generated/nova/:/var/lib/kolla/config_files/src:ro
111 - /etc/iscsi:/etc/iscsi
112 - /var/lib/nova/:/var/lib/nova
113 - /var/log/containers/nova:/var/log/nova
115 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
117 - name: create persistent directories
122 - /var/log/containers/nova
125 - name: Stop and disable nova-compute service
127 service: name=openstack-nova-compute state=stopped enabled=no