-
Bug
-
Resolution: Done-Errata
-
Major
-
CNV v4.14.0
-
None
-
1
-
False
-
-
False
-
None
-
---
-
---
-
-
Storage Core Sprint 252
-
Important
-
No
Description of problem:
User is unable to import VM from VMware, DataVolume created by MTV is stuck in pending state for the blank block disk
kind: DataVolume metadata: annotations: cdi.kubevirt.io/storage.bind.immediate.requested: "true" cdi.kubevirt.io/storage.deleteAfterCompletion: "false" cdi.kubevirt.io/storage.pod.retainAfterCompletion: "true" cdi.kubevirt.io/storage.usePopulator: "true" forklift.konveyor.io/disk-source: '[DATASTORE-2] RHCOS1/RHCOS1.vmdk' migration: 11750a6f-e9ad-47f3-8c5e-1a1c7f56e65a plan: 9a438696-422e-45d3-a538-adddace1252d vmID: vm-4186 creationTimestamp: "2024-03-27T10:40:14Z" generateName: vmtoos-vm-4186- generation: 1 labels: migration: 11750a6f-e9ad-47f3-8c5e-1a1c7f56e65a plan: 9a438696-422e-45d3-a538-adddace1252d vmID: vm-4186 manager: forklift-controller operation: Update time: "2024-03-27T10:40:14Z" name: vmtoos-vm-4186-bxvx7 namespace: openshift-storage resourceVersion: "18110520" uid: 0f39a53e-1dfb-4875-9056-36b872dd4532 spec: source: blank: {} storage: resources: requests: storage: 16Gi storageClassName: lvms-vg1 status: claimName: vmtoos-vm-4186-bxvx7 conditions: - lastHeartbeatTime: "2024-03-27T10:40:14Z" lastTransitionTime: "2024-03-27T10:40:14Z" message: PVC vmtoos-vm-4186-bxvx7 Pending reason: Pending status: "False" type: Bound - lastHeartbeatTime: "2024-03-27T10:40:14Z" lastTransitionTime: "2024-03-27T10:40:14Z" status: "False" type: Ready - lastHeartbeatTime: "2024-03-27T10:40:14Z" lastTransitionTime: "2024-03-27T10:40:14Z" status: "False" type: Running progress: N/A
CDI never spawns the pod to bind the LVMs PVs, keeps logging this
attempting to create blank disk for block mode, this is a no-op, marking pvc with pod-phase succeeded
Apparently this was improved in https://github.com/kubevirt/containerized-data-importer/pull/2917/commits/84500d0797e647d213682566d514ef1681fb08e1, and the customer updated to 4.15, solving the issue.
Version-Release number of selected component (if applicable):
4.14
How reproducible:
Always
Steps to Reproduce:
1. Use MTV to import VM from vmware to block storage (lvms)
Actual results:
Import is stuck
Expected results:
Import succeeds
- links to
-
RHEA-2024:129223 OpenShift Virtualization 4.14.5 Images