Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1101461

Summary: [python-sdk] Commit snapshot action does not support passing correlation_id parameter
Product: Red Hat Enterprise Virtualization Manager Reporter: Gadi Ickowicz <gickowic>
Component: ovirt-engine-sdkAssignee: Daniel Erez <derez>
Status: CLOSED DUPLICATE QA Contact: Shai Revivo <srevivo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acathrow, amureini, gklein, iheim, juan.hernandez, nlevinki, oramraz, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---   
Target Release: 3.4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-03 11:34:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gadi Ickowicz 2014-05-27 08:36:53 UTC
Description of problem:
vm.commit_snapshot() method does not support passing correlation_id parameter like other actions in sdk:

>>> vm.commit_snapshot(correlation_id='x')
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: commit_snapshot() got an unexpected keyword argument 'correlation_id'
>>> vm.commit_snapshot()
<ovirtsdk.xml.params.Action object at 0x3b04ed0>



Version-Release number of selected component (if applicable):
rhevm-sdk-python-3.4.1.0-2.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Try to pass correlation_id parameter to commit_snapshot function in sdk


Actual results:
fails with TypeError: commit_snapshot() got an unexpected keyword argument 'correlation_id'

Expected results:
python-sdk should allow user to pass correlation_id parameter for all actions

Additional info:

Comment 1 Juan Hernández 2014-06-03 11:34:41 UTC

*** This bug has been marked as a duplicate of bug 1101405 ***