Bug 1134290 - can not detach storage: wrong number of parameters StorageDomain.detach
Summary: can not detach storage: wrong number of parameters StorageDomain.detach
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 3.5.0
Assignee: Piotr Kliczewski
QA Contact: Pavel Stehlik
URL:
Whiteboard: infra
Depends On:
Blocks: rhev3.5beta 1156165
TreeView+ depends on / blocked
 
Reported: 2014-08-27 08:55 UTC by Ohad Basan
Modified: 2016-02-10 19:05 UTC (History)
12 users (show)

Fixed In Version: vt3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-16 13:40:31 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 32212 0 master MERGED Force flag not optional for detach storage domain Never
oVirt gerrit 32219 0 ovirt-3.5 MERGED Force flag not optional for detach storage domain Never

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


Note You need to log in before you can comment on or make changes to this bug.