-
Notifications
You must be signed in to change notification settings - Fork 452
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 disk migration when datastore_cluster_id
changes
#1546
Fix disk migration when datastore_cluster_id
changes
#1546
Conversation
datastore_cluster_id
changes
@tenthirtyam Can this be manualy reproduced and verified to be fixed? |
@appilon, yes! I can test this with some NFS-backed datastore clusters to confirm and will report back the results. Stay tuned! |
Status: Currently running some change of |
I've reviewed this change in my testbed under vSphere v7.0.3c with two NFS-backed datastore clusters. I can confirm that it resolves the linked issue.
Notes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #1546 (comment).
This functionality has been released in v2.1.0 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! |
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. |
Description
When changing the
datastore_cluster_id
of avsphere_virtual_machine
the disks are not migrated to datastores of the new datastore cluster because no storage migration is triggered. This PR fixes this.Acceptance tests
Have you added an acceptance test for the functionality being added?
No. There used to be acceptance tests for this functionality that have been disabled with Modify acceptance tests for simple test environment #1090 and removed with Linter fixes #1416.
Release Note
resource/virtual_machine
: Fix migration of all disks and configuration files when thedatastore_cluster_id
is changed on the resource. GH-1546References
Closes #1454
datastore_id
on ther/virtual_machine
does not apply to disk sub-resources #1268 (comment), which is different from Updating thedatastore_id
on ther/virtual_machine
does not apply to disk sub-resources #1268 itself.