Merge "Add support for cinder NFS snapshots"

This commit is contained in:
Zuul 2018-12-15 05:07:25 +00:00 committed by Gerrit Code Review
commit cc4e903951
2 changed files with 20 additions and 0 deletions

View File

@ -52,6 +52,12 @@ parameters:
NFS servers used by Cinder NFS backend. Effective when
CinderEnableNfsBackend is true.
type: comma_delimited_list
CinderNfsSnapshotSupport:
default: true
description: >
Whether to enable support for snapshots in the NFS driver. Effective
when CinderEnableNfsBackend is true.
type: boolean
CinderNasSecureFileOperations:
default: false
description: >
@ -159,6 +165,7 @@ outputs:
tripleo::profile::base::cinder::volume::cinder_enable_rbd_backend: {get_param: CinderEnableRbdBackend}
tripleo::profile::base::cinder::volume::nfs::cinder_nfs_mount_options: {get_param: CinderNfsMountOptions}
tripleo::profile::base::cinder::volume::nfs::cinder_nfs_servers: {get_param: CinderNfsServers}
tripleo::profile::base::cinder::volume::nfs::cinder_nfs_snapshot_support: {get_param: CinderNfsSnapshotSupport}
tripleo::profile::base::cinder::volume::nfs::cinder_nas_secure_file_operations: {get_param: CinderNasSecureFileOperations}
tripleo::profile::base::cinder::volume::nfs::cinder_nas_secure_file_permissions: {get_param: CinderNasSecureFilePermissions}
tripleo::profile::base::cinder::volume::iscsi::cinder_lvm_loop_device_size: {get_param: CinderLVMLoopDeviceSize}

View File

@ -0,0 +1,13 @@
---
features:
- |
Add new CinderNfsSnapshotSupport parameter, which controls whether
cinder's NFS driver supports snapshots. The default value is True.
upgrade:
- |
Cinder's NFS driver does not support snapshots unless the feature is
explicitly enabled (this policy was chosen to ensure compatibility with
very old versions of libvirt). The CinderNfsSnapshotSupport default value
is True, and so the new default behavior enables NFS snapshots. This
change is safe because it just enables a capability (i.e. snapshots)
that other cinder drivers generally provide.