1 heat_template_version: pike
4 OpenStack containerized Nova Conductor service
9 default: 'tripleoupstream'
11 DockerNovaConductorImage:
13 default: 'centos-binary-nova-conductor: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 endpoint -> protocol. Typically set
22 via parameter_defaults in the resource registry.
26 description: Mapping of service_name -> network name. Typically set
27 via parameter_defaults in the resource registry. This
28 mapping overrides those in ServiceNetMapDefaults.
35 description: Role name on which the service is applied
39 description: Parameters specific to the role
46 type: ./containers-common.yaml
49 type: ../../puppet/services/nova-conductor.yaml
51 EndpointMap: {get_param: EndpointMap}
52 ServiceNetMap: {get_param: ServiceNetMap}
53 DefaultPasswords: {get_param: DefaultPasswords}
54 RoleName: {get_param: RoleName}
55 RoleParameters: {get_param: RoleParameters}
59 description: Role data for the Nova Conductor service.
61 service_name: {get_attr: [NovaConductorBase, role_data, service_name]}
62 config_settings: {get_attr: [NovaConductorBase, role_data, config_settings]}
63 step_config: &step_config
64 get_attr: [NovaConductorBase, role_data, step_config]
65 service_config_settings: {get_attr: [NovaConductorBase, role_data, service_config_settings]}
66 # BEGIN DOCKER SETTINGS
69 puppet_tags: nova_config
70 step_config: *step_config
74 - [ {get_param: DockerNamespace}, {get_param: DockerNovaConfigImage} ]
76 /var/lib/kolla/config_files/nova_conductor.json:
77 command: /usr/bin/nova-conductor
79 - source: "/var/lib/kolla/config_files/src/*"
82 preserve_properties: true
93 - [ {get_param: DockerNamespace}, {get_param: DockerNovaConductorImage} ]
99 - {get_attr: [ContainersCommon, volumes]}
101 - /var/lib/kolla/config_files/nova_conductor.json:/var/lib/kolla/config_files/config.json:ro
102 - /var/lib/config-data/puppet-generated/nova/:/var/lib/kolla/config_files/src:ro
103 - /var/log/containers/nova:/var/log/nova
105 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
107 - name: create persistent logs directory
109 path: /var/log/containers/nova
112 - name: Stop and disable nova_conductor service
114 service: name=openstack-nova-conductor state=stopped enabled=no