I was getting a permission denied on Could not open '/var/lib/libvirt/images/servername-sda when try to boot the VM which was migrated from VMware. I am using virt-v2v tool.
but once I remove the disk and re-add it, it can boot up fine. It make me wonder it may not be a permission issue.
Also this only happened when VM was migrating from VMware using virt-v2v. I have no issue with a new build VM in KVM.
The Ubuntu version is 23.04.
Dose anyone has similar issue or any idea how to fix this?
error:
Error starting domain: internal error: process exited while connecting to monitor: 2024-02-13T15:21:41.609882Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/var/lib/libvirt/images/servername-sda","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/var/lib/libvirt/images/servername-sda': Permission denied
Thank you.
but once I remove the disk and re-add it, it can boot up fine. It make me wonder it may not be a permission issue.
Also this only happened when VM was migrating from VMware using virt-v2v. I have no issue with a new build VM in KVM.
The Ubuntu version is 23.04.
Dose anyone has similar issue or any idea how to fix this?
error:
Error starting domain: internal error: process exited while connecting to monitor: 2024-02-13T15:21:41.609882Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/var/lib/libvirt/images/servername-sda","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/var/lib/libvirt/images/servername-sda': Permission denied
Thank you.