Re: --show-* options are broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/10/2013 04:50 PM, Leonardo Augusto Guimarães Garcia wrote:
> Hi Cole,
> 
> Just FYI, commit 76887c9a3280da32d44d4276135a78d21dd12fe8 broke the --show-*
> functionality.
> 
> Traceback (most recent call last):
>   File "/home/laggarcia/src/git/virt-manager/virtManager/engine.py", line 624,
> in _show_vm_helper
>     details = self._get_details_dialog(uri, uuid)
>   File "/home/laggarcia/src/git/virt-manager/virtManager/engine.py", line 602,
> in _get_details_dialog
>     obj = vmmDetails(con.get_vm(uuid))
>   File "/home/laggarcia/src/git/virt-manager/virtManager/connection.py", line
> 625, in get_vm
>     return self.vms[uuid]
> KeyError: '927c2b5f-ae3a-4f5e-aaeb-4d7fb3846dce'
> 
> Basically connections vms are not populated yet when trying to open the dialog.
> 
> I am investigating the issue.
> 
> Best regards,
> 

Ah, sorry about that. Likely that we don't synchronously tick() any more when
connecting to libvirt. We can probably hook to the connection on "vm-added"
and then perform based on that, I'll poke at it.

- Cole

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





[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux