You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gentoo Linux smyrna 5.10.79 #1 SMP Sat Nov 20 20:01:24 MSK 2021 x86_64 Intel(R) Celeron(R) J4125 CPU @ 2.00GHz GenuineIntel GNU/Linux
Issue
Nomad is unable to create an allocation for job that binds to host_network when version is 1.2.4
On screenshot below you can see that Nomad is able to place allocations on hosts with version 1.2.3 and emits constraint missing on host with version 1.2.4
> nomad node status -verbose
ID DC Name Class Address Version Drain Eligibility Status
0b6ede59-f5fc-4ede-10a7-52b9edb090ec syria tyros <none> 192.168.130.1 1.2.3 false eligible ready
6d79a7df-de75-fd47-b6e7-c7ee0d5a33e7 syria antiochia <none> 192.168.130.10 1.2.3 false eligible ready
cffc3930-56f1-db51-e24d-cf7a45f31f47 pontus heraclea <none> 192.168.175.83 1.2.3 false eligible ready
ea5a3609-c47d-67c2-e324-7460caf8245e syria palmyra <none> 192.168.130.20 1.2.3 false eligible ready
5b66604b-e63f-93ba-814d-875279ec9cc8 asia pergamon <none> 192.168.230.10 1.2.3 false eligible ready
fc9d9ec1-7d6b-8f48-f4c4-4673f2ad6b7b asia smyrna <none> 192.168.230.1 1.2.4 false eligible ready
Hi @nahsi and thanks for raising this issue. I believe this is working as expected as the reserved_ports client configuration option is designed to detail ports which the Nomad client is not allowed to allocate. This functionality was until recently broken until #11728 was raised which fixed the behaviour. This change was shipped as part of the 1.2.4 release, which is why you are now experiencing the expected behaviour which might not have been the case previously.
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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Nomad v1.2.4 (9f21b72)
Operating system and Environment details
Gentoo
Linux smyrna 5.10.79 #1 SMP Sat Nov 20 20:01:24 MSK 2021 x86_64 Intel(R) Celeron(R) J4125 CPU @ 2.00GHz GenuineIntel GNU/Linux
Issue
Nomad is unable to create an allocation for job that binds to
![image](https://user-images.githubusercontent.com/28529663/150671267-59339c71-0536-4863-aad1-193b1eda06cb.png)
host_network
when version is 1.2.4On screenshot below you can see that Nomad is able to place allocations on hosts with version 1.2.3 and emits
constraint missing
on host with version 1.2.4host_network
is configured like this:Network is detected by nomad client:
Reproduction steps
host_network
to client configurationhost_network
Expected Result
Allocation is placed
Actual Result
Nomad is unable to place allocation with error:
constraint missing network <host_network> for port <reserved_port>...
Job file (if appropriate)
The text was updated successfully, but these errors were encountered: