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
[BUG] Netreap exits with zero code when shouldn't #31
Comments
Can you run with |
NETREAP_DEBUG was set to 1 |
log from this line |
it's hard to debug why nomad sends events with error sometimes |
I've opened PR |
What's your experience with this patch? When we tried it we found the reaper gets stuck in an infinite loop since the event stream seems to be broken at that point. EDIT: Nevermind, I think this just a silly bug on my branch. |
Describe the bug
After failing on node reaper or endpoint reaper netreap exits with 0 code
To Reproduce
Steps to reproduce the behavior:
Got error message from node event channel: {"error" : invalid character 'e' looking for beginning of value"}
Expected behavior
Netreap exits with non-zero code, so nomad sees it like failed allocation, not like normal exiting.
Environment (please complete the following information)
If you ran into this issue while developing a feature for Netreap:
cilum version
e.g.:nomad version
e.g.:Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I think nomad sends wrong event and it's bug of nomad, but netreap should handle it correctly
The text was updated successfully, but these errors were encountered: