-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Containers fail to start due to "(409 Client Error: Conflict ("Conflict. The name "<name>" is already in use by container . You have to remove (or rename) that container to be able to reuse that name."))" #3247
Comments
Tested with v0.55.0-rc3: This issue is not seen anymore where services are stuck in "Upgrading" /"Rolling-Back"/"Degraded" when upgrading/rollbacking/reconciling services. |
Rancher Release - v0.59.1 Containers fail to start due to "(409 Client Error: Conflict ("Conflict. The name "" is already in use by container . You have to remove (or rename) that container to be able to reuse that name."))". Unfortunately I cannot give you more information on how to reproduce this bug. |
@manei I am unable to reproduce. If you are launching services, it doesn't matter what host the containers are on. It's a matter of whether the same service with the same name exists in a particular stack. That's the only check that Rancher performs when adding services. If you are adding containers to a specific host, there is no name restriction for standalone containers in Rancher. I ended up looking in Docker and it looks like you might be hitting one of their open issues. What version of Docker are you using? |
@deniseschannon thanks for the quick response |
I'm getting same error, for Prometheus stack, config container didn't start after healthcheck fail:
agent restart didn't help, only deleting. Docker version 1.13.0, build 49bf474 |
Still having this issue randomly on rancher 1.6.10 and docker 17.04.0-ce |
Still having this issue randomly docker 18.03.1-ce |
This issue is almost 2.5 years old and can't be used to indicate issues with current releases. Please file a new issue with versions used and steps to reproduce so we can investigate. |
@thehackercat is that version even supported in rancher ? |
facing the same issue in Rancher V1.6 |
Any resolution , please provide me.. |
Docker -> preferences -> bug icon (top right) -> clean / purge data |
Server version - Build from master
Lot of container deployment failures are seen when trying to upgrade/rollback a service , reconcile a service.
This causes the service to be stuck in "Upgrading" /"Rolling-Back"/"Degraded" state for a very long time. Sometimes they are stuck forever.
Following error is seen when container deployment fails:
(409 Client Error: Conflict ("Conflict. The name "r-hello_hello123_1" is already in use by container b5e406b5dffb. You have to remove (or rename) that container to be able to reuse that name."))
The text was updated successfully, but these errors were encountered: