Uploaded image for project: 'Red Hat OpenShift AI Engineering'
  1. Red Hat OpenShift AI Engineering
  2. RHOAIENG-1152

Spawner Admin page shows all the users from groups but cannot spawn for who never logged in

    XMLWordPrintable

Details

    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      == The notebook creation process fails for users who have never logged in to the dashboard
      The dashboard's notebook *Administration* page displays users belonging to the user group and admin group in OpenShift. However, if an administrator attempts to start a notebook server on behalf of a user who has never logged in to the dashboard, the server creation process fails and displays the following error message:

      ----
      Request invalid against a username that does not exist.
      ----

      *Workaround*: Request that the relevant user logs into the dashboard.
      Show
      == The notebook creation process fails for users who have never logged in to the dashboard The dashboard's notebook *Administration* page displays users belonging to the user group and admin group in OpenShift. However, if an administrator attempts to start a notebook server on behalf of a user who has never logged in to the dashboard, the server creation process fails and displays the following error message: ---- Request invalid against a username that does not exist. ---- *Workaround*: Request that the relevant user logs into the dashboard.
    • Known Issue
    • Done
    • Low

    Description

      Description of problem:

      Administration page in Notebooks Spawner has records for every user from the groups which are set as RHODS admins and basic users. But, if an admin tries to spawn a notebook server for a user who never logged in the dashboard, the process fails to start with the following error message:

      Request invalid against a username that does not exist.

      I see this affecting user experience for the administrators

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

      Steps to Reproduce

      1. Log in RHODS as admin
      2. Launch Jupyter from Enabled page
      3. move to Administration tab
      4. choose a user who never logged into dashboard from the table
      5. click "start server"

      Actual results:

      spawning process fails

      Expected results:

      TBD

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      RHODS v1.21.0-20 (but valid for previous versions too)

      Workaround:

      make the target user logging in Dashboard once

      Additional info:

      Some possible options I see are:

      1. avoid to show the "start server" action for the users who haven't logged in yet
      2. do not show users who haven't logged in yet
      3. change the error message to something more clear
      4. make the start process possibe even if a user haven't logged in yet

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-bdattoma Berto D'Attoma
            RHOAI Dashboard
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty