Bug 1701317 - Cockpit Hosted Engine Deployment fails when "Admin portal Password" is left empty
Summary: Cockpit Hosted Engine Deployment fails when "Admin portal Password" is left...
Keywords:
Status: CLOSED DUPLICATE of bug 1693257
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: cockpit-ovirt
Version: 4.2.8-4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Ido Rosenzwig
QA Contact: Wei Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-18 15:20 UTC by Evgeny Slutsky
Modified: 2019-06-05 09:54 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-05 09:54:47 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 98868 0 'None' MERGED HE wizard: UI improvements 2020-09-28 04:20:38 UTC
oVirt gerrit 99008 0 'None' MERGED HE wizard: UI improvements 2020-09-28 04:20:32 UTC

Description Evgeny Slutsky 2019-04-18 15:20:18 UTC
Description of problem:

When deploying hosted engine on RHEL using the cockpit interface,
the portal password field is not populated the Installation wizard let you continue with out any warning.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. install RHEL 7.6
2. install rhvm-appliance using 4.2 subscriptions.
3. start cockpit + enable firewalld
4. enter the web ui: https://<host-fqdn>:9090/
5. open the "Hosted Engine Deployment" wizard
6. on wizard step 1: fill the engine VM fqdn + mac + dhcp - click continue
on wizard step 2: accept the default (Admin Portal Password empty)  - click continue



Actual results:
wizard won't let you progress until the password is filled.

Expected results:
wizard let you progress and the deployment fails on "[ INFO ] TASK [Obtain SSO token using username/password credentials]"
[

Additional info:

Comment 1 Wei Wang 2019-04-19 11:02:13 UTC
Test Version:
[4.2]
rhvh-4.2.8.4-0.20190411.0+1
cockpit-ovirt-dashboard-0.11.39-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.34-1.el7ev.noarch
ovirt-hosted-engine-ha-2.2.19-1.el7ev.noarch

[4.3]
RHVH-4.3-20190418.4-RHVH-x86_64-dvd1.iso
cockpit-ovirt-dashboard-0.12.8-1.el7ev.noarch
ovirt-hosted-engine-ha-2.3.1-1.el7ev.noarch
ovirt-hosted-engine-setup-2.3.7-1.el7ev.noarch

Steps:
1. Clean install RHVH
2. enter the web ui: https://<host-fqdn>:9090/
3. open the "Hosted Engine Deployment" wizard
4. on wizard step 1: fill the engine VM fqdn + mac + dhcp - click continue
   on wizard step 2: accept the default (Admin Portal Password empty)  - click continue

Result:
1. For RHVH 4.2, wizard let you progress and the deployment fails on "[ INFO ] TASK [Obtain SSO token using username/password credentials]"
2. For RHVH 4.3, wizard won't let you progress until the password is filled.

QE can reproduce this bug with RHVH 4.2. 

More infos:
There are other issues occur with RHVH 4.2
1. Passwords, root and admin, and the MAC address can be left empty
2. MAC address isn't validated right - missing last character is valid 
   00:11:22:33:44:5 produces no error
3. all error messages are disappearing when editing one of the fields.
   for example, if we have error messages in both 'engine fqdn' and 'MAC address',
   when the user edits the MAC address field both of the errors disappear instead
of just the error near the MAC address field

Comment 2 Ido Rosenzwig 2019-06-02 08:36:55 UTC
This bug was fixed in 4.3 and on master (4.4). should we backport it to 4.2 as well ?

Comment 3 Sandro Bonazzola 2019-06-03 14:34:33 UTC
(In reply to Ido Rosenzwig from comment #2)
> This bug was fixed in 4.3 and on master (4.4). should we backport it to 4.2
> as well ?

No, not needed. Can you please add references to the patches fixing this bug and move to MODIFIED?

Comment 4 Sandro Bonazzola 2019-06-05 09:54:47 UTC
fix was included in cockpit-ovirt-0.12.7 while fixing bug #1693257

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


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