Project

General

Profile

Actions

action #17824

closed

Images are not available on svirt VM hosts

Added by thehejik about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
michalnowak
Category:
Bugs in existing tests
Target version:
-
Start date:
2017-03-20
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

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:

From https://openqa.suse.de/tests/824276/file/autoinst-log.txt:
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
Command's stderr:
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.

Actions

Also available in: Atom PDF