Transport ManilaCephFSDataPoolName to Manila CephFS template

This is necessary to configure the Manila CephFS backend
correctly when user customizes the CephFS pool name.

Change-Id: Ie7ac4567b5d6d10df558b15927bfc2f9ba6cdfe0
Depends-On: I3adaa442b8c53ff902761d1dba283a79494c8ae6
Closes-Bug: 1837099
(cherry picked from commit dbac7cf92c)
(cherry picked from commit e7c3496a97)
This commit is contained in:
Giulio Fidente 2019-07-18 20:16:06 +02:00
parent eb389f5cec
commit 3585f36142
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,9 @@ parameters:
The Ceph cluster name must be at least 1 character and contain only
letters and numbers.
# CephFS backend params:
ManilaCephFSDataPoolName:
default: manila_data
type: string
ManilaCephFSBackendName:
type: string
default: cephfs
@ -82,6 +85,7 @@ outputs:
config_settings:
manila::backend::cephfs::title: {get_param: ManilaCephFSBackendName}
manila::backend::cephfs::driver_handles_share_servers: {get_param: ManilaCephFSDriverHandlesShareServers}
manila::backend::cephfs::pool_name: {get_param: ManilaCephFSDataPoolName}
manila::backend::cephfs::share_backend_name: {get_param: ManilaCephFSShareBackendName}
manila::backend::cephfs::cephfs_conf_path:
list_join: