Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for NVME controllers #1276

Open
hutger opened this issue Dec 10, 2020 · 26 comments
Open

Add support for NVME controllers #1276

hutger opened this issue Dec 10, 2020 · 26 comments
Labels
acknowledged Status: Issue or Pull Request Acknowledged area/storage Area: Storage area/vm Area: Virtual Machines enhancement Type: Enhancement
Milestone

Comments

@hutger
Copy link

hutger commented Dec 10, 2020

Description

Hi there,

I've created a template using Packer with three attached NVME disks.

image

When I try to run Terraform for deploying an instance using this template, I get the message:

Error: there must be at least one disk specified

It seems that Terraform is not able to find the NVME disks attached (since the only opinions are pvscsi, buslogic, etc, but none NVME), even though I add an extra_config informing NVME is presenting:

disk_size_gb = var.vmRootDiskSize
scsi_type = var.vmScsiType
extra_config = {
"nvme0.present" = "True"
"nvme0.0.present" = "True"

PS: If we deploy a new instance using the Template manually, the instance boots up as expected.

References

As per the documentation, scsi_type NVME is not supported.
https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/virtual_machine#scsi_type

Community Note

Is the support for NVME on the roadmap (or maybe there's a workaround for now)?

Thanks for any suggestion or advice,

Hutger

@hutger hutger added the enhancement Type: Enhancement label Dec 10, 2020
@apollo13
Copy link

I do not think it makes sense to extend scsi_type to include NVME. it will need it's own nvme_ options like ide_ & sata_.

@hutger
Copy link
Author

hutger commented Jan 19, 2021

Hi @apollo13 , would you propose an alternative approach for rolling out instances with NVME attached?

@apollo13
Copy link

I don't think it is currently possibly with the terraform provider. If you do terraform import of an existing machine with nvme disks you will see that those are not discovered at all. I fear there are plenty of changes needed :/

@eizedev
Copy link

eizedev commented Feb 15, 2021

+1 for adding support for NVME controller (We would like to change the default from pvscsi to nvme in the future)

@rhoughton-pivot
Copy link

I am needing to recreate my template (made in Packer, also a HashiCorp project) to not use nvme because of this issue

@alexanderek
Copy link

When will this be supported?

@vash1028
Copy link

Any update on this?

@ryan-peterson3
Copy link

This is going to become a thing as NVME becomes the standard. Is support coming on this?

@lostplan
Copy link

+1 this would be really useful

@tenthirtyam tenthirtyam changed the title NVME Boot UP Add support for NVME Feb 4, 2022
@tenthirtyam tenthirtyam changed the title Add support for NVME Add support for NVME controllers Feb 4, 2022
@tenthirtyam tenthirtyam added the acknowledged Status: Issue or Pull Request Acknowledged label Feb 4, 2022
@tenthirtyam tenthirtyam added area/vm Area: Virtual Machines area/storage Area: Storage labels Feb 22, 2022
@tenthirtyam tenthirtyam added this to the Backlog milestone Mar 21, 2022
@johnypony3
Copy link

hi @tenthirtyam, any chance this can be re-prioritized? nvme is available to be built via packer but not deployed via terraform. im being asked to implement this. this ticket took over a year to get acknowledged.

thanks!

@rjungnitz
Copy link

Hi @tenthirtyam, I'd like to 2nd @johnypony3 request. Our understanding of the nvme controller is that it improves performance when the backend disk is NVMe SSD. We are trying to build high performance Oracle and MS SQL database systems.

@tenthirtyam
Copy link
Collaborator

tenthirtyam commented Mar 30, 2022

Acknowledged. This can be researched for an upcoming milestone based on the number of community reactions 👍.

If you have not added your own 👍, please do so on the originating description.

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.

@tenthirtyam tenthirtyam modified the milestones: Backlog, v2.3.0 Mar 30, 2022
@tenthirtyam tenthirtyam self-assigned this Mar 30, 2022
@patrikcze
Copy link

+1 for adding support for NVME controller

@thewayofvikings
Copy link

+1 for adding support for NVME controller 👍

@tenthirtyam
Copy link
Collaborator

@patrikcze and @thewayofvikings - upvotes are only counted on the opening description, not comments.

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.

@tenthirtyam tenthirtyam removed their assignment Aug 11, 2022
@tenthirtyam tenthirtyam modified the milestones: v2.3.0, Backlog Sep 8, 2022
@Hogusss
Copy link

Hogusss commented Oct 17, 2022

Hi, is there a possibility to plan this feature for 2.4 ? It's a big show stopper for us to use Terraform in prod because nvme is our standard. Would be amazing to have it.
thanks

@tigattack
Copy link
Contributor

Acknowledged. This can be researched for an upcoming milestone based on the number of community reactions 👍.

If you have not added your own 👍, please do so on the originating description.

Ryan Johnson Staff II Solutions Architect | VMware, Inc.

This seems to be the most upvoted open issue in the repository at the moment, it would be great if it could be reconsidered for inclusion in a release milestone.

@rjungnitz
Copy link

I'm still in favor of adding support for the NVMe controller, but I just wanted to point out that depending on what backend storage is being used, the use of this controller can actually lead to translation back to SCSI, thus negatively impacting performance. So check with your storage vendor before selecting this controller.

@JM2K69
Copy link

JM2K69 commented May 3, 2023

Any Update ??

@tenthirtyam
Copy link
Collaborator

Any Update ??

Please refer to the attached milestone for this enhancement request.

@nathan-owen
Copy link

Is there really no update? I know the previous update says to look at the attached milestone, but I see that this was on the 2.3 milestone which has been completed. This is basically putting implementation of terraform on complete hold. It's very concerning to see the lack of meaningful development on this provider.

@Elegant996
Copy link

It was added to the backlog in 2022. Not really fair to say why wasn't it part of it 2.3 or even 2.4 when it's part of the backlog.

Remember, you are also allowed to contribute ;)

@nathan-owen
Copy link

Yeah I get that contributions are welcome, but based on the backlog of pull requests, it doesn't seem like there's a lot of movement on this provider besides small bug fixes.

@eizedev
Copy link

eizedev commented Mar 22, 2024

any news?

@tigattack
Copy link
Contributor

After a year, this is still the most upvoted open issue in the repository, and by a decent margin too. I must wonder why it's still stuck in the backlog after so long if issues are in fact prioritised by the number of 👍 reacts, as the issue template claims.

Sure, it would be nice if someone from the community would contribute this feature, but I'd still hope that a first-party, "official" provider would be better supported by HashiCorp, especially given that the README explicitly states that such providers are maintained by HashiCorp's Terraform team.

@msproul-onezero
Copy link

+1 for adding support for NVME controller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledged Status: Issue or Pull Request Acknowledged area/storage Area: Storage area/vm Area: Virtual Machines enhancement Type: Enhancement
Projects
None yet
Development

No branches or pull requests