Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Raise exception when ContinueRetrievePropertiesEx used before RetrievePropertiesEx #10

Open
hartsock opened this issue Jul 9, 2014 · 0 comments

Comments

@hartsock
Copy link
Contributor

hartsock commented Jul 9, 2014

In a given session, you should be able to track when a call to RetrievePropertiesEx is made and leave a state flag on the session instance. When the call to ContinueRetrievePropertiesEx is made you should be able to observe the flag and throw a Session related exception.

This problem occurs because we have automatic re-connects embedded inside pyVmomi's core libraries and those reconnects can occasionally cause problems with a long running retrieve.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant