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