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

Bug 2014845

Summary: oVIrt CSI driver fails on creating PVCs on hosted engine storage domain
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: StorageAssignee: Gal Zaidman <gzaidman>
Storage sub component: oVirt CSI Driver QA Contact: michal <mgold>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aos-bugs, jcoscia, mburman
Version: 4.8   
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 06:24:17 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: 2013969    
Bug Blocks:    

Description OpenShift BugZilla Robot 2021-10-17 10:40:21 UTC
+++ This bug was initially created as a clone of Bug #2013969 +++

Description of problem:

When you will try to create PVCs on a hosted engine storage domain the CSI will fail due to an error of not finding the storage domain.
After a small investigation, it appears that the problem is with the search string we pass to the oVirt API which on hosted engine storage domains should have a "name=STORAGE-DOMAIN-NAME".

Steps to Reproduce:
Try to install a cluster with the hosted engine storage domain as the OCP storage domain - the installation will fail on image registry and the CSI logs will contain errors on finding the storage domain.

OR

Have a running cluster on a hosted engine with a storage domain set to a non hosted engine storage domain, create a new storage class pointing to the hosted engine storage domain, try to create a PVC, it will fail and the CSI logs will contain errors on finding the storage domain.

Comment 4 michal 2021-11-11 06:17:24 UTC
rhv:4.4.9.3
steps:4.9.0-0.nightly-2021-11-09-154007

1) create sc with osted_storage domain
2) create PVC for sc that you created in step 1
3) verify that there is no error and pvc created successfully.

Comment 6 errata-xmlrpc 2021-11-16 06:24:17 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 (OpenShift Container Platform 4.9.7 bug fix 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:4579