Bug 895058 - [engine-core] Null Pointer Exception during LiveMigrateVmDisks command, @ LiveMigrateVmDisksCommand.isValidSpaceRequirements(LiveMigrateVmDisksCommand.java:294)
Summary: [engine-core] Null Pointer Exception during LiveMigrateVmDisks command, @ Liv...
Keywords:
Status: CLOSED DUPLICATE of bug 888316
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.2.0
Assignee: Liron Aravot
QA Contact: vvyazmin@redhat.com
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-14 12:27 UTC by vvyazmin@redhat.com
Modified: 2016-02-10 20:05 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-20 13:24:05 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
## Logs vdsm, rhevm, screen-shots (1.46 MB, application/x-gzip)
2013-01-14 12:27 UTC, vvyazmin@redhat.com
no flags Details

Description vvyazmin@redhat.com 2013-01-14 12:27:10 UTC
Created attachment 678209 [details]
## Logs vdsm, rhevm, screen-shots

Description of problem:
Null Pointer Exception during LiveMigrateVmDisks command, exception: Error during CanDoActionFailure.: java.lang.NullPointerException

Build on BZ888316

Version-Release number of selected component (if applicable):
RHEVM 3.2 - SF03 environment 

RHEVM: rhevm-3.2.0-4.el6ev.noarch 
VDSM: vdsm-4.10.2-3.0.el6ev.x86_64 
LIBVIRT: libvirt-0.10.2-13.el6.x86_64 
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.348.el6.x86_64 
SANLOCK: sanlock-2.6-2.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create NFS DC environment with one hosts and two SD (SD-kipi-08 & SD-kipi-09)
2. Create a new VM with multiple disk on first SD (SD-kipi-08)
3. Power on VM
4. Before click move disk to second SD, umount second SD (umount -l /rhev/data-center/mnt/wolf.qa.lab.tlv.redhat.com:_volumes_wolf_kipi-09)
5. Click move

  
Actual results:
Null Pointer Exception during LiveMigrateVmDisks command,

Expected results:
No exception should be found
Relevant error should be display

Additional info:

/var/log/ovirt-engine/engine.log

2013-01-14 14:25:48,651 INFO  [org.ovirt.engine.core.bll.MoveDisksCommand] (ajp-/127.0.0.1:8702-11) [4a3c15d4] Running command: MoveDisksCommand internal: false. Entities affect
ed :  ID: 33fb4449-2c37-4707-b137-3e406d876c2c Type: Disk
2013-01-14 14:25:48,705 INFO  [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (ajp-/127.0.0.1:8702-11) [4a3c15d4] Lock Acquired to object EngineLock [exclusiveLocks= k
ey: c5934a00-efa4-4f83-8933-20f54ebbbd45 value: VM
, sharedLocks= ]
2013-01-14 14:25:48,722 ERROR [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (ajp-/127.0.0.1:8702-11) [4a3c15d4] Error during CanDoActionFailure.: java.lang.NullPoint
erException
        at org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand.isValidSpaceRequirements(LiveMigrateVmDisksCommand.java:294) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand.canDoAction(LiveMigrateVmDisksCommand.java:193) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.internalCanDoAction(CommandBase.java:618) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.canDoActionOnly(CommandBase.java:281) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.MultipleActionsRunner.Execute(MultipleActionsRunner.java:82) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:471) [engine-bll.jar:]

/var/log/vdsm/vdsm.log

Thread-47350::ERROR::2013-01-14 14:25:29,946::domainMonitor::208::Storage.DomainMonitorThread::(_monitorDomain) Error while collecting domain c81d812d-9ed6-4faa-93e6-38a3867025f7 monitoring information
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/domainMonitor.py", line 186, in _monitorDomain
    self.domain.selftest()
  File "/usr/share/vdsm/storage/nfsSD.py", line 105, in selftest
    raise se.StorageDomainFSNotMounted(self.mountpoint)
StorageDomainFSNotMounted: Storage domain remote path not mounted: ('/rhev/data-center/mnt/wolf.qa.lab.tlv.redhat.com:_volumes_wolf_kipi-09',)
Thread-47350::DEBUG::2013-01-14 14:25:29,962::domainMonitor::216::Storage.DomainMonitorThread::(_monitorDomain) Domain c81d812d-9ed6-4faa-93e6-38a3867025f7 changed its status to Invalid
Thread-47571::DEBUG::2013-01-14 14:25:29,964::misc::1161::Event.Storage.DomainMonitor.onDomainConnectivityStateChange::(_emit) Emitting event
Thread-47571::WARNING::2013-01-14 14:25:29,964::misc::1179::Event.Storage.DomainMonitor.onDomainConnectivityStateChange::(_emit) Could not run registered method because of an exception
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/misc.py", line 1171, in _emit
    logUtils.funcName(func))
  File "/usr/share/vdsm/logUtils.py", line 30, in funcName
    return func.func_name
AttributeError: 'functools.partial' object has no attribute 'func_name'
Thread-47571::DEBUG::2013-01-14 14:25:29,964::misc::1181::Event.Storage.DomainMonitor.onDomainConnectivityStateChange::(_emit) Event emitted
Thread-47575::DEBUG::2013-01-14 14:25:36,051::BindingXMLRPC::161::vds::(wrapper) [10.35.97.56]

Comment 2 Liron Aravot 2013-01-20 13:24:05 UTC

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


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