1 heat_template_version: pike
4 OpenStack containerized Nova Conductor service
7 DockerNovaConductorImage:
10 DockerNovaConfigImage:
11 description: The container image to use for the nova config_volume
15 description: Mapping of service endpoint -> protocol. Typically set
16 via parameter_defaults in the resource registry.
20 description: Mapping of service_name -> network name. Typically set
21 via parameter_defaults in the resource registry. This
22 mapping overrides those in ServiceNetMapDefaults.
29 description: Role name on which the service is applied
33 description: Parameters specific to the role
40 type: ./containers-common.yaml
43 type: ../../puppet/services/nova-conductor.yaml
45 EndpointMap: {get_param: EndpointMap}
46 ServiceNetMap: {get_param: ServiceNetMap}
47 DefaultPasswords: {get_param: DefaultPasswords}
48 RoleName: {get_param: RoleName}
49 RoleParameters: {get_param: RoleParameters}
53 description: Role data for the Nova Conductor service.
55 service_name: {get_attr: [NovaConductorBase, role_data, service_name]}
56 config_settings: {get_attr: [NovaConductorBase, role_data, config_settings]}
57 step_config: &step_config
58 get_attr: [NovaConductorBase, role_data, step_config]
59 service_config_settings: {get_attr: [NovaConductorBase, role_data, service_config_settings]}
60 # BEGIN DOCKER SETTINGS
63 puppet_tags: nova_config
64 step_config: *step_config
65 config_image: {get_param: DockerNovaConfigImage}
67 /var/lib/kolla/config_files/nova_conductor.json:
68 command: /usr/bin/nova-conductor
70 - source: "/var/lib/kolla/config_files/src/*"
73 preserve_properties: true
81 image: {get_param: DockerNovaConductorImage}
87 - {get_attr: [ContainersCommon, volumes]}
89 - /var/lib/kolla/config_files/nova_conductor.json:/var/lib/kolla/config_files/config.json:ro
90 - /var/lib/config-data/puppet-generated/nova/:/var/lib/kolla/config_files/src:ro
91 - /var/log/containers/nova:/var/log/nova
93 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
95 - name: create persistent logs directory
97 path: /var/log/containers/nova
100 - name: Stop and disable nova_conductor service
102 service: name=openstack-nova-conductor state=stopped enabled=no