Comment 1 for bug 237113

Revision history for this message
Leon (leonbo) wrote :

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:///
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/sdablaat/test.img
 How large would you like the disk (/media/sdablaat/test.img) to be (in gigabytes)? 4
Sun, 15 Jun 2008 01:50:21 ERROR 'ParaVirtGuest' object has no attribute 'get_virtio_blk'
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 519, in <module>
    main()
  File "/usr/bin/virt-install", line 438, in main
    guest, hvm, conn)
  File "/usr/bin/virt-install", line 139, in get_disks
    get_disk(disk, size, sparse, guest, hvm, conn)
  File "/usr/bin/virt-install", line 108, in get_disk
    d.virtio = guest.get_virtio_blk()
AttributeError: 'ParaVirtGuest' object has no attribute 'get_virtio_blk'