-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Scheduling Jobs with Docker Fails with Error "bind: address already in use" #1814
Comments
Hey, Can you check if any other allocation was assigned that port? |
@dadgar |
It is something known to nomad, I was more asking if you could see by listing the allocs if multiple were assigned that port. It would help determine if there was a bug |
Okay let me see I can check this when it occurs again. It's there an easy Regards, |
PR #1938 fixes an issue around this. Given the detail it is hard to tell if this fixes the particular bug reported but I think it may. If it comes up post 0.5 we will re-open |
FYI I am running 0.5.2 and saw
docker version |
still find this using Nomad v0.6.0, when i scheduling 5 job at same ip Nomad VersionNomad v0.6.0 DockerDocker version 1.9.1 Job Summary
alloc-status
|
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
0.3.2
Operating system and Environment details
Ubuntu 14.04 LTS
Issue
Job run using
nomad
runs into the following issue from the docker driverReproduction steps
We do continuous deployment in the clusters (every hour) and we see this error once in 1-2 days.
This raises a question on how
nomad
is allocating a free port and supplying that to thedocker
driver. In this process it appears as if it is allocating a port that is already used by one of the already deployed containers.The text was updated successfully, but these errors were encountered: