-
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
bind: address already in use - 0.8.0 #4360
Comments
Also, all other 69 allocations deployed to healthy, it was just this one. |
Nope, the |
Hi, on a side note, do you have a reschedule block. (This could help reallocating the allocation elsewhere) For me restarting the Docker service is usually adequate to make Nomad reschedule the jobs. |
Ah, I do not have a |
@djenriquez I am going to close since there isn't enough information but we can definitely reopen as you gather more next time you hit this. A few suggestions:
|
Thanks @dadgar! Yea just realized 0.8.3 doesn't run reschedules during deploys. Thanks for the info. |
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. |
Reference #2402, rarely our deployments run into the
bind: address already in use
issue, but they do. Copying + pasting from my comment in #2402:Not sure if this is fixed. Running Nomad v0.8.0 saw this in a deployment of a docker task with a count of 70:
I can't get this thing to get out of the pending state =/. All future deployments for this job fail because of the allocation that is stuck
pending
. I had to drain the node it was on then disable the drain.Any ideas?
Reproduction steps
This issue is very hard to reproduce, as I have only seen it 2-3 times in the past month for our environment which perform deploys few times a day.
Nomad Client logs (if appropriate)
Maybe a quick solution is if the address was not released by the OS or docker for some reason, to have Nomad try a different port?
The text was updated successfully, but these errors were encountered: