Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-29869

hotplug volume fails during csi test when volume is attached/detached too quickly

XMLWordPrintable

    • Storage Core Sprint 252
    • None

      sometimes the hotplug of a volume fails in kubevirt-csi when we attach/detach the same volume quickly. The error in virt-handler looks like log below. 

       
      {{
      2023-06-13T15:42:35.330479743Z {"component":"virt-handler","level":"info","msg":"Volume pvc-7847167a-787c-4b99-b123-bf97673fe580 is not ready, but the target block device exists","pos":"mount.go:446","timestamp":"2023-06-13T15:42:35.330461Z"} 2023-06-13T15:42:35.330637976Z {"component":"virt-handler","kind":"","level":"error","msg":"Synchronizing the VirtualMachineInstance failed.","name":"154161e24fecb7979ad8-tht2v","namespace":"clusters-154161e24fecb7979ad8","pos":"vm.go:1830","reason":"failed to mount block hotplug volume pvc-7847167a-787c-4b99-b123-bf97673fe580: lstat /proc/1/root/var/lib/kubelet/pods/cf715f42-be2d-4b68-a2f9-41fb201382e7/volumes/kubernetes.io~empty-dir/hotplug-disks/pvc-7847167a-787c-4b99-b123-bf97673fe580: no such file or directory","timestamp":"2023-06-13T15:42:35.330598Z","uid":"ba081338-bf48-4316-9899-d6cdde2833a5"}}}

              rhn-support-awels Alexander Wels
              rhn-engineering-dvossel David Vossel
              Yan Du Yan Du
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: