[ovirt-users] Checking VmPool status with Python-SDK?

nicolas at devels.es nicolas at devels.es
Tue Nov 8 08:46:28 UTC 2016


Hi,

We're running oVirt 4.0.4.4 with engine python SDK version 3.6.7, and 
currently we're developing an application that first creates a VmPool 
and afterwards it updates it. However, sometimes happens that both 
operations occur at the same time, which results in an oVirt error 
claiming that a VmPool cannot be updated if there are still pending 
operations to do.

We want to control this situation, so we've checked if the VmPool class 
has a .get_status() method but it seems it doesn't, so I'm asking for 
alternative ways of handling this. Would it be enough to say a VmPool is 
not "busy" if all its VMs are not in a blocked state (for example, with 
a blocked disk due to clonation)?

Thanks.



More information about the Users mailing list