Bug 1393669

Summary: "engineBridge call failed: undefined" error is prompted when maintenance host in cockpit UI
Product: [oVirt] ovirt-node Reporter: Wei Wang <weiwang>
Component: UIAssignee: Marek Libra <mlibra>
Status: CLOSED NOTABUG QA Contact: Wei Wang <weiwang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0CC: bugs, cshao, fdeutsch, huiwa, huzhao, leiwang, rbarry, tjelinek, weiwang, yaniwang, ycui
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: tjelinek: ovirt-future?
tjelinek: planning_ack?
tjelinek: devel_ack?
cshao: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-23 11:34:27 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:
Attachments:
Description Flags
picture
none
log files
none
ks file
none
log files none

Description Wei Wang 2016-11-10 06:24:41 UTC
Created attachment 1219188 [details]
picture

Description of problem:
"engineBridge call failed: undefined" error is prompted when maintenance host in cockpit UI

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.0-0.20161107.0
imgbased-0.8.7-0.1.el7ev.noarch
cockpit-ws-118-2.el7.x86_64
cockpit-ovirt-dashboard-0.10.6-1.4.2.el7ev.noarch


How reproducible:
100%
Not Regression bug
Keywords: UI

Steps to Reproduce:
1. Install RHVH with redhat-virtualization-host-4.0-0.20161107.0 with kickstart script (Attached)
2. Login cockpit website hostIP:9090 with root account
3. Select "Virtualization", then "Virtual Machines"
4. Add rhvh to rhevm, then creating VMs
5. Click "Login to engine" link, and login engine successfully in cockpit
6. Power off all the VMs in the "VMs in cluster" pane from rhevm webUI
7. Click "Host to Maintenance" link in cockpit


Actual results:
"engineBridge call failed: undefined" error is prompted when maintenance host in cockpit UI

Expected results:
No error prompt is displayed when maintenance host in cockpit UI


Additional info:

Comment 1 Wei Wang 2016-11-10 06:55:05 UTC
Created attachment 1219193 [details]
log files

Comment 2 Wei Wang 2016-11-10 07:04:33 UTC
Created attachment 1219208 [details]
ks file

Comment 3 Michal Skrivanek 2016-11-11 08:35:09 UTC
please provide client logs(browser js console)

Comment 4 Wei Wang 2016-11-14 02:59:04 UTC
Created attachment 1220225 [details]
log files

Retest with redhat-virtualization-host-4.0-0.20161107.0, not the exactly same issue “switch host to maintenance failed" occur, so attach the logs and hope they are helpful.

Comment 5 Marek Libra 2017-01-23 11:34:27 UTC
From the screenshot: the "Log out"-link is rendered but the dialog states the Login is missing.
This might be caused by too fast click on "Host to maintenance" after engine login, so the dialog is rendered before previous action is finished.
Anyway, the UI in the background is updated right after the Login action finishes, no matter of the dialog.

Or there was a network issue, so the REST API was not accessible for any reason.

In both cases, I see that as WONTFIX. Please reopen if you can reproduce in different scenario and the issue has impact on the user workflow.