Hey All,
I'm executing the following SOAP request to determine the amount of tasks running on VirtualCenter:
<CreateCollectorForTasks xmlns="urn:vim2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<_this type="TaskManager">TaskManager</_this>
<filter>
<state>running</state>
</filter>
</CreateCollectorForTasks>
This works well, but under some circumstances (which appear load related) I occasionally get a response as follows:
"The operation is not allowed in the current state"
I've previously only seen this error when performing invalid operations on a VM, like trying to stop an already stopped server.
Does anyone have any ideas?
Thanls,
-jd
I'm executing the following SOAP request to determine the amount of tasks running on VirtualCenter:
<CreateCollectorForTasks xmlns="urn:vim2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<_this type="TaskManager">TaskManager</_this>
<filter>
<state>running</state>
</filter>
</CreateCollectorForTasks>
This works well, but under some circumstances (which appear load related) I occasionally get a response as follows:
"The operation is not allowed in the current state"
I've previously only seen this error when performing invalid operations on a VM, like trying to stop an already stopped server.
Does anyone have any ideas?
Thanls,
-jd