[ This RFE came out of Bug 705111 ]
Description of problem:
In Failover Domain configuration in Luci, Priority fields are never passed
without Prioritized flag being set.
This may result in a state where after Prioritized flag is removed, the Priority configuration remains stuck in and cannot be either removed or changed.
Possibly the best behavior would be removing all Priority flags when
Prioritized is being unset, and making the proper fields greyed out if we want
to have it polished for best user experience.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a failover domain with Prioritized flag set and Priority values set for all nodes
2. Remove the Prioritized flag without touching the Priority fields and submit
- all Priority values remain in place in both the form and cluster.conf
- changing or clearing the Priority fields makes absolutely no effect
- Priority values should be removed from both the form and cluster.conf
Note: rgmanager ignores priority values if a failover domain is not prioritized.
Testable byboth visually checking the GUI and the generated cluster.conf file. Acking QA.
Is this an internal state change or have the screens changed?
The only visual change is that some fields are now slightly grayed out because they've been disabled and cannot accept user input in some states. The rest of the changes affect the interactions between the elements that cause particular inputs to be either enabled or disabled.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Cause: Users could tick/untick checkboxes and enter values into text fields whose values were ignored because due to other settings being disabled while creating and editing failover domains.
Consequence: Users were confused. Information they entered was thrown away and it wasn't clear why.
Change: Checkboxes and text fields that were ignored are now disabled when their values will be ignored and re-enabled when their values are used.
Result: Users can no longer enter information into form fields when that information will simply be ignored.
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.