opendatahub-io-contrib / jupyterhub-odh

Example JupyterHub deployment using OpenShift OAuth authenticator.
16 stars 31 forks source link

Errors in BuildConfig and JupyterHub pod when deploying new app #102

Open eletonia opened 3 years ago

eletonia commented 3 years ago

Describe the bug I see this error: /tmp/scripts/assemble: line 16: cd: /opt/app-root/src/jupyterhub-singleuser-profiles/jupyterhub_singleuser_profiles/ui/: No such file or directory when checking the logs of the JupyterHub image buildConfig.

I also see this error error: build error: error building at STEP "RUN /tmp/scripts/assemble": error while running runtime: exit status 1 when checking the logs of the JupyterHub pod created by oc new-app --template jupyterhub-ocp-oauth

To Reproduce Since the README in this repo points to imagestreams that don't exist, I am using the imagestreams in the jupyterhub-quickstart repo

Steps to reproduce the behavior: 1.oc apply -f https://raw.githubusercontent.com/jupyter-on-openshift/jupyter-notebooks/master/image-streams/s2i-minimal-notebook.json

  1. oc apply -f https://raw.githubusercontent.com/jupyter-on-openshift/jupyterhub-quickstart/master/image-streams/jupyterhub.json
  2. oc create -f https://raw.githubusercontent.com/aicoe/jupyterhub-ocp-oauth/master/templates.json
  3. Change jupyterhub image tag in template from latest to 3.4.0
  4. oc new-app --template jupyterhub-ocp-oauth
  5. See errors: oc logs bc/my-jupyterhub-img and oc logs my-jupyterhub-img-1-build

Expected behavior The JupyterHub pod should be running with no errors

Additional context Are these the correct imagestreams I should be using or are there updated ones I can use?