Support cephfs_volume_mode parameter

manila now [1] supports configuring an octal value for the
rwx permissions mode of the cephfs volumes and snapshots
and groups of these that back manila shares, snapshots,
and groups.

Expose this parameter in the backend manifests for manila
with cephfs.

[1] https://review.openstack.org/#/c/614332

Depends-On: https://review.openstack.org/#/c/638770/
Change-Id: Id8cbdfeff8299ff08a84c1c5902fb909353d4678
This commit is contained in:
Tom Barron 2019-02-22 16:51:22 -05:00
parent 105e75fcfd
commit 32827b39c1
2 changed files with 6 additions and 0 deletions

View File

@ -107,6 +107,7 @@ class tripleo::profile::base::manila::share (
cephfs_auth_id => $cephfs_auth_id,
cephfs_cluster_name => hiera('manila::backend::cephfs::cephfs_cluster_name'),
cephfs_enable_snapshots => hiera('manila::backend::cephfs::cephfs_enable_snapshots'),
cephfs_volume_mode => hiera('manila::backend::cephfs::cephfs_volume_mode', '0755'),
cephfs_protocol_helper_type => $manila_cephfs_protocol_helper_type,
cephfs_ganesha_server_ip => hiera('ganesha_vip', undef),
}

View File

@ -0,0 +1,5 @@
features:
- |
Support setting values for ``cephfs_volume_mode`` parameter which controls
the rwx mode of the cephfs volumes, snapshots, and groups of these
that back manila shares.