[virt-tools-list] [virt-manager PATCH] virtManager: keep polling the connection while waiting for a new VM
Giuseppe Scrivano
gscrivan at redhat.com
Thu Feb 13 15:38:54 UTC 2014
Cole Robinson <crobinso at redhat.com> writes:
>> diff --git a/virtManager/create.py b/virtManager/create.py
>> index d8e68c3..f8c72e4 100644
>> --- a/virtManager/create.py
>> +++ b/virtManager/create.py
>> @@ -1789,6 +1789,7 @@ class vmmCreate(vmmGObjectUI):
>> while (guest.uuid not in self.conn.vms) and (count < 100):
>> count += 1
>> time.sleep(.1)
>> + self.conn.schedule_priority_tick(pollvm=True)
>>
>> vm = self.conn.get_vm(guest.uuid)
>> vm.tick()
>>
>
> That will queue quite a lot of API calls, and particularly with the new domain
> events turned on that shouldn't even make a difference that I can see. Is this
> regularly reproducible? If so, how?
I hit it while creating a new VM for some tests and then it was quite
easy to reproduce while debugging: I had to create manually a bunch of
VMs trough the new VM wizard and it happens very often, I have no exact
numbers but once every 3-4 attempts I would say.
Regards,
Giuseppe
More information about the virt-tools-list
mailing list