Bug 1149715

Summary: The "Change CD" command in RHEV-M 3.5 results in "Internal Engine Error."
Product: Red Hat Enterprise Virtualization Manager Reporter: Bill Sanford <bsanford>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: bazulay, bsanford, ckannan, ecohen, gklein, iheim, lpeer, lsurette, ofrenkel, oourfali, pvine, rbalakri, Rhev-m-bugs, tpelka, vipatel, yeylon
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-21 12:20:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bill Sanford 2014-10-06 14:01:46 UTC
Description of problem:
In the Admin Portal of RHEV-M I tried to add a VM to the new install of RHEV-M 3.5. The "Change CD" command in RHEV-M 3.5 results in "Internal Engine Error." 

Version-Release number of selected component (if applicable):
RHEV-M 3.5 (vt4/el6)
RHEL - 6.5 Host
W2K8R2 - Guest

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
I got this when I did a tail of the engine.log file

2014-10-06 08:52:17,044 INFO  [org.ovirt.engine.core.bll.ChangeDiskCommand] (ajp-/127.0.0.1:8702-8) [597467d7] Running command: ChangeDiskCommand internal: false. Entities affected :  ID: dbde9c98-fb5f-4a52-84ee-c798e3b8a2f9 Type: VMAction group CHANGE_VM_CD with role type USER
2014-10-06 08:52:17,047 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.IsoPrefixVDSCommand] (ajp-/127.0.0.1:8702-8) [597467d7] START, IsoPrefixVDSCommand(HostName = kaitan, HostId = bb1b8cb9-1bf4-47f4-a403-b17c230fdfe6, storagePoolId=00000002-0002-0002-0002-000000000332), log id: 6df88be6
2014-10-06 08:52:17,047 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.IsoPrefixVDSCommand] (ajp-/127.0.0.1:8702-8) [597467d7] FINISH, IsoPrefixVDSCommand, return: /rhev/data-center/mnt/10.19.168.10:_rhev_isos/e1a50b62-693a-412c-bffd-2c9147e4c5b4/images/11111111-1111-1111-1111-111111111111, log id: 6df88be6
2014-10-06 08:52:17,048 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] (ajp-/127.0.0.1:8702-8) [597467d7] START, ChangeDiskVDSCommand(HostName = kaitan, HostId = bb1b8cb9-1bf4-47f4-a403-b17c230fdfe6, vmId=dbde9c98-fb5f-4a52-84ee-c798e3b8a2f9, diskPath=/rhev/data-center/mnt/10.19.168.10:_rhev_isos/e1a50b62-693a-412c-bffd-2c9147e4c5b4/images/11111111-1111-1111-1111-111111111111/RHEV-toolsSetup_3.5_4.iso), log id: 6963e709
2014-10-06 08:52:17,160 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] (ajp-/127.0.0.1:8702-8) [597467d7] Failed in ChangeDiskVDS method, for vds: kaitan; host: 10.19.168.18
2014-10-06 08:52:17,160 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] (ajp-/127.0.0.1:8702-8) [597467d7] Command ChangeDiskVDSCommand(HostName = kaitan, HostId = bb1b8cb9-1bf4-47f4-a403-b17c230fdfe6, vmId=dbde9c98-fb5f-4a52-84ee-c798e3b8a2f9, diskPath=/rhev/data-center/mnt/10.19.168.10:_rhev_isos/e1a50b62-693a-412c-bffd-2c9147e4c5b4/images/11111111-1111-1111-1111-111111111111/RHEV-toolsSetup_3.5_4.iso) execution failed. Exception: NullPointerException: 
2014-10-06 08:52:17,160 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] (ajp-/127.0.0.1:8702-8) [597467d7] FINISH, ChangeDiskVDSCommand, log id: 6963e709
2014-10-06 08:52:17,161 ERROR [org.ovirt.engine.core.bll.ChangeDiskCommand] (ajp-/127.0.0.1:8702-8) [597467d7] Command org.ovirt.engine.core.bll.ChangeDiskCommand throw Vdc Bll exception. With error message VdcBLLException: java.lang.NullPointerException (Failed with error ENGINE and code 5001)
2014-10-06 08:52:17,163 ERROR [org.ovirt.engine.core.bll.ChangeDiskCommand] (ajp-/127.0.0.1:8702-8) [597467d7] Transaction rolled-back for command: org.ovirt.engine.core.bll.ChangeDiskCommand.
2014-10-06 08:52:17,176 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-8) [597467d7] Correlation ID: 597467d7, Job ID: f87f2fee-76f7-4e35-9afc-e10114b4e0d8, Call Stack: null, Custom Event ID: -1, Message: Failed to change disk in VM Win2K8R2 (Host: kaitan, User: rhevadmin).

Comment 2 Oved Ourfali 2014-10-07 05:06:42 UTC
Omer - wasn't that fixed by Vitor?

Comment 3 Omer Frenkel 2014-10-07 15:08:43 UTC
yes, looks like duplicate of bug 1145728

can you please attach vdsm.log just to be sure?
(or try again on vt5 where it suppose to be fixed, if its the same)

Comment 4 Omer Frenkel 2014-10-21 12:20:00 UTC
assuming the same as bug 1145728
please re-open if needed

*** This bug has been marked as a duplicate of bug 1145728 ***