Actions
Bug #27087
openrudder agent run output exit code 0 when in initial policies and cannot update from the server
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
If a node is in initial policy mode and cannot update from the server (because it is not accepted or ignored), then the exit code is 0
The same node, with non initial policy, would output exit code 2
As a result, running `rudder agent reset` effectively makes the node always exit 0 rather than the expected 2
No data to display
Actions