Hi,
currently we are facing random issues in using our consul remote backend.
There are random issues with end up in the following error (not always, though)
Error releasing the state lock
Error message: consul lock was lost
Terraform acquires a lock when accessing your state to prevent others....
consul lock was lost
After that consul has “orphaned”.lock
and .lockinfo
keys.
Using consul debug
logs were collected however I cannot map a warning or error messages to a root cause while terraform already sent the DELETE request on .lock
. Not sure if the TTL expired is the critical one.
[DEBUG] consul.state: Session xxxxxxxxxxxxxxxxxxxxxxxxxxx TTL expired
Anybody else run into such issues before?
Consul cluster is running within a container environment and show all green