[Pkg-libvirt-maintainers] Bug#572816: /usr/bin/virt-install: ERROR Guest name 'c' is already in use

cameron at campworkz.com cameron at campworkz.com
Sat Mar 6 20:29:36 UTC 2010


Package: virtinst
Version: 0.500.2-1
Severity: normal
File: /usr/bin/virt-install


killed virt-install process, cannot install any new vm's, get error:

ERROR 	Guest name 'c' is already in use
---------
virsh # undefine c
error: failed to get domain 'c'
error: Unknown failure
virsh # list --all
 Id Name                 State
 ----------------------------------

 virsh # quit
-------
#: virt-install --connect qemu:///system -n sq1 -r 1024 --vcpus=8 \
--file=/home/vm/sq1.qcow5 size=50 \
--location=http://ftp.us.debian.org/debian/dists/squeeze/main/installer-amd64/
\
-vnc :2 --noautoconsole --os-type=linux --os-variant=debiansqueeze \
--accelerate --network=bridge:br0 --hvm

#: ERROR    Guest name 'c' is already in use.

#: virt-install --prompt
What is the name of your virtual machine? sq4
How much RAM should be allocated (in megabytes)? 512
What would you like to use as the disk (file path)?
/home/vm/vm12.qcow4
ERROR    this function is not supported by the hypervisor:
virConnectNumOfDefinedStoragePools
Traceback (most recent call last):
File "/usr/bin/virt-install", line 972, in <module>
main()
File "/usr/bin/virt-install", line 762, in main
options.sparse, options.nodisks, guest, conn)
File "/usr/bin/virt-install", line 314, in get_disks
get_disk(disk, size, sparse, guest, conn,
is_file_path)
File "/usr/bin/virt-install", line 280, in
get_disk
d = cli.disk_prompt(None, kwargs)
File
"/usr/lib/pymodules/python2.5/virtinst/cli.py",
line 427, in disk_prompt
dev = VirtualDisk(**arg_dict)
File
"/usr/lib/pymodules/python2.5/virtinst/VirtualDisk.py",
line 372, in __init__
self.__validate_params()
File
"/usr/lib/pymodules/python2.5/virtinst/VirtualDisk.py",
line 863, in __validate_params
self.__check_if_path_managed()
File
"/usr/lib/pymodules/python2.5/virtinst/VirtualDisk.py",
line 733, in
__check_if_path_managed
os.path.dirname(self.path))
File
"/usr/lib/pymodules/python2.5/virtinst/util.py",
line 553, in
lookup_pool_by_path
inactive_list =
conn.listDefinedStoragePools()
File
"/usr/lib/python2.5/site-packages/libvirt.py",
line 1583, in
listDefinedStoragePools
if ret is
None:
raise
libvirtError
('virConnectListDefinedStoragePools()
failed',
conn=self)
libvirtError:
this
function
is not
supported
by the
hypervisor:
virConnectNumOfDefinedStoragePools

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virtinst depends on:
ii  python                   2.5.4-9         An interactive high-level object-o
ii  python-libvirt           0.7.6-2         libvirt Python bindings
ii  python-libxml2           2.7.6.dfsg-2+b1 Python bindings for the GNOME XML 
ii  python-support           1.0.6           automated rebuilding support for P
ii  python-urlgrabber        3.1.0-5         A high-level cross-protocol url-gr

Versions of packages virtinst recommends:
ii  qemu                          0.11.1-2   fast processor emulator
ii  virt-viewer                   0.0.3-2    Displaying the graphical console o

virtinst suggests no packages.

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list