[UI] Number of Proxies changes from 'X' to '1' while creating a mysql db cluster

Description

STRs:
1. Install Everest (I tested on it on two different FBs, it should be reproducible using main)
2. Select ‘Create Database’ → MySQL
3. Select resources for the cluster (any)
4. When selecting any one of the backups/Advanced Configuration/monitoring option, from Database summary select Basic Information
5. Jump back to backups/Advanced Configuration/monitoring option, and try creating the cluster

Actual Result:
Just by clicking on the ‘Basic Information’ option, the resource values reset (nodes are set to 3 and proxies are set to 1) and if the user does not click the resources page again or change values manually, it won’t allow the user to create a 3 node db cluster with 1 proxy. It gives the following error: invalid request min replicas number for Proxy is 2.

Expected Result:
1. It should not reset any value/option from the Create database configuration until the user changes something that has an impact on any one of the options, ex: namespace, as it might not have a storage location added to it.
2. The default configuration, upon changing, should be valid and not give any error.

Environment

None

Attachments

1

Activity

Show:

Fábio Da Silva February 20, 2025 at 3:14 PM
Edited

this is somethig I noticed and fixed in the meanwhile in EVEREST-1809

Yusaf Awan February 20, 2025 at 11:47 AM

The same resource reset happens for PG and Mongodb as well, but we only get an error for MySQL. Is this expected?

Details

Assignee

Reporter

Story Points

Fix versions

Priority

Smart Checklist

Created February 20, 2025 at 11:40 AM
Updated March 4, 2025 at 3:03 PM