Bug 1203144 - Current RHEVH TUI crash can not switch to other TUI menu after interrupting hosted-engine configuration processing.
Summary: Current RHEVH TUI crash can not switch to other TUI menu after interrupting h...
Keywords:
Status: CLOSED DUPLICATE of bug 1201632
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node-plugin-hosted-engine
Version: 3.5.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.5.2
Assignee: Douglas Schilling Landgraf
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-18 09:11 UTC by Ying Cui
Modified: 2016-02-10 20:09 UTC (History)
12 users (show)

Fixed In Version: ovirt-node-plugin-hosted-engine-0.2.0-11.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-18 13:07:40 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
varlog.tar.gz (88.12 KB, application/x-gzip)
2015-03-18 09:12 UTC, Ying Cui
no flags Details
screenshot for current TUI crash (28.74 KB, image/png)
2015-03-18 09:13 UTC, Ying Cui
no flags Details
TUI crash (30.58 KB, image/png)
2015-03-18 12:36 UTC, Ying Cui
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 38756 0 None None None Never
oVirt gerrit 38808 0 None None None Never

Description Ying Cui 2015-03-18 09:11:28 UTC
Description:
When setup Hosted-engine in RHEVH TUI, but select "No" to interrupt the hosted-engine configuration, back to rhevh TUI menu, then RHEVH TUI menu can not be switched, the current TUI crash.
But you still can open another ssh session to operate RHEVH TUI again.

-------------------------
[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
          Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards.
          Are you sure you want to continue? (Yes, No)[Yes]: No
-------------------------

Notice: There selected "No"

Test version:
 # rpm -q ovirt-node-plugin-hosted-engine ovirt-node ovirt-hosted-engine-ha ovirt-hosted-engine-setup
 ovirt-node-plugin-hosted-engine-0.2.0-10.0.el6ev.x86_64
 ovirt-node-3.2.1-10.el6.noarch
 ovirt-hosted-engine-ha-1.2.5-1.el6ev.noarch
 ovirt-hosted-engine-setup-1.2.2-1.el6ev.noarch
 # cat /etc/redhat-release
 Red Hat Enterprise Virtualization Hypervisor 6.6 (20150312.0.el6ev)

Test steps:
 1. Installed RHEVH 6.6 successful.
 2. Set network done.
 3. Navigate to Hosted Engine TUI.
 4. Select PXE, then click on "Setup Hosted Engine"
 5. Select "No" to _not_ continue to configure the hosted-engine.
 6. Then back to RHEVH TUI.
 7. Try to switch RHEVH TUI menu, example: Status, network...
 
Actually result
1. step 7, current RHEV-H TUI crash, can not change correct tab, such as: Status, RHEVM

Expected result:
1. step 7, TUI not crash, still can change the menu smoothly.

Additional:
can open another ssh to access this RHEVH TUI again, no crash.

#for this action, tail to fetch the log generation
#tail -f ovirt-node.log
2015-03-18 09:00:01,442    WARNING No widget for path action.setupengine
2015-03-18 09:00:01,443    WARNING No widget for path action.setupengine
2015-03-18 09:00:01,445       INFO Saving Hosted Engine Config
2015-03-18 09:00:01,445       INFO Wrote hosted engine install configuration to /tmp/tmpLr9sYm
2015-03-18 09:00:01,445       INFO Exception on TUI!
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ovirt/node/setup/hostedengine/hosted_engine_page.py", line 219, in show_dialog
  File "/usr/lib/python2.6/site-packages/ovirt/node/plugins.py", line 564, in __getitem__
KeyError: 'download.progress'
2015-03-18 09:00:08,064       INFO Changes were merged successfully

Comment 1 Ying Cui 2015-03-18 09:12:35 UTC
Created attachment 1003102 [details]
varlog.tar.gz

Comment 2 Ying Cui 2015-03-18 09:13:32 UTC
Created attachment 1003104 [details]
screenshot for current TUI crash

Comment 3 Ying Cui 2015-03-18 09:16:06 UTC
Need to consider fix it in rhev 3.5.1. Thanks.

Comment 4 Ying Cui 2015-03-18 12:36:11 UTC
Created attachment 1003202 [details]
TUI crash

During more testing, RHEV-H TUI crash after interrupting hosted-engine configuration process no matter in which step to interrupt hosted-engine setup processing.
In other words, any interruption in place during hosted-engine configuration, will cause the TUI to crash.

Comment 5 Douglas Schilling Landgraf 2015-03-18 12:43:06 UTC
The last fix in ovirt-node-plugin-hosted-engine should fix this issue. I cannot reproduce the bug using ovirt-node-plugin-hosted-engine-0.2.0-11.0.

Comment 6 Fabian Deutsch 2015-03-18 13:07:40 UTC

*** This bug has been marked as a duplicate of bug 1201632 ***

Comment 7 Ying Cui 2015-03-30 03:53:40 UTC
Since this bug is closed as duplicate of bug 1201632 which is fixed yet.
And this bug is with different test steps to bug 1201632, so I retest this bug.

# rpm -q ovirt-node ovirt-node-plugin-hosted-engine 
ovirt-node-3.2.2-1.el6.noarch
ovirt-node-plugin-hosted-engine-0.2.0-13.0.el6ev.noarch
# cat /etc/system-release
Red Hat Enterprise Virtualization Hypervisor 6.6 (20150327.0.el6ev)

This bug is fixed. If interrupt in place during hosted-engine configuration, then return rhevh TUI, and UI will not crash, can switch the tui menu smoothly.


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