Bug 1678390

Summary: [RFE] Remove 'validate' buttons on HE wizard for validate FQDNs
Product: [oVirt] cockpit-ovirt Reporter: Ido Rosenzwig <irosenzw>
Component: UIAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Wang <weiwang>
Severity: low Docs Contact:
Priority: medium    
Version: 0.12.2CC: bugs, cshao, ycui
Target Milestone: ovirt-4.3.4Flags: sbonazzo: ovirt-4.4?
sbonazzo: planning_ack?
sbonazzo: devel_ack+
weiwang: testing_ack+
Target Release: 0.12.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.12.9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1709942 (view as bug list) Environment:
Last Closed: 2019-06-11 06:24:02 UTC Type: Bug
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:    
Bug Blocks: 1709942    

Description Ido Rosenzwig 2019-02-18 16:49:06 UTC
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 1 Wei Wang 2019-05-17 02:24:11 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 2 Sandro Bonazzola 2019-06-11 06:24:02 UTC
This bugzilla is included in oVirt 4.3.4 release, published on June 11th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.4 release, it has been closed with a resolution of CURRENT RELEASE.

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