Bug 1985795 - OCPonRHV: pvc stuck on pending status when using preallocated storage domain
Summary: OCPonRHV: pvc stuck on pending status when using preallocated storage domain
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.9.0
Assignee: Gal Zaidman
QA Contact: michal
URL:
Whiteboard:
Depends On:
Blocks: 2013945
TreeView+ depends on / blocked
 
Reported: 2021-07-25 19:52 UTC by michal
Modified: 2021-10-18 17:41 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2013945 (view as bug list)
Environment:
Last Closed: 2021-10-18 17:41:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovirt-csi-driver pull 82 0 None open Bug 1973076: Bug 1985795: Fix create volume, configure disk format based on storage domain and wait for disk to be ok 2021-07-26 14:06:15 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:41:22 UTC

Comment 1 Gal Zaidman 2021-07-26 08:54:38 UTC
This is caused by internal logic in the CSI driver, we hard coded the Image format:
https://github.com/openshift/ovirt-csi-driver/blob/master/pkg/service/controller.go#L79


It should be:
NFSx+Preallocated=Raw
SAN+Preallocated = Raw
SAN+Sparse = QCOW2
NFS+Sparse = Raw

Comment 2 michal 2021-08-17 08:25:08 UTC
OCP: 4.9.0-0.nightly-2021-08-07-175228
rhv:
4.4.7-5

check this matrix:
NFSx+Preallocated=Raw
SAN+Preallocated = Raw
SAN+Sparse = QCOW2
NFS+Sparse = Raw

Sparse = define thinprovision = true in sc

check format of disk with engine Api

Comment 5 errata-xmlrpc 2021-10-18 17:41:09 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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/RHSA-2021:3759


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