Skip to content
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

NOMAD_ADDR_* variables incorrect with ipv6 #16550

Closed
valodzka opened this issue Mar 18, 2023 · 2 comments · Fixed by #16723
Closed

NOMAD_ADDR_* variables incorrect with ipv6 #16550

valodzka opened this issue Mar 18, 2023 · 2 comments · Fixed by #16723
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/service-discovery type/bug

Comments

@valodzka
Copy link
Contributor

valodzka commented Mar 18, 2023

Env

nomad 1.5.1, linux node with only ipv6 address

Issue

Nomad env vars have invalid format:

NOMAD_HOST_ADDR_http=2a01:4f8:111:1ae1::2:25013
NOMAD_ADDR_http=2a01:4f8:111:1ae1::2:25013

Expected Result

They should be like this:

NOMAD_HOST_ADDR_http=[2a01:4f8:111:1ae1::2]:25013
NOMAD_ADDR_http=[2a01:4f8:111:1ae1::2]:25013

Related issues

No address for services with IPv6 address in UI:
image

@jrasell
Copy link
Member

jrasell commented Mar 20, 2023

Hi @valodzka and thanks for raising this issue. This seems like something we should get fixed up both in the frontend and backend.

@lgfa29
Copy link
Contributor

lgfa29 commented Apr 21, 2023

I believe the UI problem described has the same root cause as #14654. Refreshing the page should display the service address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/service-discovery type/bug
Projects
3 participants