Bug 1381829

Summary: Removing host from the engine throws exception
Product: [oVirt] ovirt-engine Reporter: Mor <mkalfon>
Component: Frontend.WebAdminAssignee: Ravi Nori <rnori>
Status: CLOSED WORKSFORME QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs, michal.skrivanek, mkalfon, oourfali
Target Milestone: ovirt-4.1.0-alphaFlags: oourfali: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-10 16:46:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Engine log
none
ui.log
none
engine.log none

Description Mor 2016-10-05 07:25:02 UTC
Created attachment 1207458 [details]
Engine log

Description of problem:
Environment with engine and multiple hosts, when I try to remove host, I get an exception: "Uncaught exception occurred. Please try reloading the page. Details: Exception caught: undefined
Please have your administrator check the UI logs"

Version-Release number of selected component (if applicable):
4.1.0-0.0.master.20160928051325.git7784131.el7.centos 

How reproducible:
Always

Steps to Reproduce:
1. Try to remove host from the engine.

Actual results:
Exception

Expected results:
Host should be removed from the engine

Additional info:
engine
2016-10-05 10:22:59,734 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (DefaultQuartzScheduler4) [] Failure to refresh host 'HOST-1' runtime info: org.ovirt.vdsm.jsonrpc.client.ClientConnectionException: Connection failed

Comment 1 Yaniv Kaul 2016-10-06 08:25:21 UTC
1. Please compress logs.
2. Please provide deobfuscated ui.log

Comment 2 Mor 2016-10-06 11:30:07 UTC
I have attached the logs, its from different environment but with the same issue.
I'm unable to find the exact debuginfo packages, it was deleted from the upstream snapshot repo.

Comment 3 Mor 2016-10-06 11:31:25 UTC
Created attachment 1207906 [details]
ui.log

Comment 4 Mor 2016-10-06 11:31:52 UTC
Created attachment 1207908 [details]
engine.log

Comment 5 Mor 2016-10-06 12:17:54 UTC
on version: 4.1.0-0.0.master.20161004211324.git0cd2c3e.el7.centos no exception is thrown and it is working as excepted.

Comment 6 Ravi Nori 2016-10-10 16:46:48 UTC
Works for me on current master and 4.0.5 with multiple hosts. Closing as WORKSFORME, please reopen if the error still occurs.