+++ 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.
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.
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