-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
-
False
-
None
-
Testable
-
No
-
-
-
-
-
-
-
No
-
No
-
Pending
-
None
-
-
Description of problem:
When a user launches a notebook pod in a DS Project where they have no quota, the UI does not hint, and the notebook appears as "Spawning" forever.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Add a ResourceQuota object in a DS namespace w/ requests.cpu = 1
- attempt to launch a small notebook
Actual results:
UI does not hint, and the notebook appears as "Spawning" forever.
Expected results:
A message is displayed to the user indicating they have exhausted project quota
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
Workaround:
Additional info:
Ideally the UI would also have a "status" widget that shows any quota in the namespace if it exists so the user can make a determination before launching.
Note: There is a k8s event coming from StatefulSet that tells us it is limited by the quota.
create Pod test-gpu-0 in StatefulSet test-gpu failed error: pods "test-gpu-0" is forbidden: exceeded quota: default-project-quota, requested: limits.cpu=2100m,requests.cpu=1100m, used: limits.cpu=0,requests.cpu=0, limited: limits.cpu=1,requests.cpu=1