[virt-tools-list] trying virt-Manager 0.8.2 but getting error messgaes

Sharadha Prabhakar (3P) sharadha.prabhakar at citrix.com
Thu Jan 14 13:13:32 UTC 2010


I installed virtInst 0.500.1 but the errors remain.
I'm actually trying to create new VM through virt-Manager.
Can I do that with version 0.5.4 itself? Because with 0.5.4
If I click the new button it say's 'Creating new guest VMs not
yet support'. 
Then I tried running from the command line the following
>>LIBVIRT_DEBUG=1 virt-manager --connect="XenAPI://..." --show-domain-creator --no-fork
I thought --show-domain-creator would enable the graphical console for
Domain creation. Hope I'm right about it.
Now I get the following error

Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 310, in ?
    main()
  File "/usr/share/virt-manager/virt-manager.py", line 297, in main
    show_engine(engine, options.show, options.uri, options.uuid)
  File "/usr/share/virt-manager/virt-manager.py", line 171, in show_engine
    engine.show_create(uri)
  File "/usr/share/virt-manager/virtManager/engine.py", line 314, in show_create
    create = vmmCreate(self.get_config(), con)
  File "/usr/share/virt-manager/virtManager/create.py", line 111, in __init__
    self.caps = self.connection.get_capabilities()
  File "/usr/share/virt-manager/virtManager/connection.py", line 303, in get_capabilities
    return virtinst.CapabilitiesParser.parse(self.vmm.getCapabilities())
AttributeError: 'NoneType' object has no attribute 'getCapabilities'

Right now my libvirt call to getCapabilities just returns NULL. Could that be the problem?
Is virt Manager expecting libvirt to return a meaningful XML string?
-SP


-----Original Message-----
From: virt-tools-list-bounces at redhat.com [mailto:virt-tools-list-bounces at redhat.com] On Behalf Of Dennis J.
Sent: 14 January 2010 12:58
To: virt-tools-list at redhat.com
Subject: Re: [virt-tools-list] trying virt-Manager 0.8.2 but getting error messgaes

On 01/14/2010 01:02 PM, Laurent Léonard wrote:
> Le jeudi 14 janvier 2010 à 12:38, Sharadha Prabhakar (3P) a écrit :
>> Hi,
>> I'm trying to use virt-Manager 0.8.2 on my linux system. The installation
>> Was successful but when I run the virt-Manager on the command line I get
>> the following error Messages.
>> Traceback (most recent call last):
>>    File "/usr/local/share/virt-manager/virt-manager.py", line 411, in ?
>>      _show_startup_error(str(run_e), "".join(traceback.format_exc()))
>>    File "/usr/local/share/virt-manager/virt-manager.py", line 56, in
>> _show_startup_error err = vmmErrorDialog(None, 0, gtk.MESSAGE_ERROR,
>> gtk.BUTTONS_CLOSE, "", "") File
>> "/usr/local/share/virt-manager/virtManager/error.py", line 40, in __init__
>> self.set_property("text", self.message_format)
>> TypeError: the object does not support the given parameter
>> sharadhap at eli:~$ virt-manager
>> Traceback (most recent call last):
>>    File "/usr/local/share/virt-manager/virt-manager.py", line 411, in ?
>>      _show_startup_error(str(run_e), "".join(traceback.format_exc()))
>>    File "/usr/local/share/virt-manager/virt-manager.py", line 56, in
>> _show_startup_error err = vmmErrorDialog(None, 0, gtk.MESSAGE_ERROR,
>> gtk.BUTTONS_CLOSE, "", "") File
>> "/usr/local/share/virt-manager/virtManager/error.py", line 40, in __init__
>> self.set_property("text", self.message_format)
>> TypeError: the object does not support the given parameter
>>
>> I'm new to virt-Manager and python. Can anyone tell me what I'm probably
>> missing. P.S. I've tried virt-Manager version 0.5.4 which works fine on my
>> machine. Thanks,
>> SP
>
> You need to use at least virtinst 0.500.1 with Virt-manager 0.8.2.

Shouldn't virt-manager just display an error instead of going nuclear?

Regards,
   Dennis

_______________________________________________
virt-tools-list mailing list
virt-tools-list at redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list




More information about the virt-tools-list mailing list