Bug 1848278

Summary: [RFE] Enable OCS/OCP to create and consume Ceph thick-provisioned images
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Manjunatha <mmanjuna>
Component: cephAssignee: Eran Tamir <etamir>
Status: CLOSED ERRATA QA Contact: Jilju Joy <jijoy>
Severity: low Docs Contact:
Priority: low    
Version: 4.4CC: assingh, bkunal, ebenahar, etamir, madam, mgoldboi, mschindl, muagarwa, nberry, ndevos, ocs-bugs, sostapov, tdesala
Target Milestone: ---Keywords: FutureFeature, Performance
Target Release: OCS 4.8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-03 18:15:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Manjunatha 2020-06-18 06:57:40 UTC
Description of problem (please be detailed as possible and provide log
snippests):

it is possible to create thick-provisioned RBD images. Under certain circumstances, we would like to be able to create this type of images directly from OCP.


Version of all relevant components (if applicable):
OCS 4.4


Is there any workaround available to the best of your knowledge?
There are two different options:
1-Set this option in the storage class, thus all the subsequent images will be thick-provisioned.
2-Include an option in the PVC specifying that a thick-provisioned image is required.

Comment 10 Yaniv Kaul 2020-07-01 11:47:32 UTC
Talking to Moran, I was reminded that VMs (CNV) might benefit from this.

Comment 12 Mudit Agarwal 2020-09-21 05:41:18 UTC
Moving it to 4.7, we should already have an Epic for this and I guess the BZ can be closed.

Comment 16 Marc Schindler 2021-04-09 12:53:01 UTC
Any update for this topic?

IHAC (Lufthansa) who also need the function, because kafka write and delete a lot and workflow fstrim/mount option discard is currently not an option for his production environment.

I can't find anything in OCS 4.6 release notes:
https://docs.openshift.com/container-platform/4.7/release_notes/ocp-4-7-release-notes.html

Comment 21 Jilju Joy 2021-06-08 13:15:03 UTC
Verified that RBD thick provisioning feature is enabled in OCS 4.8.0

To create RBD thick PVC, users can make use of the storage class ocs-storagecluster-ceph-rbd-thick or create a new storage class with thick provision enabled.

Verified in version:
OCS operator	v4.8.0-408.ci
Cluster Version	4.8.0-0.nightly-2021-06-03-160817

Comment 26 errata-xmlrpc 2021-08-03 18:15:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenShift Container Storage 4.8.0 container images bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3003