apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
1.98k stars 1.09k forks source link

KVM host with GPU not showing GPU utilisation in Dashboard #7492

Open Noelantogerorge opened 1 year ago

Noelantogerorge commented 1 year ago
ISSUE TYPE
COMPONENT NAME

UI

CLOUDSTACK VERSION

4.17.2

CONFIGURATION

Cloudstack running as VM on Ubuntu 22.04 KVM running as bare metal on ubuntu 22.04 Used advance networking on configuration KVM has NVIDIA PCI CARD attached

SUMMARY

Having KVM with NVIDIA graphic card and I have configured passthrough on KVM host. According to Link I was able to configure an instance in cloudstack with KVM GPU and everything works well.

Still my dashboard doesn't recognise any GPU and also on log it is not fetching GPU details.

Is there anything else we have to configure to get GPU state on dashboard and also users can access it using system offering

image

STEPS TO REPRODUCE

Just add a kvm with gpu to cloudstack using the link above

EXPECTED RESULTS

We expected that KVM with GPU should be able to added to cloudstack and cloudstack should fetch GPU details and it should be shown in dashbooard just like other resources. Without using setting users should be able to create a VM with GPU with system offering

MejdiB commented 1 year ago

@Noelantogerorge @weizhouapache There is an old issue which is very similar to this one: https://github.com/apache/cloudstack/issues/5405

rohityadavcloud commented 3 months ago

This is unsupported for KVM hosts with GPUs, this only works with XenServer for now; while there are discussions, this can only be addressed when CloudStack will have GPU as a first-class feature.