[virt-tools-list] --show-* options are broken
Cole Robinson
crobinso at redhat.com
Wed Jul 10 20:58:54 UTC 2013
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
More information about the virt-tools-list
mailing list