terraform-provider-vsphere icon indicating copy to clipboard operation
terraform-provider-vsphere copied to clipboard

feat: Add support for vGPU

Open aarnaud opened this issue 4 years ago • 9 comments

Description

Original implementation of PciPassthrough can't be use for vGPU because it's link to host systemId This PR add support for vGPU

Acceptance tests

  • [ ] Have you added an acceptance test for the functionality being added?
  • [x] Have you run the acceptance tests on this branch?

Release Note

Release note for CHANGELOG:

support vGPU

References

Resolves #1265

aarnaud avatar Mar 31 '21 03:03 aarnaud

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Mar 31 '21 03:03 hashicorp-cla

@appilon, I've requested access to a GPU-enabled testbed to review and evaluate this pull request.

Ryan

tenthirtyam avatar Feb 10 '22 01:02 tenthirtyam

May wish to consider finding the devices with VirtualDeviceList.SelectByBackingInfo that will be in in a future govmomi version.

See. https://github.com/vmware/govmomi/pull/2772

tenthirtyam avatar Mar 02 '22 17:03 tenthirtyam

Hi @aarnaud,

I hope all is well. As one of the project collaborators, I've started to review this pull request and run some tests in one of my available testbeds.

I know it's been a while, but if you could share any example config and the guest OS(s) and GPUs tested in this would be most helpful.

You can reply here or direct, if you like.

Ryan Johnson Staff II Solutions Architect | VMware, Inc. [email protected]

tenthirtyam avatar Mar 17 '22 18:03 tenthirtyam

Hi, sorry for the delay,

An example:

resource "vsphere_virtual_machine" "vm" {
  ...
  firmware           = "efi"
  shared_pci_device_id = "grid_rtx8000-8q"
  ...
}

Maybe there is an other way now with latest version

aarnaud avatar Apr 23 '22 21:04 aarnaud

Thanks for the update, @aarnaud. I'll run another couple tests in the testbed to see if the expected results stick.

Ryan Johnson Staff II Solutions Architect | VMware, Inc.

tenthirtyam avatar Apr 23 '22 22:04 tenthirtyam

@tenthirtyam Is there any update on this? Could we do some testing to help this further along?

It would be awesome to have this merged and released :)

wilmardo avatar Jun 22 '22 07:06 wilmardo

Hi @wilmardo - at this time it's not planned for the v2.3.0 release milestones. If you have the availability to contribute, please build and test the branch/fork of the provider with the proposed changes to share your findings.

Ryan Johnson Staff II Solutions Architect | VMware, Inc.

tenthirtyam avatar Jun 22 '22 08:06 tenthirtyam

Merge conflicts resolved to aid when next reviewed for consideration. No ETA.

Ryan Johnson Senior Staff Solutions Architect | Product Engineering @ VMware, Inc.

tenthirtyam avatar Sep 11 '22 22:09 tenthirtyam

@tenthirtyam Hi, do you have any idea when this will be released?

Archicake avatar Nov 30 '22 15:11 Archicake

There's still a need for further testing on the pull request and to ensure it's the best implementation.

Note that if you look at the Milestone here in GitHub it's parked in the Backlog.

If you'd like to review and test the pull request by building from source, feedback and contributions are welcome.

tenthirtyam avatar Nov 30 '22 15:11 tenthirtyam

@tenthirtyam What is the status of the PR? What needs to happen to get this merged?

mristok avatar Nov 06 '23 16:11 mristok

@tenthirtyam What is the status of the PR? What needs to happen to get this merged?

https://github.com/hashicorp/terraform-provider-vsphere/pull/1378#issuecomment-1332379209

tenthirtyam avatar Nov 06 '23 16:11 tenthirtyam

What is the "further testing" you are referring to in the comment?

I would like to see this brought to completion, so I will start where @aarnaud left off and see what needs to get completed.

mristok avatar Dec 01 '23 17:12 mristok

I'm not using this anymore, It was more a PoC. Feel free to take over the PR

aarnaud avatar Dec 04 '23 16:12 aarnaud

superseded by https://github.com/hashicorp/terraform-provider-vsphere/pull/2113

tenthirtyam avatar Jan 12 '24 23:01 tenthirtyam

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Feb 12 '24 02:02 github-actions[bot]