-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
After failing on node reaper or endpoint reaper netreap exits with 0 code
To Reproduce
Steps to reproduce the behavior:
- Run netreap as system job
- In one time you can get the error
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)
- linux/amd64
- Netreap version:0.1.2
If you ran into this issue while developing a feature for Netreap:
- Output of
cilum version
e.g.:
v1.13.2
- Output of
nomad version
e.g.:
Nomad v1.6.1
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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed