Project

General

Profile

Actions

Bug #27087

open

rudder agent run output exit code 0 when in initial policies and cannot update from the server

Added by Nicolas CHARLES 4 days ago.

Status:
New
Priority:
To review
Assignee:
-
Category:
Agent
Target version:
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

Also available in: Atom PDF