Bug 1134290

Summary: can not detach storage: wrong number of parameters StorageDomain.detach
Product: Red Hat Enterprise Virtualization Manager Reporter: Ohad Basan <obasan>
Component: vdsmAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: amureini, bazulay, ecohen, eedri, gklein, iheim, lpeer, oourfali, pstehlik, scohen, tnisan, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: vt3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-16 13:40:31 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 Ohad Basan 2014-08-27 08:55:40 UTC
Description of problem:

failure to detach storage

Thread-315::DEBUG::2014-08-21 12:23:13,983::__init__::467::jsonrpc.JsonRpcServer::(_serveRequest) Calling 'StorageDomain.detach' in bridge with {u'masterVersion': 1, u'storagepoolID': u'55ac3bdc-be8a-4844-a6d4-e
21bb4facf5d', u'masterSdUUID': u'00000000-0000-0000-0000-000000000000', u'storagedomainID': u'1f0bd457-449f-4a2d-ad15-d36da1e69318'}
Thread-315::ERROR::2014-08-21 12:23:13,985::__init__::491::jsonrpc.JsonRpcServer::(_serveRequest) Internal server error
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/yajsonrpc/__init__.py", line 486, in _serveRequest
    res = method(**params)
  File "/usr/share/vdsm/rpc/Bridge.py", line 264, in _dynamicMethod
    raise InvalidCall(fn, methodArgs, e)
InvalidCall: Attempt to call function: <bound method StorageDomain.detach of <API.StorageDomain object at 0x7f3d8c08fa50>> with arguments: (u'55ac3bdc-be8a-4844-a6d4-e21bb4facf5d', u'00000000-0000-0000-0000-0000
00000000', 1) error: detach() takes exactly 5 arguments (4 given)

function is being called with wrong number of arguments.

Comment 3 Liron Aravot 2014-08-28 08:26:12 UTC
Ohad, what version are you using?

Comment 4 Ohad Basan 2014-08-28 11:38:37 UTC
vdsm	4.16.2-4.gitb50b1e4.el6.x86_64

engine 3.5.0-0.7.master.el6_5.noarch

Comment 6 Eyal Edri 2014-09-10 20:21:42 UTC
fixed in vt3, moving to on_qa.
if you believe this bug isn't released in vt3, please report to rhev-integ

Comment 8 Petr Beňas 2014-10-22 12:55:25 UTC
in vt6