Bug 1101405
Summary: | [python-sdk] Preview snapshot action does not support passing correlation_id parameter | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Gadi Ickowicz <gickowic> |
Component: | ovirt-engine-sdk | Assignee: | Juan Hernández <juan.hernandez> |
Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.4.0 | CC: | amureini, gklein, iheim, juan.hernandez, nlevinki, oourfali, oramraz, pstehlik, rbalakri, Rhev-m-bugs, scohen, yeylon |
Target Milestone: | --- | ||
Target Release: | 3.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | rhevm-sdk-python-3.4.1.1-1.el6ev | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-11 21:13:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1142923, 1156165 |
Description
Gadi Ickowicz
2014-05-27 06:47:15 UTC
Gadi, Does this work correctly with plain REST calls? The reason for this is that the RSDL metadata for the preview_snapshot, commit_snapshot, undo_snapshot and clone operations of VMs contain an extra /api segment in the specification of the URL. This confuses the RSDL generator, and as a result the generated RSDL doesn't contain the correct data. The proposed patch removes the extra /api URL segment. Once that is fixed in the engine the SDKs will need to be regenerated. *** Bug 1101458 has been marked as a duplicate of this bug. *** *** Bug 1101461 has been marked as a duplicate of this bug. *** The fix for bug 1101531 required a rebase and regeneration of the Python SDK that fixes this bug as well. The build has been released to QE. Verified on av10 - able to pass correlation_id parameter to vm.preview_snapshot (commit_ and undo_ snapshot also tested and can receive correlation_id). Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0183.html |