Bug 1393669 - "engineBridge call failed: undefined" error is prompted when maintenance host in cockpit UI
Summary: "engineBridge call failed: undefined" error is prompted when maintenance host...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-node
Classification: oVirt
Component: UI
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: ---
: ---
Assignee: Marek Libra
QA Contact: Wei Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-10 06:24 UTC by Wei Wang
Modified: 2017-01-23 11:34 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-23 11:34:27 UTC
oVirt Team: Virt
tjelinek: ovirt-future?
tjelinek: planning_ack?
tjelinek: devel_ack?
cshao: testing_ack+


Attachments (Terms of Use)
picture (155.52 KB, image/png)
2016-11-10 06:24 UTC, Wei Wang
no flags Details
log files (3.18 MB, text/plain)
2016-11-10 06:55 UTC, Wei Wang
no flags Details
ks file (1012 bytes, text/plain)
2016-11-10 07:04 UTC, Wei Wang
no flags Details
log files (565.35 KB, application/x-gzip)
2016-11-14 02:59 UTC, Wei Wang
no flags Details

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.


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