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
Ubuntu 18.04.4 LTS and Ubuntu 20.04.1 LTS docker version 19.03.6 and 19.03.8
Issue
Define a service/system job that uses group-level network declaration and let nomad register services with address_mode = driver.
Expectation: Service is registered with internal network address (like from a CNI plugin).
Observation: Service is registered without address (as in address_mode = host).
Alternative possible scenario: Display an error message / warning that address_mode = driver is not supported anymore.
Motivation: Do not use the deprecated way to declare networks, utilize CNI plugins and other runtime behaviors and still support direct communications.
Steps to reproduce
Start nomad with consul integration
Run job
Check consul like:
> for type in group-driver group-host task-driver; do curl --silent http://127.0.0.1:8500/v1/catalog/service/bug-$type | jq --raw-output \"$type': \(.[0].ServiceAddress):\(.[0].ServicePort)"'; done
group-driver: 127.0.0.1:5678
group-host: 127.0.0.1:23346
task-driver: :5678
I would prepare a PR etc but I do not understand Nomad's architecture (and how information are passed around) good enough to identify how to fix this the correct way.
The text was updated successfully, but these errors were encountered:
My issues/use-case was duplicated in #8801 that has been fixed in v1.0.0 - apparently I should have described the high-level use-case and not the way how it was done in older versions. I will close this issue to reflect that. @tgross@nickethier I am not sure what your plan with this issue was - (it is assigned but nothing visual happened in four month). I am not sure whether #9177 is still an issue/fixed, too - based on my understand it is about something else. Let it to you/the original reporter to reopen it if needed.
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 v0.12.1 (14a6893a250fc5f652eee4c7b52d8f95c3185aef)
Operating system and Environment details
Ubuntu 18.04.4 LTS and Ubuntu 20.04.1 LTS
docker version 19.03.6 and 19.03.8
Issue
Define a service/system job that uses group-level network declaration and let nomad register services with
address_mode = driver
.Expectation: Service is registered with internal network address (like from a CNI plugin).
Observation: Service is registered without address (as in
address_mode = host
).Alternative possible scenario: Display an error message / warning that
address_mode = driver
is not supported anymore.Motivation: Do not use the deprecated way to declare networks, utilize CNI plugins and other runtime behaviors and still support direct communications.
Steps to reproduce
Example job file
Experiment
I checked the following patch applied on today's master version:
It gets better at least for this use-case:
I would prepare a PR etc but I do not understand Nomad's architecture (and how information are passed around) good enough to identify how to fix this the correct way.
The text was updated successfully, but these errors were encountered: