kubeflow: Cannot create notebook through web UI
/kind bug
What steps did you take and what happened: [A clear and concise description of what the bug is.]
- Install Kubeflow on local-cluster ( kind )
- go to web UI and login with default user http://localhost:8080/_/jupyter/new?ns=kubeflow-user-example-com
- Go to notebook panel and create a default one
- After click “Launch”, got error “[500] An error occured in the backend. http://localhost:8080/jupyter/api/namespaces/kubeflow-user-example-com/notebooks”
- After check the pod “jupyter-web-app-deployment” log, found
2022-07-13 09:20:24,419 | apps.common.form | INFO | Using provided value for ‘workspace’: {‘mount’: ‘/home/jovyan’, ‘newPvc’: {‘metadata’: {‘name’: ‘notebook1-volume’}, ‘spec’: {‘accessModes’: [‘ReadWriteOnce’], ‘resources’: {‘requests’: {‘storage’: ‘10Gi’}}}}} 2022-07-13 09:20:24,419 | kubeflow.kubeflow.crud_backend.errors.handlers | ERROR | Caught and unhandled Exception! 2022-07-13 09:20:24,419 | kubeflow.kubeflow.crud_backend.errors.handlers | ERROR | create_notebook() got an unexpected keyword argument ‘dry_run’ Traceback (most recent call last): File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1523, in full_dispatch_request rv = self.dispatch_request() File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1509, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File “/usr/local/lib/python3.7/site-packages/kubeflow/kubeflow/crud_backend/decorators.py”, line 18, in wrapper return func(*args, **kwargs) File “/usr/local/lib/python3.7/site-packages/kubeflow/kubeflow/crud_backend/decorators.py”, line 40, in runner return func(*args, **kwargs) File “/src/apps/default/routes/post.py”, line 48, in post_pvc api.create_notebook(notebook, namespace, dry_run=True) TypeError: create_notebook() got an unexpected keyword argument ‘dry_run’
What did you expect to happen: Create notebook server
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
- Kubeflow version: (version number can be found at the bottom left corner of the Kubeflow dashboard): build version dev_local (under left corner of UI dashboard)
- kfctl version: (use
kfctl version
): - Kubernetes platform: (e.g.
minikube
) kind - Kubernetes version: (use
kubectl version
):
-WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:“1”, Minor:“24”, GitVersion:“v1.24.2”, GitCommit:“f66044f4361b9f1f96f0053dd46cb7dce5e990a8”, GitTreeState:“clean”, BuildDate:“2022-06-15T14:22:29Z”, GoVersion:“go1.18.3”, Compiler:“gc”, Platform:“linux/amd64”} Kustomize Version: v4.5.4 Server Version: version.Info{Major:“1”, Minor:“23”, GitVersion:“v1.23.4”, GitCommit:“e6c093d87ea4cbb530a7b2ae91e54c0842d8308a”, GitTreeState:“clean”, BuildDate:“2022-03-06T21:32:53Z”, GoVersion:“go1.17.7”, Compiler:“gc”, Platform:“linux/amd64”}
- OS (e.g. from
/etc/os-release
): Ubuntu 18.04
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (10 by maintainers)
Hey everyone, this issue contained 2 problems so let me try to expose the final state.
The first issue was with getting 500 error on the LAUNCH button. This was a cache issue with how we built the image and was fixed in the latest RC https://github.com/kubeflow/kubeflow/issues/6572#issuecomment-1185740944.
The second one was with seeing only the option for the Jupyter notebook type in the form https://github.com/kubeflow/kubeflow/issues/6572#issuecomment-1186080541. We addressed this issue with https://github.com/kubeflow/kubeflow/pull/6625 and this will be fixed in the next RC we’ll cut on Monday/Tuesday.
Also @zijianjoy regarding your point about the logos, yes we’ll keep the
1
and2
logos for the copyright situation. We have this in our mind.When fixing the image group items on Create Notebook page, please note that this is intended to show
1
and2
instead of VSCode and Rstudio logos due to license issue:Reference: https://github.com/kubeflow/kubeflow/pull/5884 https://github.com/kubeflow/kubeflow/pull/5823
cc @kimwnasptd @annajung