Open ghost opened 3 years ago
Recommend updating the context of this issue. The enhancement request is the to support a datastore cluster.
Ryan
Hi @tenthirtyam. It may be a fantastic feature! Will it be planned in the next milestone ?
This seems like a highly valued feature. Is there an ETA?
I wanted to note that Terraform currently supports using datastore clusters:
https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/data-sources/datastore_cluster
Would be nice to be able to follow a similar pattern here in Packer.
Labels updated. The scope would need cover each of the builders a post-processors.
This issue was originally opened by @vheon as hashicorp/packer#10004. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request. If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
From the documentation doesn't seems to be possible to have a packer build with the
vsphere-iso
builder specifying a Storage DRS, only a specific Datastore is allowed. I've tried to set the Storage DRS name as thedatastore
property but it fails with:Use Case(s)
Usually using the Storage DRS allows to keep the same configuration even if new datastores are added for more storage.
Potential configuration
I'm not sure if new configuration would be required. Packer could first search for Storage DRS and look for a match of the
datastore
property and if found use it otherwise look for a match of single datastores.Potential References
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.resmgmt.doc/GUID-827DBD6D-08B7-4411-9214-9E126671457F.html