a88c32f510
The manila::sql_connection parameter is deprecated in favor of the manila::db::database_connection parameter. Change-Id: I9c0b59e0f7f1db54e17cf7437e880916fae40133
107 lines
3.7 KiB
YAML
107 lines
3.7 KiB
YAML
heat_template_version: wallaby
|
|
|
|
description: >
|
|
Openstack Manila base service. Shared by manila-api/scheduler/share services
|
|
|
|
parameters:
|
|
ServiceData:
|
|
default: {}
|
|
description: Dictionary packing service data
|
|
type: json
|
|
ServiceNetMap:
|
|
default: {}
|
|
description: Mapping of service_name -> network name. Typically set
|
|
via parameter_defaults in the resource registry. Use
|
|
parameter_merge_strategies to merge it with the defaults.
|
|
type: json
|
|
RoleName:
|
|
default: ''
|
|
description: Role name on which the service is applied
|
|
type: string
|
|
RoleParameters:
|
|
default: {}
|
|
description: Parameters specific to the role
|
|
type: json
|
|
EndpointMap:
|
|
default: {}
|
|
description: Mapping of service endpoint -> protocol. Typically set
|
|
via parameter_defaults in the resource registry.
|
|
type: json
|
|
ManilaIPv6:
|
|
default: False
|
|
description: Set to True to enable IPv6 access in manila.
|
|
type: boolean
|
|
Debug:
|
|
default: false
|
|
description: Set to True to enable debugging on all services.
|
|
type: boolean
|
|
ManilaDebug:
|
|
default: false
|
|
description: Set to True to enable debugging Manila services.
|
|
type: boolean
|
|
EnableSQLAlchemyCollectd:
|
|
type: boolean
|
|
description: >
|
|
Set to true to enable the SQLAlchemy-collectd server plugin
|
|
default: false
|
|
ManilaPassword:
|
|
description: The password for the manila service account.
|
|
type: string
|
|
hidden: true
|
|
NotificationDriver:
|
|
type: comma_delimited_list
|
|
default: 'noop'
|
|
description: Driver or drivers to handle sending notifications.
|
|
ManilaRpcResponseTimeout:
|
|
default: 60
|
|
description: Manila's RPC response timeout, in seconds.
|
|
type: number
|
|
ManilaStorageAvailabilityZone:
|
|
default: nova
|
|
description: The Manila service's storage availability zone.
|
|
type: string
|
|
|
|
outputs:
|
|
role_data:
|
|
description: Role data for the Manila Base service.
|
|
value:
|
|
service_name: manila_base
|
|
config_settings:
|
|
manila::storage_availability_zone: {get_param: ManilaStorageAvailabilityZone}
|
|
manila::notification_driver: {get_param: NotificationDriver}
|
|
manila::logging::debug:
|
|
if:
|
|
- {get_param: ManilaDebug}
|
|
- true
|
|
- {get_param: Debug}
|
|
manila::db::database_db_max_retries: -1
|
|
manila::db::database_max_retries: -1
|
|
manila::db::database_connection:
|
|
make_url:
|
|
scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
|
|
username: manila
|
|
password: {get_param: ManilaPassword}
|
|
host: {get_param: [EndpointMap, MysqlInternal, host]}
|
|
path: /manila
|
|
query:
|
|
if:
|
|
- {get_param: EnableSQLAlchemyCollectd}
|
|
- read_default_file: /etc/my.cnf.d/tripleo.cnf
|
|
read_default_group: tripleo
|
|
plugin: collectd
|
|
collectd_program_name: manila
|
|
collectd_host: localhost
|
|
- read_default_file: /etc/my.cnf.d/tripleo.cnf
|
|
read_default_group: tripleo
|
|
manila::network::neutron::network_plugin_ipv6_enabled: {get_param: ManilaIPv6}
|
|
# Currently the address family parameters are mutually exclusive
|
|
manila::network::neutron::network_plugin_ipv4_enabled:
|
|
if: [{get_param: ManilaIPv6}, false, true]
|
|
manila::rpc_response_timeout: {get_param: ManilaRpcResponseTimeout}
|
|
service_config_settings:
|
|
mysql:
|
|
manila::db::mysql::password: {get_param: ManilaPassword}
|
|
manila::db::mysql::user: manila
|
|
manila::db::mysql::host: '%'
|
|
manila::db::mysql::dbname: manila
|