Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1798917

Summary: [RFE] Add ability to set 'rbd_flatten_volume_from_snapshot' in cinder.conf
Product: Red Hat OpenStack Reporter: Giulio Fidente <gfidente>
Component: openstack-tripleo-heat-templatesAssignee: Alan Bishop <abishop>
Status: CLOSED CURRENTRELEASE QA Contact: Yogev Rabl <yrabl>
Severity: medium Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: abishop, cinder-bugs, gcharot, gfidente, gregraka, jamsmith, jjoyce, jschluet, lhh, ltoscano, mburns, nacurry, nchandek, nwolf, sbandyop, slinaber, tshefi, tvignaud, yrabl
Target Milestone: z2Keywords: FutureFeature, TestOnly, Triaged
Target Release: 16.0 (Train on RHEL 8.1)   
Hardware: All   
OS: All   
Whiteboard:
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`.
Story Points: ---
Clone Of: 1744855
: 1814222 (view as bug list) Environment:
Last Closed: 2020-03-17 10:36:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1744855    
Bug Blocks: 1814222, 1814228    

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.