GitHub user vishesh92 added a comment to the discussion: vGPU Tesla P100 does 
not apear in Compute Offering

@DaniloMurbach As of now the options are hardcoded in the UI. You can always 
create the compute offering using API.
After https://github.com/apache/cloudstack/pull/11143/ is merged, you will be 
able to set the Compute Offering via UI.

To create using `cmk`, you can use the below command.
```bash
cmk create serviceoffering name=test123 cpunumber=1 cpuspeed=500 memory=1024 
serviceofferingdetails[1].key=pciDevice serviceofferingdetails[1].value="Group 
of NVIDIA Corporation GP100GL [Tesla P100 PCIe 16GB] GPUs" 
serviceofferingdetails[2].key=vgpuType 
serviceofferingdetails[2].value=passthrough diskofferingstrictness=false
```

You need to ensure that the value for `serviceofferingdetails[1].value=` 
matches with group name in xenserver. You can check the group name with command 
 `xe gpu-group-list`. Since you want to use vGPUs, replace `passthrough` with 
the required profile e.g. `GRID P100-1B` or `GRID P100-2B`.


GitHub link: 
https://github.com/apache/cloudstack/discussions/11267#discussioncomment-13861232

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to