1 heat_template_version: ocata
4 OpenStack Nova Conductor service configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
23 description: Number of workers for Nova Conductor service.
25 MonitoringSubscriptionNovaConductor:
26 default: 'overcloud-nova-conductor'
28 NovaSchedulerLoggingSource:
31 tag: openstack.nova.scheduler
32 path: /var/log/nova/nova-scheduler.log
33 UpgradeLevelNovaCompute:
35 description: Nova Compute upgrade level
39 nova_workers_zero: {equals : [{get_param: NovaWorkers}, 0]}
43 type: ./nova-base.yaml
45 ServiceNetMap: {get_param: ServiceNetMap}
46 DefaultPasswords: {get_param: DefaultPasswords}
47 EndpointMap: {get_param: EndpointMap}
51 description: Role data for the Nova Conductor service.
53 service_name: nova_conductor
54 monitoring_subscription: {get_param: MonitoringSubscriptionNovaConductor}
55 logging_source: {get_param: NovaSchedulerLoggingSource}
60 - get_attr: [NovaBase, role_data, config_settings]
65 - nova::conductor::workers: {get_param: NovaWorkers}
67 include tripleo::profile::base::nova::conductor
69 - name: Stop nova_conductor service
71 service: name=openstack-nova-conductor state=stopped
72 # If not already set by puppet (e.g a pre-ocata version), set the
73 # upgrade_level for compute to "auto"
74 - name: Set compute upgrade level to auto
78 template: "dest=/etc/nova/nova.conf section=upgrade_levels option=compute value=LEVEL"
80 LEVEL: {get_param: UpgradeLevelNovaCompute}