-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
PVE API error HTTP 599 response - Reason: Too many redirections
#1413
Comments
it is marked as tainted; you can explicitly un-taint it ( |
I can get rid of the situation by removing the VM (if it is newly created). However, I don't think your suggestion would work since the VM is already created. Because on next try, it is trying to re-create the VM. No, I don't mark the item as tainted but when it fails, flow taints the item. |
I am able to reproduce this issue. |
The PVE API error While we can implement better error-handling logic—such as storing an incomplete VM resource in the state so that subsequent "apply" actions update it rather than creating a new one—this approach introduces additional challenges in handling those updates. The root cause of the |
HTTP 599 response - Reason: Too many redirections
I've been able to get 599 when creating several virtual machines in one go. They are first cloned off of a template in one node and started on a different node. Usually cloning goes through and VM seems to be made, but is never started due to previous error. |
This seems to be an upstream issue: https://lore.proxmox.com/pve-devel/8392cb10-bec5-402d-bab1-6a1351049370@proxmox.com/t/#u |
Describe the bug
When vm creation fails - the error I got
to complete: error retrieving task status: received an HTTP 599 response - Reason: Too many redirections
, re-plan and re-apply fails to apply the replace in the sate for virtual_machine. VM is already created on first try but vm stuck at stopped status. However, the tf provider wasn't able to recover it from that state. I am already using GCS to store the state so that way I am generating the plan where I left off.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected to see that it recovers the VM from its latest state.
TF_LOG=DEBUG terraform apply
): apply.logThe text was updated successfully, but these errors were encountered: