[Pkg-libvirt-maintainers] Bug#655460: misleading error message on missing br0 interface

Harald Dunkel harald.dunkel at aixigo.de
Wed Jan 11 11:39:14 UTC 2012


Package: virtinst
Version: 0.600.0-1

I missed to define a local "br0" network interface on my new KVM
server. When I tried to create a new machine using an existing
host.xml file listing "br0" as a network interface I got an
error message about an inaccessible disk image instead.

# export VIRSH_DEFAULT_CONNECT_URI=qemu:///system
# masterhost=dpcl082
# master=openSUSE-11.3-i386-template
# name=sepos11i004
# virsh vol-create-as storage ${name}.vda.lv 32G
# ssh ${masterhost} dd if=/dev/storage/${master}.vda.lv bs=64k | dd bs=64k of=/dev/storage/${name}.vda.lv
# virt-clone --connect ${VIRSH_DEFAULT_CONNECT_URI} --original-xml=/tmp/${master}.xml --name=${name} --file=/dev/storage/${name}.vda.lv --preserve-data
ERROR    Could not determine original disk information: Size must be specified for non existent volume path '/dev/storage/openSUSE-11.3-i386-template.vda.lv'


After setting up the br0 interface the error message about
the disk was gone, so there is something weird.

Debug output:

[Wed, 11 Jan 2012 12:15:42 virt-clone 2001] ERROR (cli:440) Could not determine original disk information: Size must be specified for non existent volume path '/dev/storage/openSUSE-11.3-i386-template.vda.lv'
[Wed, 11 Jan 2012 12:15:42 virt-clone 2001] DEBUG (_util:233) Traceback (most recent call last):
  File "/usr/bin/virt-clone", line 253, in <module>
    main()
  File "/usr/bin/virt-clone", line 232, in main
    design.setup_original()
  File "/usr/lib/pymodules/python2.6/virtinst/CloneManager.py", line 409, in setup_original
    self._original_virtual_disks = self._get_original_devices_info(self._original_xml)
  File "/usr/lib/pymodules/python2.6/virtinst/CloneManager.py", line 617, in _get_original_devices_info
    "information: %s" % str(e)))
ValueError: Could not determine original disk information: Size must be specified for non existent volume path '/dev/storage/openSUSE-11.3-i386-template.vda.lv'


Regards

Harri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openSUSE-11.3-i386-template.xml
Type: text/xml
Size: 2014 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20120111/8b2c6c54/attachment.xml>


More information about the Pkg-libvirt-maintainers mailing list