Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ananthajanakiraman opened this issue Jul 22, 2021 · 3 comments

Comments

@ananthajanakiraman
Copy link

ananthajanakiraman commented Jul 22, 2021

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
Copy link
Contributor

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
Copy link
Author

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants