icinga2/lib/remote
Michael Friedrich 2760748d78 Fix and improve logging for runtime object sync
config::UpdateObject would create a new object, but this may
have been silently ignored with 'ignore_on_error' - downtimes, etc.
Since we cannot simply fetch the error from inside the config compiler,
we'd just check whether there's a config object created at this stage.
This happens synchronously, and once there is, log something.

The previous code always logged the creation, even if the downtime
was ignored, e.g. when the first master sent one for local host objects.

This commit also adds more details: identity, endpoint, zone to extract
the MessageOrigin details into log messages for better troubleshooting
and debugging.

refs #7198
2019-08-15 09:29:05 +02:00
..
CMakeLists.txt Implement first draft for cluster config staged sync 2019-06-19 14:46:11 +02:00
actionshandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
actionshandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
apiaction.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apiaction.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apifunction.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apifunction.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apilistener-authority.cpp Add ApiListener::UpdatedObjectAuthority() 2019-07-11 12:58:07 +02:00
apilistener-configsync.cpp Fix and improve logging for runtime object sync 2019-08-15 09:29:05 +02:00
apilistener-filesync.cpp Cluster sync: Only sync valid UTF8 content (text config, no binaries) 2019-08-02 16:06:32 +02:00
apilistener.cpp Split config file sync updates, part I 2019-06-19 14:46:11 +02:00
apilistener.hpp Add ApiListener::UpdatedObjectAuthority() 2019-07-11 12:58:07 +02:00
apilistener.ti TLS Ciphers: Add compatibility suites for older agents (el7) 2019-07-30 10:55:29 +02:00
apiuser.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apiuser.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apiuser.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
configfileshandler.cpp Fix circular #include 2019-04-25 08:25:28 +02:00
configfileshandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
configobjectutility.cpp Fix and improve logging for runtime object sync 2019-08-15 09:29:05 +02:00
configobjectutility.hpp Fix message origin for runtime created config object (create/delete events) 2019-08-13 15:05:47 +02:00
configpackageshandler.cpp Config packages: Catch active stage exceptions in rare cases 2019-05-08 16:43:27 +02:00
configpackageshandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
configpackageutility.cpp API: Automatically repair broken packages 2019-05-10 12:48:34 +02:00
configpackageutility.hpp Avoid dead-lock with config packages and active stages 2019-05-08 16:06:46 +02:00
configstageshandler.cpp Avoid dead-lock with config packages and active stages 2019-05-08 16:06:46 +02:00
configstageshandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
consolehandler.cpp Fix circular #include 2019-04-25 08:25:28 +02:00
consolehandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
createobjecthandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
createobjecthandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
deleteobjecthandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
deleteobjecthandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
endpoint.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
endpoint.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
endpoint.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
eventqueue.cpp Eventqueue: Remove unused code 2019-04-25 16:21:07 +02:00
eventqueue.hpp Eventqueue: Remove unused code 2019-04-25 16:21:07 +02:00
eventshandler.cpp /v1/events: don't over-consume CPU-bound threads 2019-04-25 15:56:38 +02:00
eventshandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
filterutility.cpp try without initialization of frame Locals which are not used for permissions filter and as far as I can see also not for query filters 2019-05-02 09:03:30 +02:00
filterutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
httphandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
httphandler.hpp Quality: Purge old HTTP code in lib/remote 2019-05-24 15:50:43 +02:00
httpserverconnection.cpp Fix build errors with Boost v1.70 2019-06-07 16:30:34 +02:00
httpserverconnection.hpp Fix build errors with Boost v1.70 2019-06-07 16:30:34 +02:00
httputility.cpp Quality: Purge old HTTP code in lib/remote 2019-05-24 15:50:43 +02:00
httputility.hpp Quality: Purge old HTTP code in lib/remote 2019-05-24 15:50:43 +02:00
i2-remote.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
infohandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
infohandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
jsonrpc.cpp Quality: Clean JsonRPC class and add function docs 2019-05-24 15:50:43 +02:00
jsonrpc.hpp Quality: Clean JsonRPC class and add function docs 2019-05-24 15:50:43 +02:00
jsonrpcconnection-heartbeat.cpp Close server connections and shutdown coroutines immediately on disconnect 2019-06-05 10:42:03 +02:00
jsonrpcconnection-pki.cpp Ignore repeated requests from client after using ca remove command 2019-06-07 10:33:55 +02:00
jsonrpcconnection.cpp Fix and improve logging for runtime object sync 2019-08-15 09:29:05 +02:00
jsonrpcconnection.hpp Fix build errors with Boost v1.70 2019-06-07 16:30:34 +02:00
messageorigin.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
messageorigin.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
modifyobjecthandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
modifyobjecthandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
objectqueryhandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
objectqueryhandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
pkiutility.cpp CLI: Allow to list removed CSRs with 'ca list' 2019-06-07 10:33:55 +02:00
pkiutility.hpp CLI: Allow to list removed CSRs with 'ca list' 2019-06-07 10:33:55 +02:00
statushandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
statushandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
templatequeryhandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
templatequeryhandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
typequeryhandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
typequeryhandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
url-characters.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
url.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
url.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variablequeryhandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
variablequeryhandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
zone.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
zone.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
zone.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00