Bug 1709942

Summary: [RFE] Remove 'validate' buttons on HE wizard for validate FQDNs
Product: Red Hat Enterprise Virtualization Manager Reporter: Ido Rosenzwig <irosenzw>
Component: cockpit-ovirtAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED ERRATA QA Contact: Wei Wang <weiwang>
Severity: low Docs Contact:
Priority: medium    
Version: 4.3.1CC: bugs, cshao, dfediuck, mgoldboi, weiwang, ycui
Target Milestone: ovirt-4.3.4Keywords: FutureFeature, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1678390 Environment:
Last Closed: 2019-06-20 14:47:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1678390    
Bug Blocks:    

Description Ido Rosenzwig 2019-05-14 15:19:17 UTC
+++ This bug was initially created as a clone of Bug #1678390 +++

Description of problem:
On Hosted-Engine wizard, on the vm section, there are two 'validate' buttons for the user to click on to validate if FQDN is resolvable. 
One button for the engine vm FQDN and the other for the host.

The validate process should occur automatically when the user leave the textbox (click anywhere but the textbox) and not on-demand by clicking a button.

This behavior is common in all modern forms.

Actual results:
on demand fqdn validation - buttons with 'validate' label 

Expected results:

the validation should be occur like this:
1. Install hosted-engine
2. Open cockpit web UI : http://localhost:9090
3. Start the hosted-engine wizard
4. Enter an fqdn in the 'engine vm fqdn' textbox and click anywhere but the textbox field.
5. the validation process should start leaving the fqdn textbox

Comment 2 Wei Wang 2019-05-17 02:21:06 UTC
Test Version
RHVH-4.3-20190516.1-RHVH-x86_64-dvd1.iso
cockpit-ovirt-dashboard-0.12.9-1.el7ev.noarch
ovirt-hosted-engine-setup-2.3.8-1.el7ev.noarch
ovirt-hosted-engine-ha-2.3.1-1.el7ev.noarch

Test Steps:
1. Clean install RHVH-4.3-20190516.1-RHVH-x86_64-dvd1.iso
2. Open cockpit web UI : http://localhost:9090
3. Start the hosted-engine wizard
4. Check the validation functions:
   a: Check the host fqdn validation after modifying the fqdn of host.
   b: Enter an fqdn in the 'engine vm fqdn' textbox and click anywhere but the textbox field.
   c: Check the wrong vm fqdn validation


Result:
1. Validate buttons are gone.
2. Validation should be trigger after clicking anywhere but the textbox field
3. Proper error messages are shown when filling wrong vm fqdn

Bug is fixed, change the status to "VERIFIED"

Comment 4 errata-xmlrpc 2019-06-20 14:47:59 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://access.redhat.com/errata/RHEA-2019:1560