Images are not available on svirt VM hosts
Probably due changes with openqa NFS share we are facing to problems with svirt_xen/kvm where is not possible to generate backup image by qemu-img create command:
Command executed: qemu-img create /var/lib/libvirt/images/openQA-SUT-1a.img -f qcow2 -b /var/lib/openqa/pool/13/SUSE-CaaS-Platform-1.0-XEN.x86_64-1.0.0-Build14.11.qcow2
qemu-img: /var/lib/libvirt/images/openQA-SUT-1a.img: Could not open '/var/lib/openqa/pool/13/SUSE-CaaS-Platform-1.0-XEN.x86_64-1.0.0-Build14.11.qcow2': No such file or directory
Problem is in HDD_1 variable content where the path is not valid for svirt hosts:
"HDD_1" : "/var/lib/openqa/pool/13/SUSE-CaaS-Platform-1.0-XEN.x86_64-1.0.0-Build14.11.qcow2",
Correct path is (NFS mounted into /var/lib/openqa/share):
"HDD_1" : "/var/lib/openqa/share/factory/hdd/SUSE-CaaS-Platform-1.0-XEN.x86_64-1.0.0-Build9.17.qcow2",
Possible workaround would be to use xen/kvm libvirt host directly as worker... but this is probably not possible on zkvm.
#1 Updated by michalnowak over 4 years ago
- Subject changed from sshVirtsh.pm for svirt is not able to create backup image by qemu-img due incorrect path to Images are not available on svirt VM hosts
- Category changed from 132 to Concrete Bugs
I just deployed "hot-fix" for images on the Xen VM host to revive CaaSP testing: essentially it's again using NFS share, but it should not use much resource, about 2 jobs per build.
Not sure what is the right solution for images on svirt atm. Perhaps a
downloader_svirt test module downloading requested images before the actual
bootloader_svirt run. Or making the VM host an openQA worker.
#2 Updated by coolo over 4 years ago
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2566 is not applicable?
#5 Updated by michalnowak over 4 years ago
- Status changed from In Progress to Feedback