Description of problem: 1.) Change the value in the Data Center Name field from "Default" to something else, then restore it back to "Default". The warning text "Note: You must change the cluster name after changing the database name" does not go away, and the Next button remains disabled, until I do the same to the Cluster Name field. 2.) If instead I first change the Cluster Name field, then undo the change, the Next button remains disabled but there is no corresponding warning text. In both of these cases, I would expect the warning text to disappear and the Next button to be enabled again. 3.) If I change either the Data Center Name or Cluster Name from "Default" to "Default " (trailing space), there is no warning text, but the Next button is disabled. Warning text only appears once I add a non-space character, e.g., "Default 1": "must contain only 'A-Z', 'a-z', '0-9', '_' or '-' characters" If spaces aren't allowed, then the warning text should be triggered as soon as one is entered. 4.) If I click on 2C. Hypervisors, then back on 2D. Configuration (or Back then Next) after entering bad values in the Data Center Name or Cluster Name fields, then the warning text disappears, and I can edit the field with no further warning until I click elsewhere or tab off of the field. 5.) Since the field is called "Data Center Name", would it make more sense for the warning text to refer to it as such instead of as "database name"? Version-Release number of selected component (if applicable): RHCI-6.0-RHEL-7-20160107.t.1 How reproducible: 100% Steps to Reproduce: See description above. Actual results: Inconsistent warnings about data center name and cluster name values. Expected results: Consistent warnings. Additional info:
https://github.com/fusor/fusor/pull/745 Changing the field back to "Default" or blank will get rid notifications to change the other defaulted field. Any time one field is changed from default, the other field will show a validation note that it needs to be changed if it's in the default state.
Tested on QCI-1.2-RHEL-7-20160621.t.0. The issues mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1297551#c0 have been addressed, except for one small point: If I change the Data Center Name from Default to, e.g., Lab, then the warning text that appears underneath the Cluster Name field is: "Note: You must change the cluster name after changing the cluster name" It should say: "Note: You must change the cluster name after changing the data center name" If instead I change the Cluster Name field first, then the warning text below the Data Center Name field is correct: "Note: You must change the data center name after changing the cluster name"
https://github.com/fusor/fusor/pull/978 fixed cluster name validation to say: "Note: You must change the cluster name after changing the data center name"
*** Bug 1326873 has been marked as a duplicate of this bug. ***
QCI-1.2-RHEL-7-20160705.t.1
Verified on QCI-1.2-RHEL-7-20160705.t.1.
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-2016:1862