-
Bug
-
Resolution: Done
-
Major
-
RHODS_1.19.0_GA
-
False
-
None
-
False
-
-
Testable
-
No
-
-
-
-
-
-
-
1.20.0-z
-
No
-
No
-
Yes
-
None
-
-
-
RHODS 1.20
Description of problem:
if a user tries to create 2 projects with the same resource name UI returns an error saying "Error crearing project" and user won't know the reason. The user may not be aware of other projects with the same name so it would be difficult to troubleshoot and would make the issue happening frequently (e.g., students may have project like "my first project" or "test" or "first" or "hello world" etc)
It happens for PV storages too, with a slight difference in the error message:
Error crearing storage Cannot read properties of null (reading 'metadata')
Prerequisites (if any, like setup, operators/versions):
Create a data science project called "My Project" (resource name would be: my-project)
Steps to Reproduce
- go to RHODS Dashboard > Data Science Projects
- create a project called "MyProject" (resource name would be "my-project")
- you get the error message
similarly, you can try creating 2 PV storages with the same name (or different names leading to same k8s resource name)
Actual results:
error message is too vague
Expected results:
error message says the chosen resource name is not available or something that explains user where the problem is
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
tested using local dashboard deployment, but the same changes should be in build v1.19.0-3. I will check
Workaround:
Additional info: