-
Hi My cloudstack 4.15, on Ubuntu. 20 , running on KVM I bought Nvidia Grid K1 , as mentioned in the Service Offering mentioned. I create a new cluster and host for this. However, after I created the host with Grid K1 card, the service offering plan not able to create, and obviously it seem the VM in Hypervisor not detected hav Grapic card. When create a service Offering, it show error , which i aldy choose. Can I know if this GPU function actually i s not working ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I don't think you'll have any chance on using CS with a gpu these days, the only way that seem to work is by having a xen host with a supported gpu and full passthrough mode only. |
Beta Was this translation helpful? Give feedback.
-
i bought Nvidia Grid K1 ( a refurbish unit) , just to test out . But seems not able to work . May be this Cloudstack functions is not more working. The Cloudstack GUI just put there to show only. |
Beta Was this translation helpful? Give feedback.
-
Hi! I've used Nvidia GPUs with CloudStack in a totally manual way. You will need to do PCI passthrough. Some steps:
Well, at this point you "could" passthrough a GPU to an instance. But, you will need to launch instance as ROOT, so you can choose the host (ACS knows nothing about your host that has GPU). If you are using a compute offering that inject an extra-config that makes the instance use some pci bus, so you should launch it in a host that has this pci bus id. In the end, you should have an instance that access de PCI where is the GPU. Install the nvidia driver in instance and be happy. These steps aren't so simples, there are many other details, but, this is a fast guideline to some way to do this work. :) |
Beta Was this translation helpful? Give feedback.
Hi! I've used Nvidia GPUs with CloudStack in a totally manual way. You will need to do PCI passthrough. Some steps:
enable some global configs like 'allow.additional.vm.configuration.list.kvm = devices,hostdev,driver,source,address,alias' and 'enable.additional.vm.configuration = true' in ACS.
enable features in hosts BIOS like Intel VT-d or AMD IOV.
use IOMMU to create groups and isolate PCIe bus.