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

Router pods are not created due to length of username

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Undefined
    • None
    • RHOAI_2.6.0_GA, RHOAI_2.7.0_GA
    • Platform
    • False
    • Hide

      None

      Show
      None
    • False
    • No
    • Testable

    Description

      Hello team!

      Usernames in OCP can be longer than 42 characters, e.g. mapping username from Active Directory or mapping the email address.
      I installed OpenShift AI and tried to start a jupyter notebook.
      The constructed name for the OpenShift Route of the Jupyter Pod exceeds the 63 character limit for the name.
      A very similar GitHub issue that has the same problem with the name of the pod: https://github.com/opendatahub-io/kubeflow/issues/179.

      This is the error on the controller:

      spec.host: Invalid value: \"jupyter-nb-e105428-5focp-40ps-2erolls-2droyce-2ecom-rhods-notebooks.apps.ocp01.org-intra.net\": must be no more than 63 characters","stacktrace":"github.com/opendatahub-io/kubeflow/components/odh-notebook-controller/controllers.(*OpenshiftNotebookReconciler).ReconcileOAuthRoute\n\t/opt/rhods/odh-notebook-controller/controllers/notebook_oauth.go:262\ngithub.com/opendatahub-io/kubeflow/components/odh-notebook-controller/controllers.(*OpenshiftNotebookReconciler).Reconcile\n\t/opt/rhods/odh-notebook-controller/controllers/notebook_controller.go:176\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/con...
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-npaez Nelson Paez
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                PagerDuty