Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
log forwarding: Workers now run per-model #7418
Conversation
wallyworld
approved these changes
May 31, 2017
TestTailingLogsOnlyForControllerModel is misnamed now right? We really just need to test that tailing for a model works.
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit f1821b1
into
juju:develop
Jun 1, 2017
1 check failed
github-check-merge-juju
Built PR, ran unit tests, and tested LXD deploy. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details
babbageclunk
deleted the
babbageclunk:logforward-permodel
branch
Jun 1, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
babbageclunk commentedMay 31, 2017
Description of change
At the moment, the most expensive step in destroying a model is clearing out its logs. We want to make this cheaper by having a log collection for each model. But in order to do this we have to make log forwarding happen per-model rather than running for all models at once.
Move the log forwarder worker creation into the model manifolds, and allow the log streaming endpoint to be called for non-controller models. Remove the all-model capability of the log tailer, and always include the model UUID in the log messages it generates.
QA steps
syslog-host: the IP and port of the rsyslog receiver (10514 if you follow the instructions above).syslog-ca-certsyslog-client-certsyslog-client-keylogforward-enableto true.