[Swan-dev] kvm fedorabase install failing?

Paul Wouters paul at nohats.ca
Sat Dec 31 16:17:20 UTC 2016


I tried using f22,f23 and f25 inside the guest. The host is f25.
The fedorabase install _seems_ to complete installation, then it
reboots and I see:


[  591.940752] reboot: Restarting system

Domain creation completed.
You can restart your domain by running:
   virsh --connect qemu:///system start swanfedorabase
: make certain that the image is accessable
test -r /home/build/pool/swanfedorabase.qcow2 || sudo chgrp 107 /home/build/pool/swanfedorabase.qcow2
test -r /home/build/pool/swanfedorabase.qcow2 || sudo chmod g+r /home/build/pool/swanfedorabase.qcow2
mv /home/build/pool/swanfedorabase.ks.tmp /home/build/pool/swanfedorabase.ks
: the reboot message from virt-install can be ignored
if sudo virsh --connect qemu:///system dominfo 'clone' 2>/dev/null ; then echo '' ; echo '        The domain clone seems to already exist.' ; echo '' ; echo '  This is most likely because to make was aborted part' ; echo '  way through creating the domain, however it could be' ; echo '  because the domain was created by some other means.' ; echo '' ; echo '  To continue the build, the existing domain will first need to' ; echo '  be deleted using:' ; echo '' ; echo '      make uninstall-kvm-domain-clone' ; echo '' ; exit 1; fi

test -w /var/lib/libvirt/qemu || make broken-kvm-qemu-directory
test ! -r /proc/sys/kernel/random/entropy_avail || test 3105 -gt 100 || make broken-kvm-entropy
/home/build/libreswan-master/testing/utils/kvmsh.py --shutdown swanfedorabase
virsh 0.03: domain already shutdown
qemu-img create \
 	-b /home/build/pool/swanfedorabase.qcow2 \
 	-f qcow2 /home/build/pool/clone.qcow2
Formatting '/home/build/pool/clone.qcow2', fmt=qcow2 size=8589934592 backing_file=/home/build/pool/swanfedorabase.qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
sudo virt-install --connect qemu:///system \
 	--name clone \
 	--vcpus=1 \
 	--memory 512 \
 	--nographics \
 	--disk cache=writeback,path=/home/build/pool/clone.qcow2 \
 	--network=network:swandefault,model=virtio \
 	--rng type=random,device=/dev/random \
 	--security type=static,model=dac,label='1001:107',relabel=yes \
 	--filesystem type=mount,accessmode=squash,source=$(abs_top_srcdir),target=swansource \
 	--filesystem type=mount,accessmode=squash,source=$(abs_top_srcdir)/testing,target=testing \
 	--import \
 	--noautoconsole \
 	--noreboot
/bin/bash: abs_top_srcdir: command not found
/bin/bash: abs_top_srcdir: command not found
WARNING  No operating system detected, VM performance may suffer. Specify an OS with --os-variant for optimal results.

Starting install...
ERROR    missing source information for device swansource
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
   virsh --connect qemu:///system start clone
otherwise, please restart your installation.
/home/build/libreswan-master/mk/kvm-targets.mk:478: recipe for target '/home/build/pool/clone.xml' failed
make: *** [/home/build/pool/clone.xml] Error 1


More information about the Swan-dev mailing list