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

UI: Ability to see task's logs even if client is not accessible from internet #3969

Closed
jacekjagiello opened this issue Mar 13, 2018 · 3 comments
Labels

Comments

@jacekjagiello
Copy link

Currently, web UI request task's logs using the IP address of a client, in which task is running on. But if a client is running in private subnet web UI tries to request it via private IP, which of course fails.
For example, if IP of a client in private network is 10.232.16.2, request for logs looks like this:

http://10.232.16.2.22:4646/v1/client/fs/logs/1fe767ac-...

Can we add some way to fetch logs from clients that are not accessible from internet? Maybe prepare endpoint in nomad server which proxies the request to a client? The same problem concerns other endpoints that communicate with nomad client, for example /v1/client/allocation/.../stats endpoint.

I'm happy to contribute, if we agree on some solution for this

@DingoEatingFuzz
Copy link
Contributor

Hey @jacekjagiello, this is coming in 0.8 and is already in master!

@jacekjagiello
Copy link
Author

That's great news, can't wait for the next release!

@github-actions
Copy link

github-actions bot commented Dec 3, 2022

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants