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

Bug 1113670

Summary: Unable to extend image over jsonrpc
Product: [Retired] oVirt Reporter: Petr Beňas <pbenas>
Component: vdsmAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Beňas <pbenas>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: bazulay, gklein, iheim, mgoldboi, obasan, pstehlik, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-3.5.0-beta1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:38:08 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:
Attachments:
Description Flags
engine log
none
vdsm log none

Description Petr Beňas 2014-06-26 15:11:34 UTC
Description of problem:
Error while executing action Edit VM Disk properties: Unexpected exception

Version-Release number of selected component (if applicable):
 oVirt Engine Version: 3.5.0-0.0.master.20140612090854.el6 

How reproducible:
100%

Steps to Reproduce:
1. attempt to extend disk
2.
3.

Actual results:
Error while executing action Edit VM Disk properties: Unexpected exception

Expected results:


Additional info:
Might be filed against wrong componenet, I don't see any traceback in vdsm.log, but following in engine.log.

2014-06-26 17:00:00,775 INFO  [org.ovirt.engine.core.bll.UpdateVmDiskCommand] (ajp--127.0.0.1-8702-3) [6ec6e4eb] Running command: UpdateVmDiskCommand internal: false. Entities affected :  ID: 8906393a-3b4c-4e26-bc86-95d4e202e4ab Type: Disk
2014-06-26 17:00:00,784 INFO  [org.ovirt.engine.core.bll.ExtendImageSizeCommand] (ajp--127.0.0.1-8702-3) [4c10058] Running command: ExtendImageSizeCommand internal: true. Entities affected :  ID: 8906393a-3b4c-4e26-bc86-95d4e202e4ab Type: Disk
2014-06-26 17:00:00,786 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.ExtendImageSizeVDSCommand] (ajp--127.0.0.1-8702-3) [4c10058] START, ExtendImageSizeVDSCommand( storagePoolId = 00161ead-084f-42e0-bbdf-6be74f182a50, ignoreFailoverLimit = false), log id: 22fa5b1c
2014-06-26 17:00:00,789 INFO  [org.ovirt.vdsm.jsonrpc.client.reactors.stomp.SSLStompClient] (ajp--127.0.0.1-8702-3) Message sent: SEND
destination:/queue/_local/vdsm/requests

{"jsonrpc":"2.0","method":"Volume.extendSize","params":{"spUUID":"00161ead-084f-42e0-bbdf-6be74f182a50","sdUUID":"79aa2072-3ab5-4887-865c-dbb4b6467849","imgUUID":"8906393a-3b4c-4e26-bc86-95d4e202e4ab","volUUID":"413fd2dd-1fbc-49b7-b7af-684b77dcf96a","newSize":"10737418240"},"id":"4ec75f6a-a177-4fce-a0ec-3dff75f9bb2a"}

2014-06-26 17:00:00,797 INFO  [org.ovirt.vdsm.jsonrpc.client.internal.ResponseWorker] (ResponseWorker) Message received :{"jsonrpc": "2.0", "id": "4ec75f6a-a177-4fce-a0ec-3dff75f9bb2a", "error": {"message": "__init__() takes exactly 5 arguments (1 given)", "code": -32603}}
2014-06-26 17:00:00,801 WARN  [org.ovirt.engine.core.vdsbroker.irsbroker.ExtendImageSizeVDSCommand] (ajp--127.0.0.1-8702-3) [4c10058] Unexpected return value: StatusForXmlRpc [mCode=-32603, mMessage=__init__() takes exactly 5 arguments (1 given)]
2014-06-26 17:00:00,803 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.ExtendImageSizeVDSCommand] (ajp--127.0.0.1-8702-3) [4c10058] Failed in ExtendImageSizeVDS method

Comment 1 Petr Beňas 2014-06-26 15:12:50 UTC
Created attachment 912458 [details]
engine log

Comment 2 Petr Beňas 2014-06-26 15:13:23 UTC
Created attachment 912460 [details]
vdsm log

Comment 3 Piotr Kliczewski 2014-07-01 13:56:27 UTC
Please give it a bit of time because vdsm side is not merged yet. Not sure why automation changed the status of this bug.

Comment 4 Petr Beňas 2014-09-23 11:56:45 UTC
in 3.5.0-0.11.beta.el6ev

Comment 5 Sandro Bonazzola 2014-10-17 12:38:08 UTC
oVirt 3.5 has been released and should include the fix for this issue.