Revision a731cb33
Added by Alexis Mousset over 7 years ago
initial-promises/node-server/common/1.0/update.cf | ||
---|---|---|
|
||
reports:
|
||
# We want to have always reports if something goes bad
|
||
rudder_promises_generated_error|no_update::
|
||
rudder_ncf_hash_update_error::
|
||
"*********************************************************************************
|
||
* rudder-agent could not get an updated configuration from the policy server. *
|
||
* This can be caused by a network issue, an unavailable server, or if this *
|
||
* node was deleted from the Rudder root server. *
|
||
* This can be caused by: *
|
||
* * a networking issue *
|
||
* * an unavailable server *
|
||
* * if the node's IP in not if the allowed networks of its policy server. *
|
||
* Any existing configuration policy will continue to be applied without change. *
|
||
*********************************************************************************"
|
||
action => immediate;
|
||
|
||
!rudder_ncf_hash_update_error.(rudder_promises_generated_error|no_update)::
|
||
"*********************************************************************************
|
||
* rudder-agent could not get an updated configuration from the policy server. *
|
||
* This can be caused by: *
|
||
* * an incorrect DNS resolution of this node *
|
||
* * an agent key that has been changed *
|
||
* * if this node is not accepted or deleted node on the Rudder root server *
|
||
* * if this node has changed policy server without sending a new inventory *
|
||
* Any existing configuration policy will continue to be applied without change. *
|
||
*********************************************************************************"
|
||
action => immediate;
|
||
|
||
}
|
||
|
||
bundle agent update_action
|
techniques/system/common/1.0/update.st | ||
---|---|---|
|
||
reports:
|
||
# We want to have always reports if something goes bad
|
||
rudder_promises_generated_error|no_update::
|
||
rudder_ncf_hash_update_error::
|
||
"*********************************************************************************
|
||
* rudder-agent could not get an updated configuration from the policy server. *
|
||
* This can be caused by: *
|
||
* * a networking issue *
|
||
* * an unavailable server *
|
||
* * if the node's IP in not if the allowed networks of its policy server. *
|
||
* Any existing configuration policy will continue to be applied without change. *
|
||
*********************************************************************************"
|
||
action => immediate;
|
||
|
||
!rudder_ncf_hash_update_error.(rudder_promises_generated_error|no_update)::
|
||
"*********************************************************************************
|
||
* rudder-agent could not get an updated configuration from the policy server. *
|
||
* This can be caused by a network issue, an unavailable server, or if this *
|
||
* node was deleted from the Rudder root server. *
|
||
* This can be caused by: *
|
||
* * an incorrect DNS resolution of this node *
|
||
* * an agent key that has been changed *
|
||
* * if this node is not accepted or deleted node on the Rudder root server *
|
||
* * if this node has changed policy server without sending a new inventory *
|
||
* Any existing configuration policy will continue to be applied without change. *
|
||
*********************************************************************************"
|
||
action => immediate;
|
Also available in: Unified diff
Fixes #9726: Improve error messages in \"rudder agent update\"