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

Missing hostname #4

Closed
colinlaney opened this issue Feb 8, 2019 · 2 comments
Closed

Missing hostname #4

colinlaney opened this issue Feb 8, 2019 · 2 comments
Labels
question Further information is requested

Comments

@colinlaney
Copy link

What if my server can't resolve hostnames of GPU-hosts? How to configure client- and server-side config.py one having IPs only?

@jacenkow jacenkow added the question Further information is requested label Feb 12, 2019
@jacenkow
Copy link
Owner

Hi @colinlaney,

Can you change gpu_sentry/client.py line 78 (on your GPU machines) from

host = socket.gethostname()

to

host = socket.gethostbyname(socket.gethostname())

and then set the PERMIT_CLIENTS keys in config.py on your central server to the corresponding values as you get using the following script (on your GPU machines)

import socket
print(socket.gethostbyname(socket.gethostname()))

@jacenkow
Copy link
Owner

Please reopen if you still have problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants