'AttributeError: ParaVirtGuest' object has no attribute 'get_virtio_blk'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
Invalid
|
Undecided
|
Paul McEnery |
Bug Description
Binary package hint: virt-manager
virt-manager doesn't appear to be able to create a Xen domU. When you run the wizard to create a new VM on a Xen server, you are unable to select a disk that exists or create a new image. In fact, no error appears, the interface simply doesn't respond when you click "Next". Looking at ~/.virt-
=============== 8< ===============
[Mon, 02 Jun 2008 15:03:59 virt-install 5460] ERROR (virt-install:523) 'ParaVirtGuest' object has no attribute 'get_virtio_blk'
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
guest, hvm, conn)
File "/usr/bin/
disk, size)
File "/usr/bin/
map(lambda d, s: get_disk(d, s, sparse, guest, hvm, conn),
File "/usr/bin/
d.virtio = guest.get_
AttributeError: 'ParaVirtGuest' object has no attribute 'get_virtio_blk'
=============== >8 ===============
This could be an issue with libvirt as I get the same error with virt-install:
The libvirt-bin package has the following description:
=============== 8< ===============
Description: the programs for the libvirt library
Libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). The library aims at providing
a long term stable C API for different virtualization mechanisms. It currently
supports QEMU and KVM.
=============== >8 ===============
Umm. What happened to Xen? According to libvirt.org, it should support Xen, QEMU and KVM.
I'm having the exact same problem. Did a clean hardy installed. Did sudo "apt-get install ubuntu-xen-server libvirt-bin python-virtinst"
And when I do "virt-install --connect xen:///" and answer the questions it fails with the same error:
root@xen:~# virt-install --connect xen:/// sdablaat/ test.img sdablaat/ test.img) to be (in gigabytes)? 4 virt-install" , line 519, in <module> virt-install" , line 438, in main virt-install" , line 139, in get_disks virt-install" , line 108, in get_disk virtio_ blk()
What is the name of your virtual machine?
ERROR: System name must be a string greater than 0 and no more than 50 characters
What is the name of your virtual machine? as
How much RAM should be allocated (in megabytes)? 256
What would you like to use as the disk (file path)? /media/
How large would you like the disk (/media/
Sun, 15 Jun 2008 01:50:21 ERROR 'ParaVirtGuest' object has no attribute 'get_virtio_blk'
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
guest, hvm, conn)
File "/usr/bin/
get_disk(disk, size, sparse, guest, hvm, conn)
File "/usr/bin/
d.virtio = guest.get_
AttributeError: 'ParaVirtGuest' object has no attribute 'get_virtio_blk'