Open rogermartensson opened 1 year ago
Hello, rogermartensson! 🖐
Thank you for submitting an issue for this provider. The issue will now enter into the issue lifecycle.
If you want to contribute to this project, please review the contributing guidelines and information on submitting pull requests.
The suggested steps to reproduce are opposite of the issue context.
Description Context: datastore_id
to datastore_cluster_id
Reproduction Steps:
_“Replace
datastore_cluster_id
with adatastore_id
._
Can you confirm if both cases produce the same negative result?
Storage migration from Datastore (datastore_id) to Datastore Cluster (datastore_cluster_id) works.
Storage migration from Datastore Cluster to Datastore does not work.
- datastore_cluster_id = "group-p1732" -> null
~ datastore_id = "datastore-1731" -> "datastore-1185"
I see a "Relocate" message appearing in vCenter but no disks are relocated.
Now that you asked me I looked in the Advanced view (per disk) in the migration wizard on the vCenter-server. Only the configuration file was migrated. Not the disks.
Community Guidelines
Terraform
1.3.6
Terraform Provider
2.2.0
VMware vSphere
vSphere 6.7
Description
Migration between regular Datastores and Datastore Clusters doesn't seem to work. Changes are made but no migration is started when running
terraform apply
.Affected Resources or Data Sources
resource vsphere_virtual_machine
Terraform Configuration
This is an not a fully working example of what I use to create a VM. Because environments may differ. The important bit is the settings for "datastore_id" and "datastore_cluster_id".
Debug Output
Nothing out made on vSphere. Terraform outputs that changes are made to datastore_id and datastore_cluster_id.
Panic Output
No response
Expected Behavior
Expected the VM to migrate to and from Datastores and Datastore Clusters.
Actual Behavior
Nothing happens in vSphere environment.
Steps to Reproduce
1) Create VM on Datastore Cluster 2) Replace datastore_cluster_id with a datastore_id 3) terraform apply
Environment Details
No response
Screenshots
No response
References
No response