-
Bug
-
Resolution: Done-Errata
-
Normal
-
CNV v4.18.0
-
None
-
Quality / Stability / Reliability
-
1
-
False
-
-
False
-
None
-
-
CNV Storage 267
-
None
Description of problem:
PVC is pending when migrate a VM from OCS to HPP StorageClass
Version-Release number of selected component (if applicable):
CNV-v4.18.0.rhel9-351 MTC 1.8.5-16
How reproducible:
Always
Steps to Reproduce:
1. Create a VM with ocs-storagecluster-ceph-rbd-virtualization SC 2. Create a migplan, set target SC is hostpath-csi-basic 3. Stage/cutover the migplan
Actual results:
$ oc get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE fedora1 Bound pvc-700d1255-4809-4be4-b21e-a89052fe20e4 30Gi RWO ocs-storagecluster-ceph-rbd-virtualization <unset> 14m fedora1-mig-r8pz Pending hostpath-csi-basic <unset> 113s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal WaitForFirstConsumer 68s (x3 over 86s) persistentvolume-controller waiting for first consumer to be created before binding Normal Provisioning 32s (x6 over 63s) kubevirt.io.hostpath-provisioner_hostpath-provisioner-csi-2gc2n_65caab65-b9eb-475a-bf95-58e9b9bb9952 External provisioner is provisioning volume for claim "test1/fedora1-mig-r8pz" Warning ProvisioningFailed 32s (x6 over 63s) kubevirt.io.hostpath-provisioner_hostpath-provisioner-csi-2gc2n_65caab65-b9eb-475a-bf95-58e9b9bb9952 failed to provision volume with StorageClass "hostpath-csi-basic": rpc error: code = InvalidArgument desc = must have mount access type Normal ExternalProvisioning 13s (x5 over 63s) persistentvolume-controller Waiting for a volume to be created either by the external provisioner 'kubevirt.io.hostpath-provisioner' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.
Expected results:
PVC is bound, migration succeeded
Additional info:
- links to
-
RHEA-2024:139653 OpenShift Virtualization 4.18.0 Images