juju sos
a juju plugin for capturing sosreports from deployed juju machines.
my motivation and reference comes form the work of
Casey Marshall's juju-nat. so if
you see any resemblance thats why :)
install
$ go get github.com/battlemidget/juju-sos
Make sure juju-sos
is in your $PATH
.
running
Specific machine (1 in this case)
$ juju sos -d $HOME/sosreports -m 1
All machines
$ juju sos -d $HOME/sosreports
todo
-
filter sos captures based on services
-
rename capture reports to match hostname retrieved from
-
unittests
-
pass arguments to sosreport for specific capturing options, for example,
$ juju sos -d ~/sosreport -- -b -o juju,maas,nova-compute
Would only execute sosreport in batch mode (-b) and only the plugins juju, maas, nova-compute
.
copyright
(c) 2014 Adam Stokes adam.stokes@ubuntu.com
(c) 2014 Canonical Ltd.
license
AGPLv3