Bug 1798917 - [RFE] Add ability to set 'rbd_flatten_volume_from_snapshot' in cinder.conf
Summary: [RFE] Add ability to set 'rbd_flatten_volume_from_snapshot' in cinder.conf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 10.0 (Newton)
Hardware: All
OS: All
medium
medium
Target Milestone: z2
: 16.0 (Train on RHEL 8.1)
Assignee: Alan Bishop
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On: 1744855
Blocks: 1814222 1814228
TreeView+ depends on / blocked
 
Reported: 2020-02-06 10:20 UTC by Giulio Fidente
Modified: 2020-05-12 14:49 UTC (History)
19 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.1-0.20191126041653.414d4d9.el8ost
Doc Type: Enhancement
Doc Text:
A new Red Hat OpenStack Platform Orchestration service (heat) parameter controls whether the Block Storage service (cinder) flattens RADOS block device (RBD) volumes created from snapshots. Flattening a volume removes its dependency on the snapshot. If you set the value of `CinderRbdFlattenVolumeFromSnapshot` to true, cinder flattens RBD volumes. The default value of `CinderRbdFlattenVolumeFromSnapshot` and the cinder RBD driver is `false`.
Clone Of: 1744855
: 1814222 (view as bug list)
Environment:
Last Closed: 2020-03-17 10:36:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Lon Hohberger 2020-02-13 11:39:55 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-11.3.2-0.20200131125640.cc909b6.el8ost.  This build is available now.

Comment 5 Tzach Shefi 2020-03-16 13:53:14 UTC
Verified on:
openstack-tripleo-heat-templates-11.3.2-0.20200211065546.d3d6dc3.el8ost.noarch

Added to overcloud_deploy.sh 

[stack@undercloud-0 ~]$ cat virt/extra_templates.yaml 
parameter_defaults:
    CinderRbdFlattenVolumeFromSnapshot: true


[root@controller-1 ~]# grep -vE "^#" /var/lib/config-data/puppet-generated/cinder/etc/cinder/cinder.conf | grep rbd
volume_driver=cinder.volume.drivers.rbd.RBDDriver
rbd_ceph_conf=/etc/ceph/ceph.conf
rbd_user=openstack
rbd_pool=volumes
rbd_flatten_volume_from_snapshot=True   ---------------------> Yep works as excepted 
rbd_secret_uuid=acd7aae2-677c-11ea-9dd5-525400afafa8


Good to verify.


Note You need to log in before you can comment on or make changes to this bug.