1 heat_template_version: pike
4 OpenStack Nova Conductor service configured with Puppet
9 description: Dictionary packing service data
13 description: Mapping of service_name -> network name. Typically set
14 via parameter_defaults in the resource registry. This
15 mapping overrides those in ServiceNetMapDefaults.
22 description: Role name on which the service is applied
26 description: Parameters specific to the role
30 description: Mapping of service endpoint -> protocol. Typically set
31 via parameter_defaults in the resource registry.
35 description: Number of workers for Nova services.
37 MonitoringSubscriptionNovaConductor:
38 default: 'overcloud-nova-conductor'
40 NovaSchedulerLoggingSource:
43 tag: openstack.nova.scheduler
44 path: /var/log/nova/nova-scheduler.log
45 UpgradeLevelNovaCompute:
47 description: Nova Compute upgrade level
51 nova_workers_zero: {equals : [{get_param: NovaWorkers}, 0]}
55 type: ./nova-base.yaml
57 ServiceData: {get_param: ServiceData}
58 ServiceNetMap: {get_param: ServiceNetMap}
59 DefaultPasswords: {get_param: DefaultPasswords}
60 EndpointMap: {get_param: EndpointMap}
61 RoleName: {get_param: RoleName}
62 RoleParameters: {get_param: RoleParameters}
66 description: Role data for the Nova Conductor service.
68 service_name: nova_conductor
69 monitoring_subscription: {get_param: MonitoringSubscriptionNovaConductor}
70 logging_source: {get_param: NovaSchedulerLoggingSource}
75 - get_attr: [NovaBase, role_data, config_settings]
80 - nova::conductor::workers: {get_param: NovaWorkers}
82 include tripleo::profile::base::nova::conductor
84 - name: Stop nova_conductor service
86 service: name=openstack-nova-conductor state=stopped
87 # If not already set by puppet (e.g a pre-ocata version), set the
88 # upgrade_level for compute to "auto"
89 - name: Set compute upgrade level to auto
93 template: "dest=/etc/nova/nova.conf section=upgrade_levels option=compute value=LEVEL"
95 LEVEL: {get_param: UpgradeLevelNovaCompute}