Vagrant in Fedora

Richard W.M. Jones rjones at redhat.com
Fri Nov 29 12:54:53 UTC 2013


On Thu, Nov 28, 2013 at 09:47:34PM -0700, Nathanael Noblet wrote:
> [root at mba Vagrant]# vagrant up --provider=kvm
> Bringing machine 'default' up with 'kvm' provider...
> [default] Importing base box 'f19'...
> qemu-img:
> /root/.vagrant.d/tmp/storage-pool/box-disk1-1385699731.img: error
> while converting raw: No such file or directory

QEMU errors are notoriously obscure.  Have a look at the image file
and check (a) it really exists (b) any backing file(s) it uses really
exist too.  It's also probably a good idea to determine precisely what
qemu-img command is being run here, and run 'qemu-img info' on the
file to find out what format it is in.

> /usr/share/gems/gems/vagrant-kvm-0.1.4/lib/vagrant-kvm/driver/driver.rb:145:in
> `lookup_volume_by_name': Call to virStorageVolLookupByName failed:
> Storage volume not found: no storage vol with matching name
> 'box-disk1-1385699731.img' (Libvirt::RetrieveError)

Again, it looks like a missing file or backing file, but hard to tell
without examining the file.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW


More information about the devel mailing list