Bug 787752

Summary: [ovirt] [vdsm] API: mergeSnapshot fails - not supported
Product: [Retired] oVirt Reporter: Haim <hateya>
Component: vdsmAssignee: Adam Litke <alitke>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, acathrow, alitke, bazulay, danken, iheim, mgoldboi, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v4.9.4-28-g6f46de8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Simple typo fix none

Description Haim 2012-02-06 16:28:22 UTC
Description of problem:

using vdsm v4.9.4, trying to run mergeSnapshots command (both from client and from backend), ending with XML rpc error:

5 e23fa236-a564-4867-b7f5-5b24e4dcffa6
Traceback (most recent call last):
  File "/usr/share/vdsm/vdsClient.py", line 2062, in <module>
    code, message = commands[command][0](commandArgs)
  File "/usr/share/vdsm/vdsClient.py", line 1279, in mergeSnapshots
    image = self.s.mergeSnapshots(sdUUID, spUUID, vmUUID, imgUUID, ancestor, successor, postZero)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1575, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1297, in single_request
    return self.parse_response(response)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1473, in parse_response
    return u.close()
  File "/usr/lib64/python2.7/xmlrpclib.py", line 793, in close
    raise Fault(**self._stack[0])
Fault: <Fault 1: '<type \'exceptions.Exception\'>:method "mergeSnapshots" is not supported'>

vdsClient -s 0 mergeSnapshots 3cb398c7-397f-4e80-8bfd-d21b10600d35 d962cf18-3592-4726-8d0e-d73e3622b21e 30b47a9e-70c7-4ea0-9c1f-4de71ea78835 9ef0ccf9-a114-4357-b03c-00ab2d2fd8ec aa274382-b4a2-4ce0-a830-5e65c98a1495 e23fa236-a564-4867-b7f5-5b24e4dcffa6

Comment 1 Adam Litke 2012-02-06 18:47:32 UTC
Created attachment 559728 [details]
Simple typo fix

Looks like a simple typo.  This should fix it.

Comment 2 Adam Litke 2012-02-06 18:48:53 UTC
See proposed change also in gerrit: http://gerrit.ovirt.org/#change,1687

Comment 3 Itamar Heim 2012-08-09 08:03:14 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/

Comment 4 Itamar Heim 2012-08-09 08:04:01 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/