-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
False
-
-
False
-
-
-
OCMUI Center Team Sprint 266
Description of problem:
The "Revert all to defaults" button that allow to reset the cluster autoscaling values to default value is disabled when there is any field contains validation error from the "Edit cluster autoscaling settings" model. This issue is only happens with day 2 i.e. the "Edit cluster autoscaling settings" model opened from machine pool tab of a cluster. The behavior is wrong. The "Revert all to defaults" button should be enabled for the user irrespective of the value of the fields and user should have an option to revert it back to the default ones including the value of the field(s) contains validation issue.
See the attached recording Screen Recording 2025-01-27 at 3.17.45 PM.mov
The issue hasn't reproduced in production env and hence suspecting it could be the change related to multiregion or recent fix went towards cluster autoscaler definitions.
How reproducible:
Always
Steps to reproduce:
- Launch OCM UI staging.
- Open a a cluster (ex: OSD or ROSA classic cluster)
- Go to Machine pool tab , click "Edit Cluster autoscaling settings" button.
- In the newly opened dialog or model, Input some invalid values in the field (for example, keep
the max-node-provision-time value to 15 or -15m) - Try to click "Revert all to defaults" to revert all the field values to default or valid ones.
- See the behavior of "Revert all to defaults" button
Actual results:
At step 6, "Revert all to defaults" button is disabled for the user and couldn't able to revert the values to default including the fields throws validation error. This is not correct behavior.
Expected results:
At step 6, "Revert all to defaults" button should be enabled for the user and user should be able to revert the field values to default values.