aboutsummaryrefslogtreecommitdiffstats
path: root/example_plugins
diff options
context:
space:
mode:
authorDavid Negreira <david.negreira@canonical.com>2020-02-13 00:35:18 +0100
committerBryan Quigley <bryan.quigley@canonical.com>2020-02-12 22:23:52 -0800
commitb3d6b053ba65dcff29c3db9e2f7c061af0ba33fb (patch)
treea5a320abdfc3bc374c1eda5495f0d3db368856cc /example_plugins
parent3657bcbbc41be60c9f12c8391057b72ae053bd95 (diff)
downloadsos-b3d6b053ba65dcff29c3db9e2f7c061af0ba33fb.tar.gz
[Juju] Juju Plugin Refactoring
Since the current plugin is having issues when we run sosreport on a juju controller we have decided to refactor it and make it simpler. We had some discussions following three separate PRs: https://github.com/sosreport/sos/pull/1670 https://github.com/sosreport/sos/pull/1671 https://github.com/sosreport/sos/pull/1672 We decided not to gather mongodb dumps as it will leak the password from mongodb when running `ps`. We decided to drop the output from juju commands as this requires the command to be run as the user that holds the juju credentials. This plugin will gather logs from `/var/log/juju/*.log` and agent configuration files from `/var/lib/juju/agents/*/agent.conf`, as well as systemd logs related to the agents. If sosreport is run with `--all-logs` it will gather all of the above as well as all the files from `/var/lib/juju/` and `/var/log/juju`. Closes: #1653 Resolves: #1935 Co-authored-by: David Negreira david.negreira@canonical.com Co-authored-by: Nick Niehoff nick.niehoff@canonical.com Signed-off-by: David Negreira david.negreira@canonical.com Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Diffstat (limited to 'example_plugins')
0 files changed, 0 insertions, 0 deletions