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

Changing the VM name forces a reboot #625

Closed
ecov773 opened this issue Aug 11, 2023 · 1 comment
Closed

Changing the VM name forces a reboot #625

ecov773 opened this issue Aug 11, 2023 · 1 comment
Assignees
Labels

Comments

@ecov773
Copy link

ecov773 commented Aug 11, 2023

Nutanix Cluster Information

PC 2020.11 and earlier

Terraform Version

0.13.x

Affected Resource(s)

nutanix_virtual_machine

Terraform Configuration Files

resource "nutanix_virtual_machine" "vm" {
name = var.vm_name
cluster_uuid = data.nutanix_cluster.cluster.id
num_vcpus_per_socket = "2"
num_sockets = "1"
memory_size_mib = 1024

project_reference = {
"kind" = "project",
"name" = "my-project"
"uuid" = "my-project-id"
}

Expected Behavior

VM should not be rebooted

Actual Behavior

VM reboots when name is changed

Steps to Reproduce

Create a VM
Change the VM name
VM reboots

References

Here I found the same problem but when adding the VM to a project, I think the fix is easy and you just need to remove the hotPlugChange line for the name entry (https://github.com/nutanix/terraform-provider-nutanix/pull/232/files)

Important Factors

#0000 <!---Github Issue number --->

@abhimutant abhimutant added the bug label Sep 25, 2023
@abhimutant
Copy link
Collaborator

Merged PR #626 .

@abhimutant abhimutant self-assigned this Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants