Closed ItsMeBrianD closed 1 year ago
Update: this might be a duplicate of #188
Another update: I'm not fluent in go, but I think the issue may be caused here: https://github.com/bpg/terraform-provider-proxmox/blob/main/proxmoxtf/resource_virtual_environment_vm.go#L2124
if $dsp_target
includes the file extension already, this adds a redundant .qcow2
that seems to come up in the bug
Worked through this; using this seems to properly work for my use case:
disk_id="${datastore_id_target}:$imported_disk${disk_options}"
Not sure what other cases might be impacted by the change
Hi @0c370t, thanks for the report!
pvesm
call, which should be more reliable.
Describe the bug As a note; this is using an upstream wrapper; and I have also filed an issue there; however, I believethe issue likely stems here. I'm interacting with this using Pulumi, not terraform directly.
When attempting to create a VM Template with a Cloud Init drive, I am given the following error:
I've put the relevant code here: https://gist.github.com/0c370t/1fbaecbbbb32d18d7a9207e07c8b1e5b
To Reproduce Steps to reproduce the behavior:
/your/storage/root/qcow2
scsi0
Expected behavior I expected the VM to be created without errors.
Additional context It looks like the disk and the VM are getting created, it just isn't getting mounted / attached; see the screenshot:
To fix this in the UI, it is simply a matter of hitting "Add"