Bug 2013969 - 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.10.0
Assignee: aos-storage-staff@redhat.com
QA Contact: michal
URL:
Whiteboard:
Depends On:
Blocks: 2014845
TreeView+ depends on / blocked
 
Reported: 2021-10-14 08:17 UTC by Gal Zaidman
Modified: 2022-03-10 16:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:19:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovirt-csi-driver pull 90 0 None open Bug 2013969: Fix storage domain search string 2021-10-17 07:00:22 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:19:54 UTC

Description Gal Zaidman 2021-10-14 08:17:44 UTC
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 3 michal 2021-11-08 16:14:27 UTC
rhv: 4.4.9.3
ocp: 4.10.0-0.nightly-2021-11-02-191632

steps:
1) create sc with hosted_storage domain
2) create PVC that use this sc
3) look at logs of PVC
4) run oc get PVC and verify that pvc created successfully without error

Comment 7 errata-xmlrpc 2022-03-10 16:19:35 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.10.3 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-2022:0056


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