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

Spawning a nb for another user as a RHODS admin will fail if no nb has been spawned by the admin before

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Hide

      Admin user can spawn a server for another user even if they have never spawned a server for themselves (i.e. even if their PVC doesn't yet exist)

      Show
      Admin user can spawn a server for another user even if they have never spawned a server for themselves (i.e. even if their PVC doesn't yet exist)
    • No
    • Yes
    • No
    • Pending
    • None
    • Medium

    Description

      Description of problem:

      If an Admin user tries to spawn a nb for another user before ever spawning a nb for themselves they will receive an error message about the PVC (of the admin) missing from all nodes. It is unclear why this PVC is needed in order to spawn notebooks for other users.

      This issue seems to be reproducible by any admin user that has not yet spawned a notebook for themselves.

      Prerequisites (if any, like setup, operators/versions):

      Latest RHODS live build/RC for 1.16 (quay.io/llasmith/rhods-operator-live-catalog:1.16.0-hotfix-27165b)

      Steps to Reproduce

      1. Install RHODS
      2. Create admin/normal users on the clusters
      3. Log in to rhods dashboard as an admin user (who has never been used before)
      4. Go to the admin tab of the spawner page
      5. Try spawning a server for another user

      Actual results:

      The spawn will fail and the error message mentions the missing PVC of the admin user

      Expected results:

      The admin user should be able to spawn notebooks for other users even if they've never spawned a notebook for themselves before

      Reproducibility (Always/Intermittent/Only Once):

      Appears to be always if using an admin user who has never spawned a notebook before

      Build Details:

      quay.io/llasmith/rhods-operator-live-catalog:1.16.0-hotfix-27165b

      Workaround:

      Spawn a notebook for the admin user, and then spawn notebooks for other users

      Additional info:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-lgiorgi Luca Giorgi
              Luca Giorgi Luca Giorgi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: