Closed rooftopcellist closed 4 years ago
Build failed.
Build failed.
Build failed.
Build failed.
Build failed.
Connect the issue https://github.com/ansible/awx/pull/6108 also bug that should be resolved https://github.com/ansible/awx/issues/5822
UI work will involve:
Test button enabled tooltip: "Send a test response to the configured log aggregator." Test button disabled tooltip: "Save and enable log aggregation before testing the log aggregator."
Note the failure toast message/error modal logic does not need to be updated, what is there works.
UI work complete:
Build failed.
This is good.
Build failed.
Build failed.
Build failed.
Build failed.
Build failed.
Build failed.
Build failed.
Build failed.
Build succeeded.
Build failed.
Build failed.
Build failed.
Build succeeded.
Build succeeded.
Build succeeded.
Build failed.
Build failed.
Build failed.
Merge Failed.
This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Build failed.
Build failed.
Build failed.
Build failed.
Build failed.
Build succeeded.
recheck
Build succeeded.
Build succeeded.
Build succeeded.
Build succeeded.
Build succeeded.
Build failed.
Build succeeded.
Build succeeded.
Build succeeded.
Build failed.
Build succeeded.
LGTM, but let's make sure to follow up on the small things caught by @chrismeyersfsu and @wenottingham.
Build succeeded.
Build succeeded.
SUMMARY
This PR replaces https://github.com/ansible/awx/pull/5092 Issue: https://github.com/ansible/awx/issues/5155
This change adds rsyslog (https://github.com/rsyslog/rsyslog) as a new service that runs on every AWX node (managed by supervisord) in particular, this feature requires a recent version (v8.38+) of rsyslog that supports the omhttp module so as to send logs over HTTP/HTTPS (https://github.com/rsyslog/rsyslog-doc/pull/750)
The "external_logger" handler in AWX is now a
SysLogHandler
that ships logs to the local unix domain socket where rsyslog is configured to listen (by default, /var/run/tower/rsyslog/rsyslog.sock)Every time a
LOG_AGGREGATOR_*
setting is changed, every AWX node reconfigures and restarts its local instance of rsyslog so that its fowarding settings match what has been configured in AWX.unlike the prior implementation, if the external logging aggregator (splunk/logstash) goes temporarily offline, rsyslog will retain the messages and ship them when the log aggregator is back online.
4xx or 5xx level errors are recorded at
/var/log/tower/rsyslog.err
ISSUE TYPE
COMPONENT NAME