From a7a1117b6b1025de7c83837b1ee1fe3e365a2138 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Mon, 26 Jun 2023 11:28:34 +0200 Subject: [PATCH] start all libvirtd services after installing libvirt-daemon-kvm https://lists.corp.redhat.com/archives/osci-list/2023-June/001238.html Signed-off-by: Laszlo Ersek --- tests/basic-test.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/basic-test.sh b/tests/basic-test.sh index 2c8ae4d..c720b12 100755 --- a/tests/basic-test.sh +++ b/tests/basic-test.sh @@ -6,8 +6,12 @@ set -x # virt-v2v is extensively tested on real guests by the QE # team using a mix of automated and manual testing. -# Fix libvirt. -systemctl restart libvirtd +# The various services exposed by the modular libvirt daemons are not +# immediately available / running after installing their packages (via the +# "libvirt-daemon-kvm" metapackage); we need to start them manually. The +# simplest command for starting them all is the one below, from +# . +systemctl isolate multi-user.target virt-builder -vx fedora-30 virt-v2v -vx -i disk fedora-30.img -o null