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: Dictionary packing service data
24 description: Mapping of service_name -> network name. Typically set
25 via parameter_defaults in the resource registry. This
26 mapping overrides those in ServiceNetMapDefaults.
33 description: Role name on which the service is applied
37 description: Parameters specific to the role
44 type: ./containers-common.yaml
47 type: ../../puppet/services/database/mysql-client.yaml
50 type: ../../puppet/services/nova-conductor.yaml
52 EndpointMap: {get_param: EndpointMap}
53 ServiceData: {get_param: ServiceData}
54 ServiceNetMap: {get_param: ServiceNetMap}
55 DefaultPasswords: {get_param: DefaultPasswords}
56 RoleName: {get_param: RoleName}
57 RoleParameters: {get_param: RoleParameters}
61 description: Role data for the Nova Conductor service.
63 service_name: {get_attr: [NovaConductorBase, role_data, service_name]}
64 config_settings: {get_attr: [NovaConductorBase, role_data, config_settings]}
65 step_config: &step_config
68 - - {get_attr: [NovaConductorBase, role_data, step_config]}
69 - {get_attr: [MySQLClient, role_data, step_config]}
70 service_config_settings: {get_attr: [NovaConductorBase, role_data, service_config_settings]}
71 # BEGIN DOCKER SETTINGS
74 puppet_tags: nova_config
75 step_config: *step_config
76 config_image: {get_param: DockerNovaConfigImage}
78 /var/lib/kolla/config_files/nova_conductor.json:
79 command: /usr/bin/nova-conductor
81 - source: "/var/lib/kolla/config_files/src/*"
84 preserve_properties: true
92 image: {get_param: DockerNovaConductorImage}
98 - {get_attr: [ContainersCommon, volumes]}
100 - /var/lib/kolla/config_files/nova_conductor.json:/var/lib/kolla/config_files/config.json:ro
101 - /var/lib/config-data/puppet-generated/nova/:/var/lib/kolla/config_files/src:ro
102 - /var/log/containers/nova:/var/log/nova
104 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
106 - name: create persistent logs directory
108 path: /var/log/containers/nova
111 - name: Stop and disable nova_conductor service
113 service: name=openstack-nova-conductor state=stopped enabled=no