Description of the issue
From UX point of view, and also for the sake of consistency, it could be better to improve the error messages management related to subnets issues. As with the "Networking > VPC settings" step, in "Networking > CIDR ranges" step it should be good to refer to the subnet by name, if available. The only scenario where the subnets are mentioned in the "Networking > CIDR ranges" step is in case there are validation errors.
Steps to Reproduce:
- Launch OCM UI staging.
- Open OSD/ROSA wizard.
- Reach "Networking > VPC settings" step.
- Configure all VPC related fields.
- Observe the subnet fields values, they hold the subnet names, if availables.
- Click "Next".
- Enter a CIDR value in one of the CIDR fields making the validation failing for reasons related to the selected subnets (for example put a CIDR in "Machine CIDR" not overlapping the selected VPC).
- Click "Next".
- Observe the error messages below the CIDR field with the bad value.
Actual results:
The error message shown is "The Machine CIDR does not include the starting IP (<starting ip of a subnet>) of <subnet id>" or "The <Pod|Service> CIDR includes the starting IP (<starting ip of a subnet>) of <subnet id>"
Expected results:
The error message shown should be "The Machine CIDR does not include the starting IP (<starting ip of a subnet>) of <subnet name>" or "The <Pod|Service> CIDR includes the starting IP (<starting ip of a subnet>) of <subnet name>"
- is related to
-
OCMUI-39 [OSD and ROSA Wizard] Add wizard step validation when machine CIDR doesn't match VPC CIDR
- Closed
- links to