Open alex4108 opened 1 year ago
I also have this error on creating six VMs
This issue is stale because it has been open for 60 days with no activity. Please update the provider to the latest version and, in the issue persist, provide full configuration and debug logs
This issue was closed because it has been inactive for 5 days since being marked as stale.
We have the same issue on latest master.
same issue on v3.0.1-rc1
same issue on v3.0.1-rc1
Same issue here on v3.0.1-rc1 when creating 5 vm at once then launching small "remote-exec" bash command. The four first vm are OK then the last one get this issue.
Hopefully, my terraform is idempotent so I can just relaunch the terraform apply.
Did you find any fix or workaround ?
We are seeing this too, however when creating just a single LXC container
i have the same issue the creating more than 1 VM
tldr; When trying to create 3 qemu VMs on the same host (slowly), the provider is unable to handle the transient 599 error raised by the proxmox API, causing an error during apply.
proposed solution to handle & retry on 599 errors
Terraform code:
Plan:
Apply the plan, note parallelism 1 to try and slow things down.
Relevant tflog: