Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-8059

Project UI does not hint on Quota Exhaustion for Project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • UI
    • False
    • Hide

      None

      Show
      None
    • 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

      1. Add a ResourceQuota object in a DS namespace w/ requests.cpu = 1
      2. 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
      

              Unassigned Unassigned
              rhn-support-weaton Will Eaton
              Berto D'Attoma Berto D'Attoma
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: