1 heat_template_version: ocata
4 OpenStack containerized Nova Scheduler service
9 default: 'tripleoupstream'
11 DockerNovaSchedulerImage:
13 default: 'centos-binary-nova-scheduler:latest'
15 DockerNovaConfigImage:
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.
37 type: ../../puppet/services/nova-scheduler.yaml
39 EndpointMap: {get_param: EndpointMap}
40 ServiceNetMap: {get_param: ServiceNetMap}
41 DefaultPasswords: {get_param: DefaultPasswords}
45 description: Role data for the Nova Scheduler service.
47 service_name: {get_attr: [NovaSchedulerBase, role_data, service_name]}
48 config_settings: {get_attr: [NovaSchedulerBase, role_data, config_settings]}
49 step_config: &step_config
50 get_attr: [NovaSchedulerBase, role_data, step_config]
51 service_config_settings: {get_attr: [NovaSchedulerBase, role_data, service_config_settings]}
52 # BEGIN DOCKER SETTINGS
55 puppet_tags: nova_config
56 step_config: *step_config
60 - [ {get_param: DockerNamespace}, {get_param: DockerNovaConfigImage} ]
62 /var/lib/kolla/config_files/nova_scheduler.json:
63 command: /usr/bin/nova-scheduler
70 - [ {get_param: DockerNamespace}, {get_param: DockerNovaSchedulerImage} ]
75 - /var/lib/kolla/config_files/nova_scheduler.json:/var/lib/kolla/config_files/config.json:ro
76 - /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
77 - /etc/hosts:/etc/hosts:ro
78 - /etc/localtime:/etc/localtime:ro
81 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
83 - name: Stop and disable nova_scheduler service
85 service: name=openstack-nova-scheduler state=stopped enabled=no