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

Improve logging if sandbox startup fails #121

Open
aaaaalbert opened this issue Dec 18, 2015 · 0 comments
Open

Improve logging if sandbox startup fails #121

aaaaalbert opened this issue Dec 18, 2015 · 0 comments

Comments

@aaaaalbert
Copy link
Contributor

When developing sandboxes that the nodemanager can control, it happens that things go wrong, and that spawning the sandbox results in an error. The current nmAPI.py doesn't handle this gracefully -- errors are simply ignored, and so a sandbox startup error results in

1, a mildly opaque error message in seash that the sandbox Did not start in a timely manner, but
2, no sign whatsover in the nodemanager log (which this issue proposes to fix).

Note that if you happen to start the sandbox directly from the command line (as opposed to through the nodemanager, i.e. usually seash), you will get to see any sandbox startup errors. Alas, you don't always get to launch a sandbox like this (think Android, see SeattleTestbed/utf#67), and even if you do, the startup code in nmAPI could still contain bugs.


So there! Let's make nmAPI collect any sandbox error output and send it to the nodemanager log

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

No branches or pull requests

1 participant