Bug 1401500

Summary: [RFE] Scheduling policy properties : make explicit the red borders
Product: [oVirt] ovirt-engine Reporter: Nicolas Ecarnot <nicolas>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED NOTABUG QA Contact: Artyom <alukiano>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.0.5.5CC: bugs, dfediuck, mavital
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-07 11:46:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Tooltip example none

Description Nicolas Ecarnot 2016-12-05 12:48:59 UTC
Description of problem:
When trying to change the properties of a cluster's scheduling properties, in vm_evenly_distributed (other cases may lead to similar issue), choosing inappropriate values lead to a red border around the bad value, but with NO indication of what is wrong.

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

How reproducible:
Always

Steps to Reproduce:
1. Edit the cluster scheduling properties
2. Choose vm_evenly_distributed policy
3. Enter 4, 2, 1 for the three settings
4. Try to validate by pressing OK

Actual results:
A red border highlights the MigrationThreshold value, with no indication of the issue, and one cannot save these values.

Expected results:
One should be informed of what is wrong. One has to locate and read a quite complex documentation about scheduling to understand the issue.
There should be a way to warn the user.

Additional info:
In 3.6.x, this issue was the same (lack of information). But I note that these exact same values were accepted.

Comment 1 Doron Fediuck 2016-12-07 11:46:06 UTC
Created attachment 1229026 [details]
Tooltip example

There's a tool tip which provides you the needed information.
It's consistent with other field validation in the GUI.