Bug 1294823

Summary: Scan alignment does not return result on JSONRPC
Product: [oVirt] vdsm Reporter: Tal Nisan <tnisan>
Component: CoreAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.17.0CC: amureini, bugs, ylavi
Target Milestone: ovirt-3.6.2Flags: rule-engine: ovirt-3.6.z+
ylavi: planning_ack+
tnisan: devel_ack+
acanan: testing_ack+
Target Release: 4.17.17   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 11:16:12 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 Tal Nisan 2015-12-30 14:01:25 UTC
Description of problem:
After performing an alignment scan the command fails upon return with a ClassCastException

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
In a non active VM with disks on block domains right click on one of the disks and select "Scan Alignment"

Actual results:
Alignment succeeds in VDSM but the command fails in the Engine with "Alignment scan of disk '%diskname%' failed."

Expected results:
If the alignment succeeded in VDSM we should see in the Engine that the command succeeded 

Additional info:

Comment 1 Aharon Canan 2016-01-17 14:22:32 UTC
Verified
========
rhevm-3.6.2.5-0.1.el6.noarch
vdsm-4.17.17-0.el7ev.noarch


Steps to Reproduce:
===================
In a non active VM with disks on block domains right click on one of the disks and select "Scan Alignment"


From engine.log
===============
2016-01-17 14:09:54,261 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-2) [32486998] Correlation ID: 32486998, Job ID: 3b1a2dc7-1652-4811-bea8-5c80d6a7223e, Call Stack: null, Custom Event ID: -1, Message: Alignment scan of disk 'VM1_Disk1' is complete.