Bug 1148320 - [engine-backend] NullPointerException while live migrating a disk
Summary: [engine-backend] NullPointerException while live migrating a disk
Keywords:
Status: CLOSED DUPLICATE of bug 1147971
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.5.0
Assignee: Daniel Erez
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-01 07:58 UTC by Elad
Modified: 2016-02-10 19:38 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-02 08:20:41 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs from engine and host (1.35 MB, application/x-gzip)
2014-10-01 07:58 UTC, Elad
no flags Details

Description Elad 2014-10-01 07:58:16 UTC
Created attachment 942937 [details]
logs from engine and host

Description of problem:
I live migrated a disk and got:

2014-10-01 10:49:40,704 ERROR [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (org.ovirt.thread.pool-7-thread-20) [77b1194d] [within thread]: endAction for action type LiveMigrateVmDisks threw an exception.: ja
va.lang.NullPointerException
        at org.ovirt.engine.core.bll.CommandBase.buildCommandEntity(CommandBase.java:2191) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.setCommandExecuted(CommandBase.java:2236) [bll.jar:]


Version-Release number of selected component (if applicable):
rhev 3.5 vt4
rhevm-3.5.0-0.13.beta.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
Have more than one domains in the DC
1. Create a VM with a disk and start it
2. Live migrate the VM disk


Actual results:
Live migration succeeds but we get the mentioned NPE.

Expected results:
Need to understand why we get the NPE and prevent it

Additional info:
logs from engine and host

Comment 1 Elad 2014-10-01 08:48:28 UTC
Actual results:
The auto-generated snapshot gets stuck in LOCKED state and there is no option to perform operation on this VM:
Tried to add a new disk:

2014-10-01 11:48:05,093 WARN  [org.ovirt.engine.core.bll.AddDiskCommand] (ajp-/127.0.0.1:8702-8) [4f652b04] CanDoAction of action AddDisk failed. Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT

Comment 2 Daniel Erez 2014-10-02 08:20:41 UTC

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


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