Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1358716 - Disable Hosted Engine Setup page after register RHVH to engine
Disable Hosted Engine Setup page after register RHVH to engine
Status: CLOSED CURRENTRELEASE
Product: ovirt-node
Classification: oVirt
Component: UI (Show other bugs)
4.0
Unspecified Unspecified
medium Severity high (vote)
: ovirt-4.1.1
: 4.1
Assigned To: Ryan Barry
Yihui Zhao
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-21 06:40 EDT by cshao
Modified: 2017-04-21 05:29 EDT (History)
11 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-04-21 05:29:48 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Node
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
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 06:40 EDT, cshao
no flags Details
he (19.44 KB, image/png)
2017-03-02 05:37 EST, cshao
no flags Details
cockpit.png (11.12 KB, image/png)
2017-03-06 03:27 EST, Yihui Zhao
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 70168 master MERGED dashboard: block HE setup if the system is already registered 2017-02-08 15:58 EST
oVirt gerrit 72053 ovirt-4.1 MERGED dashboard: block HE setup if the system is already registered 2017-02-10 01:12 EST
oVirt gerrit 73472 master MERGED Fix a misnamed variable in HostedEngineSetup 2017-03-02 13:12 EST
oVirt gerrit 73473 ovirt-4.1 MERGED Fix a misnamed variable in HostedEngineSetup 2017-03-02 13:12 EST

  None (edit)
Description cshao 2016-07-21 06:40:30 EDT
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 01:48:43 EDT
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 05:02:30 EST
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 05:36:20 EST
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 05:36:27 EST
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 05:37 EST
Created attachment 1259079 [details]
he
Comment 7 Red Hat Bugzilla Rules Engine 2017-03-06 01:46:52 EST
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 03:27 EST
Created attachment 1260296 [details]
cockpit.png
Comment 11 Yihui Zhao 2017-03-06 03:32:51 EST
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.