Skip to content
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

Destroy container fails with "500 CT not running" error #712

Closed
bennettsmj opened this issue Mar 3, 2023 · 0 comments · Fixed by #728
Closed

Destroy container fails with "500 CT not running" error #712

bennettsmj opened this issue Mar 3, 2023 · 0 comments · Fixed by #728

Comments

@bennettsmj
Copy link

bennettsmj commented Mar 3, 2023

I am new to this provider, and relatively inexperience with Terraform to be honest, but when trying to destroy a container that's not running (e.g., vmid 501) I get 500 CT 501 not running. I can see in my packet capture that it has 3 attempts to stop the container before giving up; that is 3 x POST /api2/json/nodes/pve/lxc/501/status/stop. If I start the container and try again all goes well. I've not tried any VMs yet, just CTs.

I am using version 2.9.13 of the provider and rolling back to release 2.9.11 seems to fix this issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants