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.

@jrasell jrasell added stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/service-discovery labels Mar 20, 2023
@jrasell jrasell added this to Needs Triage in Nomad - Community Issues Triage via automation Mar 20, 2023
@jrasell jrasell moved this from Needs Triage to Needs Roadmapping in Nomad - Community Issues Triage Mar 20, 2023
valodzka pushed a commit to valodzka/nomad that referenced this issue Mar 30, 2023
valodzka added a commit to valodzka/nomad that referenced this issue Apr 6, 2023
valodzka added a commit to valodzka/nomad that referenced this issue Apr 20, 2023
@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