Bug 810628
Summary: | API is instantiatable only once. | ||
---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Jaroslav Henner <jhenner> |
Component: | ovirt-engine-sdk | Assignee: | Michael Pasternak <mpastern> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | acathrow, bazulay, clasohm, dyasny, iheim, mgoldboi, ykaul |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-04-07 11:17:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jaroslav Henner
2012-04-07 11:08:04 UTC
this is planned feature for sdk (i'm on it), first item in TODO (Comment 1), as about your use-case, use api.disconnect() before creating new instance of the api proxy. Even if you call api.disconnect(), you still cannot instantiate another API object. api.disconnect() only removes "proxy" from the contextmanager, but not "entry_point" and "persistent_auth", which are also marked as immutable. Ignore my last comment, I was using an older version (rhevm-sdk-3.1.0.5-1.el6ev). Newer versions of API.disconnect() clear the whole contextmanager cache. |