Bug 1358716 - Disable Hosted Engine Setup page after register RHVH to engine
Summary: Disable Hosted Engine Setup page after register RHVH to engine
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: UI
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ovirt-4.1.1
: 4.1
Assignee: Ryan Barry
QA Contact: Yihui Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-21 10:40 UTC by cshao
Modified: 2017-04-21 09:29 UTC (History)
11 users (show)

Fixed In Version: cockpit-ovirt-0.10.7-0.0.13.el7ev
Doc Type: Enhancement
Doc Text:
The self-hosted engine setup wizard now warns users if the host is already registered to Red Hat Virtualization Manager. Previously, a host that was registered to the Manager but not running a self-hosted engine would present the option to set up a self-hosted engine, which ran the risk of unregistering the host. Now, hosts that are registered to the Manager present a "Redeploy" button in the Hosted Engine wizard in Cockpit, which must be selected in order to continue.
Clone Of:
Environment:
Last Closed: 2017-04-21 09:29:48 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.1+
mgoldboi: planning_ack+
fdeutsch: devel_ack+
cshao: testing_ack+


Attachments (Terms of Use)
all_log_info (6.30 MB, application/x-gzip)
2016-07-21 10:40 UTC, cshao
no flags Details
he (19.44 KB, image/png)
2017-03-02 10:37 UTC, cshao
no flags Details
cockpit.png (11.12 KB, image/png)
2017-03-06 08:27 UTC, Yihui Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 70168 0 master MERGED dashboard: block HE setup if the system is already registered 2017-02-08 20:58:27 UTC
oVirt gerrit 72053 0 ovirt-4.1 MERGED dashboard: block HE setup if the system is already registered 2017-02-10 06:12:02 UTC
oVirt gerrit 73472 0 master MERGED Fix a misnamed variable in HostedEngineSetup 2017-03-02 18:12:12 UTC
oVirt gerrit 73473 0 ovirt-4.1 MERGED Fix a misnamed variable in HostedEngineSetup 2017-03-02 18:12:25 UTC

Description cshao 2016-07-21 10:40:30 UTC
Created attachment 1182418 [details]
all_log_info

Description of problem:
Disable Hosted Engine Setup page after register RHVH to engine, due to RHVH should only managed by one engine.

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.0-20160714.3.x86_64
imgbased-0.7.2-0.1.el7ev.noarch
vdsm-4.18.6-1.el7ev.x86_64
RHEV-M-4.0.2-0.2.rc1.el7ev
cockpit-0.108-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install RHVH via ISO(with default ks)
2. Add RHVH to engine.
3. Login cockpit. check hosted engine status.

Actual results:
Still can deploy HE after register RHVH to engine.

Expected results:
Disable Hosted Engine Setup page after register RHVH to engine, due to RHVH should only managed by one engine.

Additional info:

Comment 1 Yedidyah Bar David 2016-07-24 05:48:43 UTC
A solution to this bug should probably include the flow of removing the host from the engine - after that, deploy should be allowed again. I think we'd rather close this bug as wontfix (or even notabug) than not handle removal. AFAIK, trying deploy again on a deployed host is harmless.

Comment 2 cshao 2017-02-20 10:02:30 UTC
No 4.1.1 build available for testing now, we will verify this bug after got the new build.

Comment 3 cshao 2017-03-02 10:36:20 UTC
Test version:
redhat-virtualization-host-4.1-20170222.0 
imgbased-0.9.13-0.1.el7ev.noarch
ovirt-hosted-engine-setup-2.1.0.3-1.el7ev.noarch
ovirt-hosted-engine-ha-2.1.0.3-1.el7ev.noarch
rhevm-4.1.1.2-0.1.el7

Test steps:
1. Install RHVH via PXE
2. Add RHVH to engine.
3. Login cockpit. check hosted engine status.


According Doc Text:
Result: Hosts which are registered to RHV-M now present a "Redeploy" button in the Hosted Engine wizard in cockpit, which must be selected in order to continue.

Test result:
After register to RHVM, user can't deploy HE anymore, this is expected behavior. But according Doc Text, there is no "Redeploy" button in the Hosted Engine wizard in cockpit, there only have a running symbol always display(please see attachment "he.png").

So the bug is partial fix, change bug status to ASSIGNED.

Comment 4 Red Hat Bugzilla Rules Engine 2017-03-02 10:36:27 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 5 cshao 2017-03-02 10:37:00 UTC
Created attachment 1259079 [details]
he

Comment 7 Red Hat Bugzilla Rules Engine 2017-03-06 06:46:52 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 10 Yihui Zhao 2017-03-06 08:27:50 UTC
Created attachment 1260296 [details]
cockpit.png

Comment 11 Yihui Zhao 2017-03-06 08:32:51 UTC
Test version:
redhat-virtualization-host-4.1-20170222.0 
cockpit-ovirt-dashboard-0.10.7-0.0.11.el7ev.noarch upgrade to cockpit-ovirt-dashboard-0.10.7-0.0.13.el7ev.noarch

Test steps:
1. Install RHVH via PXE
2. Download the package "cockpit-ovirt-dashboard-0.10.7-0.0.13.el7ev.noarch.rpm", then use cmd "rpm -Uvh cockpit-ovirt-dashboard-0.10.7-0.0.13.el7ev.noarch.rpm" to upgrade to the fix version
2. Add RHVH to engine.
3. Login cockpit. check hosted engine status.

Result:
URL : https://bugzilla.redhat.com/attachment.cgi?id=1260296

It works well ,so the bug's status is verified.


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