kthcloud / console

kthcloud web console
https://cloud.cbh.kth.se
MIT License
3 stars 3 forks source link

GPU leasing failing #189

Closed harsha5500 closed 4 months ago

harsha5500 commented 5 months ago

Describe the bug Unable to lease available and free GPUs.

To Reproduce Steps to reproduce the behavior:

  1. Go to Admin tool -> Choose user Harsha -> Vm Per
  2. Lease GPU RTX A5000
  3. No error, the GPU is not attached. No error message.

Would be nice to see logs if available for the console app when GPU requests are initiated.

pierrelefevre commented 5 months ago

@harsha5500 bug is tracked go-deploy, console repo only houses the frontend code.

See https://github.com/kthcloud/go-deploy/issues/421

pierrelefevre commented 5 months ago

The issue is such that we don't get any error from cloudstack, just a 500 type "something went wrong" but I agree it should probably toast a snackbar telling the user it didn't attach.

I'm surprised you can't see it in the async job banner at the bottom, next to attach GPU should say "Failed" but perhaps the error is occurring after we already think it's done

harsha5500 commented 4 months ago

Ah just to clarify. Yes the async job banner does report the job failed. For a normal user it's absolutely fine.

But I am unable to find information that I can use to debug. I understand the limitation of Cloud Stack.

Will close this issue and continue of go-deploy for the GPU issue.