virt-install fails because missing 'guest' node in the xml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virtinst (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-virtinst
1)
Ubuntu version : 9.04
2)
Package release : 0.400.1-2ubuntu2
3)
when trying to install a new virtual machine using virt-install using all the good options, I hope it works properly
4)
when trying to install a new virtual machine I have the following error :
virt-install -n foo -r 512 -f foo.vm -s 400 -c iso/jeos.iso --accelerate --connect=
ERROR Unsupported virtualization type 'hvm'
It seems there is no guest node (never append any Guest in Capabilities.
After adding some print commands in the source code I see that conn.getCapabil
<capabilities>
<host>
<cpu>
<
</cpu>
</host>
</capabilities>
So the Capabilities object only have the host property and no guests...
FINALLY :
- is the error message is correct (if guest is a None object it's not because of the virtualization type) ?
- is it possible to raise an error if no guest is found ?
- anything else ????
I had been able to reproduce this error on multiple servers for both ubuntu and fedora.
Thanks for reporting this issue. Are you still able to reproduce this with a current version of Ubuntu, such as 10.10 (maverick)?