jupyter-on-openshift / jupyterhub-quickstart

OpenShift compatible version of the JupyterHub application.
Apache License 2.0
102 stars 107 forks source link

Unable to create JupyterHub deployment using the templates in the tutorial #37

Open ananthajanakiraman opened 3 years ago

ananthajanakiraman commented 3 years ago

I am facing couple of issues trying to deploy JupyterHub in OpenShift using the templates provided in the tutorial

  1. When I try to run oc new-app --template jupyterhub-deployer, I am getting error: rolebindings.authorization.openshift.io "jupyterhub-edit" is forbidden: attempt to grant extra privileges but all the other resources are getting created successfully and the deployment results in Failed status
  2. Although the deployment results in Failed status, when I go to OpenShift and monitor the deployment, the container with jupyterhub-quickstart image gets created and started but the pod gets stuck in pods-initializing state and times out after sometime. I am not getting any useful information from the Events log and not able to get around the issue.

Can someone please help? I really looking to get this up and running

GrahamDumpleton commented 3 years ago

Please note that this project is no longer supported. Contact Red Hat for solutions on running Jupyter on OpenShift or look at https://opendatahub.io/ or https://radanalytics.io/ which are Red Hat projects.

As to your issue, the error means your user doesn't have sufficient privileges in the namespace you are trying to deploy to.

ananthajanakiraman commented 3 years ago

Hi @GrahamDumpleton Thank you so much for your response! I have project admin role attached to my user and that is the highest privilege available to me at this point. Can you please let me know what level of access should I require to do this deployment? Also, the deployment moves forward and the jupyterhub-quickstart pod never goes past initialization and gets killed.

Also in the projects that you shared, I am not able to find any tutorial related to JupyterHub. Can you please help?

GrahamDumpleton commented 3 years ago

As I said, the project is no longer supported. I can't help as I don't use nor have ready access to OpenShift anymore. Thus why I indicated you need to use one of the official Red Hat projects or ask Red Hat directly.

If you can't create the role binding as a project admin then I don't know what the issue is. OpenShift may have changed what it means to be a project admin and now blocks you from creating a new role binding for a service account in the namespace with edit cluster role, but that would be odd to do that as it would break so many things.