Bug 1368817 - NPE on detection of unmanaged VM
Summary: NPE on detection of unmanaged VM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.1.0-alpha
: 4.1.0.2
Assignee: Arik
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-21 14:45 UTC by Arik
Modified: 2017-02-15 14:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-15 14:55:03 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 63639 0 master MERGED core: fix detection of external VMs 2016-09-11 13:35:57 UTC

Description Arik 2016-08-21 14:45:08 UTC
Description of problem:
The mechanism that was added in order to cache the static data of the VM used by the monitoring doesn't handle the case of unmanaged (external or hosted-engine) VMs well and produces a NPE.

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


How reproducible:


Steps to Reproduce:
1. Add host with running VMs.
2.
3.

Actual results:
NPE

Expected results:
The host should be added with no NPE.

Additional info:
VmManager#init

Comment 1 Tomas Jelinek 2016-08-22 07:00:00 UTC
it happens only on 4.1

Comment 2 Sandro Bonazzola 2016-12-12 13:57:13 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 3 Israel Pinto 2017-02-06 08:28:18 UTC
Verify with:
Red Hat Virtualization Manager Version: 4.1.0.3-0.1.el7

OS Version:RHEL - 7.3 - 7.el7
Kernel Version:3.10.0 - 550.el7.x86_64
KVM Version:2.6.0 - 28.el7_3.3.1
LIBVIRT Version:libvirt-2.0.0-10.el7_3.4
VDSM Version:vdsm-4.19.4-1.el7ev

Steps: 
Add host with running VM (from different environment) and check for NPE 

Results:
No NPE and host was add to set the external VMs can be stop from the Engine.


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