mirror of https://github.com/Icinga/icinga2.git
Merge pull request #7811 from Icinga/bugfix/config-sync-log
Cluster config sync: Use a more friendly message when configs are equal and don't need a reload
This commit is contained in:
commit
7488d2614b
|
@ -1516,6 +1516,13 @@ gering reload.
|
|||
[2019-08-01 09:20:26 +0200] notice/Application: Got reload command, forwarding to umbrella process (PID 4236)
|
||||
```
|
||||
|
||||
In case the received configuration updates are equal to what is running in production, a different message is logged and the validation/reload is skipped.
|
||||
|
||||
```
|
||||
[2020-02-05 15:18:19 +0200] information/ApiListener: Received configuration updates (4) from endpoint 'icinga2-master1.localdomain' are equal to production, skipping validation and reload.
|
||||
```
|
||||
|
||||
|
||||
#### Syncing Binary Files is Denied <a id="troubleshooting-cluster-config-sync-binary-denied"></a>
|
||||
|
||||
The config sync is built for syncing text configuration files, wrapped into JSON-RPC messages.
|
||||
|
|
|
@ -525,7 +525,7 @@ Value ApiListener::ConfigUpdateHandler(const MessageOrigin::Ptr& origin, const D
|
|||
} else {
|
||||
Log(LogInformation, "ApiListener")
|
||||
<< "Received configuration updates (" << count << ") from endpoint '" << fromEndpointName
|
||||
<< "' do not qualify for production, not triggering reload.";
|
||||
<< "' are equal to production, skipping validation and reload.";
|
||||
}
|
||||
|
||||
return Empty;
|
||||
|
|
Loading…
Reference in New Issue