Bug 2014845 - oVIrt CSI driver fails on creating PVCs on hosted engine storage domain
Summary: oVIrt CSI driver fails on creating PVCs on hosted engine storage domain
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.9.z
Assignee: Gal Zaidman
QA Contact: michal
URL:
Whiteboard:
Depends On: 2013969
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-17 10:40 UTC by OpenShift BugZilla Robot
Modified: 2021-11-16 06:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 06:24:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovirt-csi-driver pull 91 0 None open [release-4.9] Bug 2014845: Fix storage domain search string 2021-11-09 01:01:12 UTC
Red Hat Product Errata RHBA-2021:4579 0 None None None 2021-11-16 06:24:44 UTC

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


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