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

Create notebooks page and get [500] error #7441

Closed
momaek opened this issue Jan 5, 2024 · 1 comment · Fixed by #7485
Closed

Create notebooks page and get [500] error #7441

momaek opened this issue Jan 5, 2024 · 1 comment · Fixed by #7485
Labels
Milestone

Comments

@momaek
Copy link

momaek commented Jan 5, 2024

/kind bug

What steps did you take and what happened:

Enter notebook page and get this error

[500] An error occured in the backend. http://xxx/jupyter/api/gpus
Screenshot 2024-01-05 at 19 08 40

What did you expect to happen:
Can get GPU Vendor and GPUs successfully

Anything else you would like to add:
logs from jupyter :

2024-01-05 11:08:37,929 | kubeflow.kubeflow.crud_backend.errors.handlers | ERROR | Caught and unhandled Exception!
2024-01-05 11:08:37,929 | kubeflow.kubeflow.crud_backend.errors.handlers | ERROR | module 'apps.common.status' has no attribute 'capacity'
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 867, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 852, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/src/apps/common/routes/get.py", line 118, in get_gpu_vendors
    installed_resources.update(status.capacity.keys())
AttributeError: module 'apps.common.status' has no attribute 'capacity'

Environment:

  • Kubeflow version: build_version dev_local, master a642df7e899f9c313f4c1072189d7ee6491bdcf2
  • kfctl version: (use kfctl version):
  • Kubernetes platform: kubeadm version: &version.Info{Major:"1", Minor:"28", GitVersion:"v1.28.4", GitCommit:"bae2c62678db2b5053817bc97181fcc2e8388103", GitTreeState:"clean", BuildDate:"2023-11-15T16:56:18Z", GoVersion:"go1.20.11", Compiler:"gc", Platform:"linux/amd64"}
  • Kubernetes version:
kubectl version:
Client Version: v1.28.4
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.4
  • OS: 22.04.3 LTS (Jammy Jellyfish)
@thesuperzapper
Copy link
Member

@momaek thanks for raising this, we are tracking a fix for 1.8.1 in #7453 (comment)

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

Successfully merging a pull request may close this issue.

2 participants