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

Docker conflict when running task collect vhosts #2

Open
neoformit opened this issue Jul 19, 2022 · 2 comments
Open

Docker conflict when running task collect vhosts #2

neoformit opened this issue Jul 19, 2022 · 2 comments

Comments

@neoformit
Copy link

neoformit commented Jul 19, 2022

This is probably due to the way I've written my playbook (but I'm not sure how...).
The docker commands seem to error on what looks like a race condition:

An unexpected docker error occurred: 409 Client Error for http+docker://localhost/v1.41/containers/rabbit_hole/exec:
Conflict ("Container 29438cdb01312bcbb1b3ecd4d47365057453dfd821d18f3c5c52ca890924cffe is restarting, wait until the container is running")

I tried SSHing in and killing the container before trying again - the issue repeats. Has anyone come across this?

Thanks

@gmauro
Copy link
Member

gmauro commented Jul 20, 2022

Check the container's log and try to figure out why it's restarting

@pmandreoli
Copy link

I had the same issue.
The container fails because it can't setup an SSL connection.
In my case, was due to the wrong certificate file permissions, I have solved changing the owner from root to rabbitmq. https://www.rabbitmq.com/troubleshooting-ssl.html#verify-file-permissions

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

No branches or pull requests

3 participants