-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
st2chatops doesn't exit on ERROR, keeps waiting/unresponsive when AUTH/API unresolved #124
Comments
seems it's overall regression in cc @blag |
The fix for this isn't going to make it into ST2 3.0, but I think it can make it into ST2 3.0.1. |
@blag Works for me, thanks for the update. |
@blag Did more testing for different configurations. It comes down one issue, how do we handle failure for
|
Fixes StackStorm/st2chatops#124 For the case if st2chatops encounters authenticate or unresolved application URL issues with Stackstorm, instead it's being unresponsive/hanging/waiting in a running state, st2chatops will be exit. With EXIT_ON_FAILURES is setup during interval call for loadCommands, it will not be exit from process.
Fixes StackStorm/st2chatops#124 For the case if st2chatops encounters authenticate or unresolved application URL issues with Stackstorm, instead it's being unresponsive/hanging/waiting in a running state, st2chatops will be exit.
More identified corner cases from this issue yet to be resolved. |
If ST2 AUTH/API urls can't be DNS resolved,
ERROR
state is reached, howeverst2chatops
doesn't exit with respective error code. Instead it's being unresponsive/hanging/waiting in a running state.It should exit instead (or retry with limit). This especially makes Docker env unreliable where we expect the process to exit/stop if something didn't work properly.
Reproducing
Log
The text was updated successfully, but these errors were encountered: