-
Bug
-
Resolution: Done
-
Minor
-
None
-
False
-
False
-
0
-
Undefined
-
Not Supported
-
-
ODC Sprint 204
-
Low
Description of problem:
When the user creates a Deployment with one of the Import from ... pages, she or he has the option to define a resource limit in the advanced option section.
The resource limit section allows the user to define Request and Limit CPU cycles and Request and Limit memory. The form does not allow a limit value which is smaller then the request value.
This form sometimes shows unexpected validations error if a unit is selected. It looks like that the unit is ignored when the number is changed.
See attached video.
Prerequisites (if any, like setup, operators/versions):
None
Steps to Reproduce
- Switch to developer perspective
- Add > Import from Git
- Scroll down to Advanced options and click on Resource limits
- Enter test data into the Resource limits forms
- Broken case a)
- 10 request CPU, keep millicores
- 15 limit CPU, keep millicores
- Switch limit to cores
- Press Limit minus button until the value is below 10.
- Broken case b)
- 1 request CPU, keep millicores
- 2 limit CPU, select cores
- Press Limit plus button until value is 5
- Press Resource plus button until value is 6
- Broken case a)
Actual results:
It shows invalid form validation errors
Expected results:
It should not show form validation errors in that case
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
- 4.9 master (19c0a653cc420c4ecee6ca44bd1126b2ee06d6ed)