Bug 1335186

Summary: hosted-engine vm and storage domain not displayed in the admin web ui
Product: [oVirt] ovirt-engine Reporter: Sandro Bonazzola <sbonazzo>
Component: BLL.HostedEngineAssignee: Arik <ahadas>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: high    
Version: 4.0.0CC: ahadas, bugs, cshao, dfediuck, leiwang, mgoldboi, ycui
Target Milestone: ovirt-4.0.0-betaKeywords: Regression, Triaged
Target Release: 4.0.0Flags: rule-engine: ovirt-4.0.0+
rule-engine: blocker+
rule-engine: planning_ack+
dfediuck: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:39:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1335177    
Description Flags
host sosreport
engine sosreport none

Description Sandro Bonazzola 2016-05-11 13:50:49 UTC
Description of problem:
- Installed NGN
- Deployed HE using appliance
- Attached a data domain

HE VM and storage domain are not displayed in the admin web ui.

Comment 1 Sandro Bonazzola 2016-05-12 09:15:28 UTC
Created attachment 1156573 [details]
host sosreport

Comment 2 Sandro Bonazzola 2016-05-12 09:19:10 UTC
Created attachment 1156576 [details]
engine sosreport

Comment 3 Doron Fediuck 2016-05-15 08:40:57 UTC
Import failed due to a monitoring issue.
Arik, please review-

2016-05-12 08:54:45,390 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] (DefaultQuartzScheduler_Worker-49) [] Failed during vms monitoring on host hosted_engine_1 error is: java.lang.NullPointerException
2016-05-12 08:54:45,390 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] (DefaultQuartzScheduler_Worker-49) [] Exception:: java.lang.NullPointerException
	at org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzerFactory.getVmAnalyzer(VmAnalyzerFactory.java:79) [vdsbroker.jar:]
	at org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring.lambda$analyzeVms$1(VmsMonitoring.java:161) [vdsbroker.jar:]
	at java.util.ArrayList.forEach(ArrayList.java:1249) [rt.jar:1.8.0_91]
	at org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring.analyzeVms(VmsMonitoring.java:158) [vdsbroker.jar:]
	at org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring.perform(VmsMonitoring.java:121) [vdsbroker.jar:]
	at org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher.poll(PollVmStatsRefresher.java:39) [vdsbroker.jar:]
	at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source) [:1.8.0_91]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_91]
	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_91]
	at org.ovirt.engine.core.utils.timer.JobWrapper.invokeMethod(JobWrapper.java:77) [scheduler.jar:]
	at org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:51) [scheduler.jar:]
	at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:]
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz.jar:]

Comment 4 Arik 2016-05-15 11:32:52 UTC
This is a regression caused by recent refactoring in VMs-monitoring.
Patch will be posted soon.

Comment 5 Red Hat Bugzilla Rules Engine 2016-05-16 09:12:35 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 6 Artyom 2016-06-20 08:18:19 UTC
Verified on rhevm-
1) Deploy hosted engine
2) Add NFS master storage domain to the engine

HE auto-import succeed.

Comment 7 Sandro Bonazzola 2016-07-05 07:39:00 UTC
oVirt 4.0.0 has been released, closing current release.