Bug 1200233 - [3.5-6.6]TUI crash when setup hosted engine on RHEVH
Summary: [3.5-6.6]TUI crash when setup hosted engine on RHEVH
Keywords:
Status: CLOSED ERRATA
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
urgent
urgent
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Fabian Deutsch
QA Contact: wanghui
URL:
Whiteboard:
Depends On:
Blocks: 1198656 1198657 1198658 1198659 1200430
TreeView+ depends on / blocked
 
Reported: 2015-03-10 05:16 UTC by wanghui
Modified: 2016-03-09 14:17 UTC (History)
12 users (show)

Fixed In Version: ovirt-node-plugin-hosted-engine-0.3.0-1.el7ev rhev-hypervisor7-7.2-20150831.0.el7ev
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1200430 (view as bug list)
Environment:
Last Closed: 2016-03-09 14:17:39 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
improper status reported (120.23 KB, image/png)
2015-03-10 15:41 UTC, Nikolai Sednev
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0378 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update for RHEV 3.6 2016-03-09 19:06:36 UTC
oVirt gerrit 38506 0 master MERGED Insufficient arguments for update() call Never
oVirt gerrit 38542 0 ovirt-3.5 MERGED Insufficient arguments for update() call Never

Description wanghui 2015-03-10 05:16:42 UTC
Description of problem:
UI crash when setup hosted engine through TUI. It will report error like follows.
================================================================================
An error appeared in the UI: Exception('There are not enough arguments given for <function update at 0x39981b8> of <ovirt.node.setup.hostedengine.hosted_engine_page.HostedEngine object at 0x3bc6710>',)
Press ENTER to logout ...
or enter 's' to drop to shell
================================================================================

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.6-20150304
ovirt-node-3.2.1-9.el6.noarch
ovirt-node-plugin-hosted-engine-0.2.0-9.0.el6ev.x86_64
ovirt-hosted-engine-setup-1.2.2-1.el6ev.noarch
ovirt-hosted-engine-ha-1.2.5-1.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install rhev-hypervisor6-6.6-20150304
2. Enable network
3. Configure hosted engine by click <Setup Hosted Engine>

Actual results:
1. It will report error like follows.
================================================================================
An error appeared in the UI: Exception('There are not enough arguments given for <function update at 0x39981b8> of <ovirt.node.setup.hostedengine.hosted_engine_page.HostedEngine object at 0x3bc6710>',)
Press ENTER to logout ...
or enter 's' to drop to shell
================================================================================

Expected results:
1. After step3, it should start the hosted engine setup process.

Additional info:

Comment 2 Nikolai Sednev 2015-03-10 15:40:46 UTC
I succeeded to istall RHEVH Red Hat Enterprise Virtualization Hypervisor 6.6 (20150304.0.el6ev) following these steps:

Via Foreman installed latest RHEVH version and then via ENGINE installed rhev-hypervisor6-6.6-20150304.0.el6ev.noarch.rpm, then upgraded two RHEVH hypervisors to rhev-hypervisor6-6.6-20150304.0.el6ev.noarch.rpm and set them to maintenance, then removed from my first ENGINE.

Now that I had two Red Hat Enterprise Virtualization Hypervisor 6.6 (20150304.0.el6ev) hypervisors, I started my HE deployment by "screen hosted-engine --deploy" command on first hypervisor and finished the deployment successfully, then installed RHEVM, then added second hypervisor with the RHEVH rhev-hypervisor6-6.6-20150304.0.el6ev.noarch.rpm. My only problem was improper status reported by ENGINE via WEBUI as appears within the attachment.

Comment 3 Nikolai Sednev 2015-03-10 15:41:33 UTC
Created attachment 1000027 [details]
improper status reported

Comment 4 Douglas Schilling Landgraf 2015-03-11 03:40:45 UTC
(In reply to Nikolai Sednev from comment #2)
> I succeeded to istall RHEVH Red Hat Enterprise Virtualization Hypervisor 6.6
> (20150304.0.el6ev) following these steps:
> 
> Via Foreman installed latest RHEVH version and then via ENGINE installed
> rhev-hypervisor6-6.6-20150304.0.el6ev.noarch.rpm, then upgraded two RHEVH
> hypervisors to rhev-hypervisor6-6.6-20150304.0.el6ev.noarch.rpm and set them
> to maintenance, then removed from my first ENGINE.
> 
> Now that I had two Red Hat Enterprise Virtualization Hypervisor 6.6
> (20150304.0.el6ev) hypervisors, I started my HE deployment by "screen
> hosted-engine --deploy" command on first hypervisor and finished the
> deployment successfully, then installed RHEVM, then added second hypervisor
> with the RHEVH rhev-hypervisor6-6.6-20150304.0.el6ev.noarch.rpm. My only
> problem was improper status reported by ENGINE via WEBUI as appears within
> the attachment.

Hi Nikolai,

Please open a different bug to this report. Thanks!

Comment 5 Douglas Schilling Landgraf 2015-03-11 03:43:25 UTC
Hi Sandro,

Any ideas for the comment#2 and screenshot?

Comment 6 Sandro Bonazzola 2015-03-11 07:49:43 UTC
I don't know what's causing that status to be displayed.
Oved?

Comment 7 Oved Ourfali 2015-03-11 08:11:14 UTC
We had a QE build in which working with the updated engine, and older VDSM, caused status ERROR for the host.
What engine build are you working with?

Comment 8 Oved Ourfali 2015-03-11 08:14:56 UTC
Also, isn't it similar to Bug 1200474 ?

Comment 9 wanghui 2015-03-12 02:47:44 UTC
(In reply to Oved Ourfali from comment #7)
> We had a QE build in which working with the updated engine, and older VDSM,
> caused status ERROR for the host.
> What engine build are you working with?

I am not using the updated engine. Maybe the error in comment#2 is similar with bug#1199387.

For my issue, I just install the clean rhev-hypervisor6-6.6-20150304.

version list:
# rpm -qa |grep engine
ovirt-hosted-engine-ha-1.2.5-1.el6ev.noarch
ovirt-node-plugin-hosted-engine-0.2.0-9.0.el6ev.x86_64
ovirt-hosted-engine-setup-1.2.2-1.el6ev.noarch

# rpm -qa |grep vdsm
ovirt-node-plugin-vdsm-0.2.0-19.el6ev.noarch
vdsm-4.16.8.1-7.el6ev.x86_64

Comment 12 Nikolai Sednev 2015-09-07 14:34:42 UTC
Hi Fabian,
Please provide RHEVH-HE relevant image for this bug to be verified on 3.6 environment.

Comment 14 wanghui 2015-11-12 02:51:17 UTC
Test version:
rhev-hypervisor7-7.2-20151104.0.iso
ovirt-node-3.6.0-0.20.20151103git3d3779a.el7ev.noarch
ovirt-node-plugin-hosted-engine-0.3.0-2.el7ev.noarch

Test steps:
1. Install rhev-hypervisor7-7.2-20151104.0.iso
2. Enable network
3. Configure hosted engine by click <Deploy Hosted Engine>

Test result:
1. Hosted Engine setup process can be triggered correctly.

So this issue is fixed in ovirt-node-plugin-hosted-engine-0.3.0-2.el7ev.noarch.

Comment 16 errata-xmlrpc 2016-03-09 14:17:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0378.html


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