containerized-data-importer icon indicating copy to clipboard operation
containerized-data-importer copied to clipboard

Error: MountVolume.WaitForAttach failed for volume, no fc disk found

Open kma67 opened this issue 10 months ago • 6 comments

What happened:

Trying to use CDI DV with FC PV, working from https://kubevirt.io/labs/kubernetes/lab2 - "Experiment with the Containerized Data Importer (CDI)", no CSI driver available for storage backend so am manually proivisioning. Error is:

Error: MountVolume.WaitForAttach failed for volume "fedora-pv" (UniqueName: "kubernetes.io/fc/[3600d0231000e1b7d1feb11e82ff057fc]:3") pod "importer-fedora" (UID: "4835a411-2ab9-49b6-a4fc-ce9b8ba9f735") : no fc disk found

Expected behavior:

Properly mount volume and complete lab2 above

How to reproduce:

Manually create FC based PV Create DV as listed in lab2 docs (fails at this point)

Additional info:

Using manual storage class (set as default) -

apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: manual provisioner: kubernetes.io/no-provisioner reclaimPolicy: Retain volumeBindingMode: Immediate

Environment:

CDI version (use kubectl get deployments cdi-deployment -o yaml): v1.61.0 Kubernetes version (use kubectl version): v1.29.4 DV specification: N/A Cloud provider or hardware configuration: Dell PowerEdge M630, 2 x Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz, 256GB RAM, bare-metal Ubuntu 24.04.1 LTS installation OS (e.g. from /etc/os-release): Ubuntu 24.04.1 LTS Kernel (e.g. uname -a): 6.8.0-51-generic Install tools: Installed via guide at https://kubevirt.io/user-guide/storage/containerized_data_importer/#install-cdi Others: N/A

kma67 avatar Jan 11 '25 19:01 kma67

Is this still a problem? If so can you paste you PV and PVC definitions? The problem appears to be that the volume cannot get attached to the node, so having those definitions will help diagnose.

awels avatar Jan 27 '25 13:01 awels

Greetings Alexander,

Many thanks for the reply! Yes, I have not been able to resolve this yet. We recently moved our environment and are in the process of wrapping up installation. Once we have normal access restored, I will grab and post the PV and PVC (expected later this week).

Kevin

kma67 avatar Jan 27 '25 16:01 kma67

dv_fedora.yml:

apiVersion: cdi.kubevirt.io/v1beta1 kind: DataVolume metadata: name: "fedora" spec: pvc: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 30G source: http: url: "https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-Base-AmazonEC2.x86_64-40-1.14.raw.xz"

kma67 avatar Jan 31 '25 21:01 kma67

fedora-pv.yaml:

apiVersion: v1 kind: PersistentVolume metadata: name: fedora-pv labels: type: scratch spec: capacity: storage: 40G accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Retain fc: targetWWNs: - 3600d0231000e1b7d1feb11e82ff057fc lun: 3 fsType: ext4 storageClassName: manual

kma67 avatar Jan 31 '25 21:01 kma67

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

kubevirt-bot avatar May 02 '25 06:05 kubevirt-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

kubevirt-bot avatar Jun 01 '25 06:06 kubevirt-bot

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

kubevirt-bot avatar Jul 01 '25 06:07 kubevirt-bot

@kubevirt-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

kubevirt-bot avatar Jul 01 '25 06:07 kubevirt-bot