-
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
Only one IP is recognized on host_network #23693
Comments
I add a pull request with tests : #23702 |
@tgross Let me know if you need something else please |
Heya @sbenoistmics, thanks for the report and PR! I'm on engineering community rotation this week, so I'll have a closer look at this sometime today or tomorrow. :) |
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
Nomad v1.8.0
BuildDate 2024-05-28T17:38:17Z
Revision 28b82e4
Operating system and Environment details
Linux XXX 5.10.0-31-amd64 #1 SMP Debian 5.10.221-1 (2024-07-14) x86_64 GNU/Linux
Issue
Even if you have two valid IP on the host network, only the first one is used for placement.
You cannot use both IP to allow application with non configurable port to be on the same host
Reproduction steps
In nomad client config add the network :
Have a host with two IP in that cidr configured, e.g.:
Submit the job spec below
Expected Result
Nomad deploy app on port 7000 on both IP 10.0.1.249 and 10.0.1.250
Actual Result
Nomad fail to deploy with error below :
Job file (if appropriate)
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
The text was updated successfully, but these errors were encountered: