You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m not able to configure cloud-init while cloning VM. If I just clone the VM using terraform and configure cloud-init manually it works like a charm.
To Reproduce
I want to create a VM on a node, using a template on a different one. Without the initialization bloc it’s ok. With the block the VM is correctly created but terraform fails with :
│ Error: error updating VM: the requested resource does not exist
│
│ with proxmox_virtual_environment_vm.test_vm,
│ on main.tf line 1, in resource "proxmox_virtual_environment_vm" "test_vm":
│ 1: resource "proxmox_virtual_environment_vm" "test_vm" {
I experienced this issue when I didn't specify a datastore_id under the initialization block. I don't have local-lvm, which seems to be the default. Specifying the datastore_id fixed it for me. The error message in this case is kind of hard to decipher.
bpg
changed the title
Setting cloud-init while cloning VM
Confusing error message when cloning a VM with cloud-init to a non-default datastore
Aug 7, 2024
Describe the bug
I’m not able to configure cloud-init while cloning VM. If I just clone the VM using terraform and configure cloud-init manually it works like a charm.
To Reproduce
I want to create a VM on a node, using a template on a different one. Without the
initialization
bloc it’s ok. With the block the VM is correctly created but terraform fails with :Any idea ?
The text was updated successfully, but these errors were encountered: