-
Bug
-
Resolution: Done-Errata
-
Normal
-
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"}}}
- links to
-
RHEA-2023:122979 OpenShift Virtualization 4.16.0 Images