1 heat_template_version: 2016-04-08
4 Openstack Manila base service. Shared by manila-api/scheduler/share services
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.
15 description: Mapping of service endpoint -> protocol. Typically set
16 via parameter_defaults in the resource registry.
20 description: Set to True to enable debugging on all services.
23 description: The password for RabbitMQ
28 description: The username for RabbitMQ
33 Rabbit client subscriber parameter to specify
34 an SSL connection to the RabbitMQ host.
38 description: Set rabbit subscriber port, change this if using SSL
40 # Config specific parameters, to be provided via parameter_defaults
41 ManilaGenericEnableBackend:
44 ManilaGenericBackendName:
46 default: tripleo_generic
47 ManilaGenericDriverHandlesShareServers:
50 ManilaGenericSmbTemplateConfigPath:
52 default: '$state_path/smb.conf'
53 ManilaGenericVolumeNameTemplate:
55 default: 'manila-share-%s'
56 ManilaGenericVolumeSnapshotNameTemplate:
58 default: 'manila-snapshot-%s'
59 ManilaGenericShareMountPath:
62 ManilaGenericMaxTimeToCreateVolume:
65 ManilaGenericMaxTimeToAttach:
68 ManilaGenericServiceInstanceSmbConfigPath:
70 default: '$share_mount_path/smb.conf'
71 ManilaGenericShareVolumeFsType:
74 ManilaGenericCinderVolumeType:
77 ManilaGenericServiceInstanceUser:
80 ManilaGenericServiceInstancePassword: #SET THIS via parameter_defaults
83 ManilaGenericServiceInstanceFlavorId:
86 ManilaGenericServiceNetworkCidr:
88 default: '172.16.0.0/16'
92 description: Role data for the Manila Base service.
94 service_name: manila_base
96 manila::rabbit_userid: {get_param: RabbitUserName}
97 manila::rabbit_password: {get_param: RabbitPassword}
98 manila::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
99 manila::rabbit_port: {get_param: RabbitClientPort}
100 manila::debug: {get_param: Debug}
101 manila::db::mysql::user: manila
102 manila::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
103 manila::db::mysql::dbname: manila
104 manila::db::database_db_max_retries: -1
105 manila::db::database_max_retries: -1
106 manila_generic_enable_backend: {get_param: ManilaGenericEnableBackend}
107 manila::backend::generic::title: {get_param: ManilaGenericBackendName}
108 manila::backend::generic::driver_handles_share_servers: {get_param: ManilaGenericDriverHandlesShareServers}
109 manila::backend::generic::smb_template_config_path: {get_param: ManilaGenericSmbTemplateConfigPath}
110 manila::backend::generic::volume_name_template: {get_param: ManilaGenericVolumeNameTemplate}
111 manila::backend::generic::volume_snapshot_name_template: {get_param: ManilaGenericVolumeSnapshotNameTemplate}
112 manila::backend::generic::share_mount_path: {get_param: ManilaGenericShareMountPath}
113 manila::backend::generic::max_time_to_create_volume: {get_param: ManilaGenericMaxTimeToCreateVolume}
114 manila::backend::generic::max_time_to_attach: {get_param: ManilaGenericMaxTimeToAttach}
115 manila::backend::generic::service_instance_smb_config_path: {get_param: ManilaGenericServiceInstanceSmbConfigPath}
116 manila::backend::generic::share_volume_fstype: {get_param: ManilaGenericShareVolumeFsType}
117 manila::backend::generic::cinder_volume_type: {get_param: ManilaGenericCinderVolumeType}
118 manila::service_instance::service_instance_user: {get_param: ManilaGenericServiceInstanceUser}
119 manila::service_instance::service_instance_password: {get_param: ManilaGenericServiceInstancePassword}
120 manila::service_instance::service_instance_flavor_id: {get_param: ManilaGenericServiceInstanceFlavorId}
121 manila::service_instance::service_network_cidr: {get_param: ManilaGenericServiceNetworkCidr}
122 manila::db::mysql::allowed_hosts:
124 - "%{hiera('mysql_bind_host')}"