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

fix: add vm to existing vm group #2260

Conversation

burnsjared0415
Copy link
Collaborator

@burnsjared0415 burnsjared0415 commented Sep 12, 2024

Description

Updates r/sphere_compute_cluster_vm_group to allow for additional virtual machines to be adding or removed from a VM Group.

Acceptance tests

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

Output from acceptance testing:

Running tool: /usr/local/bin/go test -timeout 30s -run ^TestAccResourceVSphereComputeClusterVMGroup_basic$ github.com/hashicorp/terraform-provider-vsphere/vsphere

ok  	github.com/hashicorp/terraform-provider-vsphere/vsphere	(cached)

Running tool: /usr/local/bin/go test -timeout 30s -run ^TestAccResourceVSphereComputeClusterVMGroup_update$ github.com/hashicorp/terraform-provider-vsphere/vsphere

ok  	github.com/hashicorp/terraform-provider-vsphere/vsphere	(cached)

...

Release Note

r/sphere_compute_cluster_vm_group: Updates to allow for additional virtual machines to be adding or removed from a VM Group.

References

Closes #1878

@github-actions github-actions bot added provider Type: Provider needs-review Status: Pull Request Needs Review labels Sep 12, 2024
@burnsjared0415 burnsjared0415 force-pushed the bug/Failed-to-add-servers-to-an-exist-vm-group-in-vsphere-provide branch from 1997e0f to 235bf53 Compare September 12, 2024 21:43
@github-actions github-actions bot added the documentation Type: Documentation label Sep 12, 2024
@burnsjared0415 burnsjared0415 force-pushed the bug/Failed-to-add-servers-to-an-exist-vm-group-in-vsphere-provide branch from 235bf53 to 9ceaafe Compare September 16, 2024 12:01
I have added code to allow for existing groups to be updated with new vm's, this new code needs cluster import to be ran first on vm group.

hashicorp#1878

Signed-off-by: Jared Burns <[email protected]>
@burnsjared0415 burnsjared0415 force-pushed the bug/Failed-to-add-servers-to-an-exist-vm-group-in-vsphere-provide branch from 9ceaafe to d9e15d2 Compare September 16, 2024 12:07
@burnsjared0415 burnsjared0415 self-assigned this Sep 16, 2024
@tenthirtyam tenthirtyam changed the title fix: r/vsphere_compute_cluster_vm_group add vm to exist group fix: add vm to existing vm group Sep 16, 2024
@tenthirtyam tenthirtyam added this to the v2.9.2 milestone Sep 16, 2024
@tenthirtyam tenthirtyam added area/clustering Area: Clustering and removed documentation Type: Documentation labels Sep 16, 2024
@tenthirtyam tenthirtyam self-requested a review September 16, 2024 15:47
Updates `r/sphere_compute_cluster_vm_group` to allow for additional virtual machines to be adding or removed from a VM Group.

Ref: hashicorp#1878

Signed-off-by: Jared Burns <[email protected]>
@tenthirtyam tenthirtyam force-pushed the bug/Failed-to-add-servers-to-an-exist-vm-group-in-vsphere-provide branch from d9e15d2 to 689410b Compare September 16, 2024 16:15
@github-actions github-actions bot added the documentation Type: Documentation label Sep 16, 2024
@tenthirtyam tenthirtyam marked this pull request as ready for review September 16, 2024 16:26
@tenthirtyam tenthirtyam requested a review from a team as a code owner September 16, 2024 16:26
@burnsjared0415 burnsjared0415 force-pushed the bug/Failed-to-add-servers-to-an-exist-vm-group-in-vsphere-provide branch from 37300c4 to 8956103 Compare September 16, 2024 16:52
@burnsjared0415 burnsjared0415 force-pushed the bug/Failed-to-add-servers-to-an-exist-vm-group-in-vsphere-provide branch from 8956103 to 1a357c7 Compare September 16, 2024 17:11
Copy link
Collaborator

@tenthirtyam tenthirtyam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed with Jared. LGTM and works as expected.

@tenthirtyam tenthirtyam removed documentation Type: Documentation needs-review Status: Pull Request Needs Review labels Sep 16, 2024
@tenthirtyam tenthirtyam merged commit 6b14937 into hashicorp:main Sep 16, 2024
4 checks passed
Copy link

This functionality has been released in v2.9.2 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

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 github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/clustering Area: Clustering provider Type: Provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to add servers to an exist vm group in vsphere provider
3 participants