-
Notifications
You must be signed in to change notification settings - Fork 37
Labels
bugSomething isn't workingSomething isn't working
Description
The disk size does not change via terraform. If VM is running, terraform says OK. But the disk size does not change.
Terraform will perform the following actions:
# xenorchestra_vm.vm_projects["test-vm"] will be updated in-place
~ resource "xenorchestra_vm" "vm_projects" {
id = "6689dd5c-9258-e516-1d45-239f0d5244bb"
tags = [
"test",
"ubuntu",
]
# (25 unchanged attributes hidden)
~ disk {
~ size = 21474836480 -> 32212254720
# (7 unchanged attributes hidden)
}
# (3 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
xenorchestra_vm.vm_projects["test-vm"]: Modifying... [id=6689dd5c-9258-e516-1d45-239f0d5244bb]
xenorchestra_vm.vm_projects["test-vm"]: Still modifying... [id=6689dd5c-9258-e516-1d45-239f0d5244bb, 10s elapsed]
xenorchestra_vm.vm_projects["test-vm"]: Still modifying... [id=6689dd5c-9258-e516-1d45-239f0d5244bb, 20s elapsed]
xenorchestra_vm.vm_projects["test-vm"]: Modifications complete after 26s [id=6689dd5c-9258-e516-1d45-239f0d5244bb]
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
If VM is turned off, we get an error.
xenorchestra_vm.vm_projects["test-vm"]: Modifying... [id=6689dd5c-9258-e516-1d45-239f0d5244bb]
Error: jsonrpc2: code 13 message: VM state is halted but should be running: {"objectId":"6689dd5c-9258-e516-1d45-239f0d5244bb","expected":"running","actual":"halted"} with xenorchestra_vm.vm_projects["test-vm"], on vm-projects.tf line 13, in resource "xenorchestra_vm" "vm_projects": 13: resource "xenorchestra_vm" "vm_projects"
Terraform v1.8.2
on darwin_amd64
- provider registry.terraform.io/hashicorp/local v2.5.1
- provider registry.terraform.io/vatesfr/xenorchestra v0.29.0
Proposed changes:
- allow changing the configuration of a shutdown virtual machine
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working