Details
-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
RHOAI_2.6.0_GA, RHOAI_2.7.0_GA
-
False
-
-
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
- is duplicated by
-
RHODS-6373 [DSG] Workbench fails to start when using long titles for both project and workbench
- Closed