Description of problem: Here is the command: virt-install --name=tmp-97a42dab --ram=2048 --os-type=linux --os-variant=fedora18 --initrd-inject=/tmp/tmp.N9rWbXOFBW '--extra-args=ks=file:/tmp.N9rWbXOFBW console=tty0 console=ttyS0,115200 proxy=http://cache.home.annexia.org:3128/' --disk /home/rjones/d/libguestfs/builder/website/fedora-19,size=6 --serial pty --location=http://mirror.bytemark.co.uk/fedora/linux/releases/19/Fedora/x86_64/os/ --nographics --noreboot Sometimes, perhaps 50% of the time, it fails to create the disk image (which doesn't exist already): ERROR Error: --disk /home/rjones/d/libguestfs/builder/website/fedora-19,size=6: cannot stat file '/home/rjones/d/libguestfs/builder/website/fedora-19': No such file or directory And yet the rest of the time it creates the disk OK and continues running. Version-Release number of selected component (if applicable): virt-install-1.0.1-3.fc20.noarch How reproducible: I have seen the same thing happen on two different computers both with the same version of virt-install. However it is certainly not 100% reproducible. It may happen about half the time or less. Steps to Reproduce: 1. See above.
there is a patch upstream for libvirt that should fix this problem: commit d6e92bfa38d2d2dffa2ec38373e2922268d32b51 Author: Giuseppe Scrivano <gscrivan> Date: Fri Jun 13 16:48:15 2014 +0200 storage: report VIR_ERR_NO_STORAGE_VOL when the file doesn't exist Report VIR_ERR_NO_STORAGE_VOL instead of a system error when lstat fails because the file doesn't exist. Fixes this problem in virt-install: https://bugzilla.redhat.com/show_bug.cgi?id=1108922 Signed-off-by: Giuseppe Scrivano <gscrivan>