Uploaded image for project: 'Open Data Hub'
  1. Open Data Hub
  2. ODH-454

Jupyterhub Spawner UI goes blank when an improper singleuser-profile is added

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • JupyterHub
    • None
    • Open Data Hub Sprint 10

      kfdef link: https://github.com/operate-first/apps/blob/3cbdad36026df3a1e102401cedb44127da4fc3a0/kfdefs/base/jupyterhub/kfdef.yaml

      I added the following configmap in our JH env:

      ```
      kind: ConfigMap
      apiVersion: v1
      metadata:
      name: aduggal-special
      labels:
      jupyterhub: singleuser-profiles
      data:
      jupyterhub-singleuser-profiles.yaml: |-

      • name: aduggal Special Memory Intensive
        users:
      • 4n4nd
      • aduggal@redhat.com
        resources:
        requests:
        memory: "1Gi"
        cpu: "500m"
        limits:
        memory: "64Gi"
        cpu: "4"
        ```

      Since this profile is missing the `profiles:` key, this should not work. But this makes the JH UI unusable (see attached screenshot) so users are unable to spawn their NB servers.
       

              rh-ee-mroman Maros Roman (Inactive)
              asanmukh Anand Sanmukhani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: