Merge "M/N upgrade sahara-api fails to restart."
[apex-tripleo-heat-templates.git] / puppet / services / nova-conductor.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Nova Conductor service configured with Puppet
5
6 parameters:
7   ServiceNetMap:
8     default: {}
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.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   NovaWorkers:
22     default: 0
23     description: Number of workers for Nova Conductor service.
24     type: number
25   MonitoringSubscriptionNovaConductor:
26     default: 'overcloud-nova-conductor'
27     type: string
28   NovaSchedulerLoggingSource:
29     type: json
30     default:
31       tag: openstack.nova.scheduler
32       path: /var/log/nova/nova-scheduler.log
33
34 resources:
35   NovaBase:
36     type: ./nova-base.yaml
37     properties:
38       ServiceNetMap: {get_param: ServiceNetMap}
39       DefaultPasswords: {get_param: DefaultPasswords}
40       EndpointMap: {get_param: EndpointMap}
41
42 outputs:
43   role_data:
44     description: Role data for the Nova Conductor service.
45     value:
46       service_name: nova_conductor
47       monitoring_subscription: {get_param: MonitoringSubscriptionNovaConductor}
48       logging_source: {get_param: NovaSchedulerLoggingSource}
49       logging_groups:
50         - nova
51       config_settings:
52         map_merge:
53           - get_attr: [NovaBase, role_data, config_settings]
54           - nova::conductor::workers: {get_param: NovaWorkers}
55       step_config: |
56         include tripleo::profile::base::nova::conductor