-
Notifications
You must be signed in to change notification settings - Fork 336
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
Better error handling in bootstrap script #16
Comments
Things to check:
|
From #219 (comment), we should also check for external internet access & fail if we can't reach it. (Thanks @fm75) |
We already do the following:
|
- Check for Python Version - Check if systemd is present - Provide more useful error message when running inside an unprepared docker container Ref jupyterhub#16
I'm not particularly sure how to check for 'do we have internet access'. I don't want to do something like 'ping google.com' or any particular external website, since that will leak information about the server being installed. I guess we should watch for apt failures and suggest that as a possible solution. |
#340 adds validation for python version and systemd presence. It also handles erroring with a more useful error message when running inside docker. |
I'll close this, we don't check explicitly for internet connection issues, but we covered all the rest listed here:
|
Provide nicer error messages, and check for error conditions properly in the bootstrap script.
The text was updated successfully, but these errors were encountered: