2016-12-23 11:43:39 +00:00
|
|
|
heat_template_version: ocata
|
2015-11-10 13:56:54 -05:00
|
|
|
|
|
|
|
description: >
|
|
|
|
Manila-scheduler service configured with Puppet
|
|
|
|
|
|
|
|
parameters:
|
2016-08-11 23:07:46 +02:00
|
|
|
ServiceNetMap:
|
|
|
|
default: {}
|
|
|
|
description: Mapping of service_name -> network name. Typically set
|
|
|
|
via parameter_defaults in the resource registry. This
|
|
|
|
mapping overrides those in ServiceNetMapDefaults.
|
|
|
|
type: json
|
2016-08-17 09:26:05 -04:00
|
|
|
DefaultPasswords:
|
|
|
|
default: {}
|
|
|
|
type: json
|
2015-11-10 13:56:54 -05:00
|
|
|
EndpointMap:
|
|
|
|
default: {}
|
|
|
|
description: Mapping of service endpoint -> protocol. Typically set
|
|
|
|
via parameter_defaults in the resource registry.
|
|
|
|
type: json
|
|
|
|
NovaPassword:
|
|
|
|
type: string
|
|
|
|
description: The password for the nova service and db account, used by nova-api.
|
|
|
|
hidden: true
|
|
|
|
NeutronPassword:
|
|
|
|
description: The password for the neutron service and db account, used by neutron agents.
|
|
|
|
type: string
|
|
|
|
hidden: true
|
|
|
|
ManilaPassword:
|
|
|
|
description: The password for the manila service account.
|
|
|
|
type: string
|
|
|
|
hidden: true
|
2016-06-09 15:39:22 +02:00
|
|
|
MonitoringSubscriptionManilaScheduler:
|
|
|
|
default: 'overcloud-manila-scheduler'
|
|
|
|
type: string
|
2015-11-10 13:56:54 -05:00
|
|
|
|
|
|
|
resources:
|
|
|
|
ManilaBase:
|
|
|
|
type: ./manila-base.yaml
|
|
|
|
properties:
|
2016-08-11 23:07:46 +02:00
|
|
|
ServiceNetMap: {get_param: ServiceNetMap}
|
2016-08-17 09:26:05 -04:00
|
|
|
DefaultPasswords: {get_param: DefaultPasswords}
|
2015-11-10 13:56:54 -05:00
|
|
|
EndpointMap: {get_param: EndpointMap}
|
|
|
|
|
|
|
|
outputs:
|
|
|
|
role_data:
|
|
|
|
description: Role data for the Manila-scheduler role.
|
|
|
|
value:
|
|
|
|
service_name: manila_scheduler
|
2016-06-09 15:39:22 +02:00
|
|
|
monitoring_subscription: {get_param: MonitoringSubscriptionManilaScheduler}
|
2015-11-10 13:56:54 -05:00
|
|
|
config_settings:
|
|
|
|
map_merge:
|
|
|
|
- get_attr: [ManilaBase, role_data, config_settings]
|
|
|
|
- manila::compute::nova::nova_admin_auth_url: {get_param: [EndpointMap, KeystoneInternal, uri]}
|
|
|
|
manila::compute::nova::nova_admin_password: {get_param: NovaPassword}
|
|
|
|
manila::compute::nova::nova_admin_tenant_name: 'service'
|
|
|
|
manila::network::neutron::neutron_url: {get_param: [EndpointMap, NeutronInternal, uri]}
|
|
|
|
manila::network::neutron::neutron_admin_auth_url: {get_param: [EndpointMap, NeutronAdmin, uri]}
|
|
|
|
manila::network::neutron::neutron_admin_password: {get_param: NeutronPassword}
|
|
|
|
step_config: |
|
|
|
|
include ::tripleo::profile::base::manila::scheduler
|