Add CinderRbdFlattenVolumeFromSnapshot parameter

CinderRbdFlattenVolumeFromSnapshot controls whether cinder RBD volumes
created from a snapshot should be flattened in order remove a dependency
on the snapshot.

Depends-On: I430a2d1793ffcd0964d268a1930e3fb85e32a995
Change-Id: I4fb97b275c6288e81072d71d43f75f5b7aee1d6b
This commit is contained in:
Alan Bishop 2019-08-30 13:03:55 -07:00
parent 96d6b43a0a
commit 9e5c7cdb0a
2 changed files with 15 additions and 0 deletions

View File

@ -151,6 +151,13 @@ parameters:
list. This is in addition to the standard RBD backend driver
associated with the CinderRbdPoolName.
type: comma_delimited_list
CinderRbdFlattenVolumeFromSnapshot:
default: false
description: >
Whether RBD volumes created from a snapshot should be flattened
in order to remove a dependency on the snapshot.
type: boolean
CephClusterFSID:
type: string
description: The Ceph cluster FSID. Must be a UUID.
@ -218,6 +225,7 @@ outputs:
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_extra_pools: {get_param: CinderRbdExtraPools}
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_secret_uuid: {get_param: CephClusterFSID}
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_user_name: {get_param: CephClientUserName}
tripleo::profile::base::cinder::volume::rbd::cinder_rbd_flatten_volume_from_snapshot: {get_param: CinderRbdFlattenVolumeFromSnapshot}
tripleo::cinder_volume::firewall_rules:
'120 iscsi initiator':
dport: 3260

View File

@ -0,0 +1,7 @@
---
features:
- |
Add CinderRbdFlattenVolumeFromSnapshot parameter to control whether
cinder RBD volumes created from a snapshot should be flattened in order
remove a dependency on the snapshot. The default value is False, which
is the same as the cinder RBD driver's default value.