| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
The value of self.get_option("password") is tested in the
postgresql plugin's setup() method to determine if the user gave
a password on the command line. Set the default value to False to
ensure we get the expected comparison results.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Adds dbus plugin support for Fedora, Debian, and Ubuntu. Also pulls the
`/var/lib/dbus/machine-id` out of general into this plugin.
Fixes #350
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
| |
In an attempt to keep distro specific collection (ie ubuntu-support-status)
create a general `Ubuntu` plugin to categorize this information. This will
be the default for other distributions needing to do the same.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
| |
This splits out the ovs collection data from the Neutron plugin.
Fixes #328
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
| |
Ubuntu specifically was seeing general plugin times of ~19 seconds which
most of that time spent running `tree /var/lib`. Was decided to remove this
capture output and to be re-evaluated of its importance at a later date.
Fixes #374
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We previously fixed an issue where plugin names needed to have underscores
in the actual filename otherwise they wouldn't be resolved. The `plugin_name`
attribute was never updated to reflect that. This change fixes to match
that of the filename so that when calling something like
sosreport -o ubuntu_support_status
Will work rather than fail with unable to find plugin errors.
Fixes #379
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Exposes a `dist_version` to be inherited by policy classes to provide
distribution release numbers.
For example, on Ubuntu calling this method would return with `14.04`.
Fixes #216
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
| |
This ubuntu-specific plugin exposes the ubuntu-support-status
command for gathering package support status information.
Fixes #378
Signed-off-by: Jorge Niedbalski R <niedbalski@gmail.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
| |
Collect 'nmcli con show active' and 'nmcli dev show'.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #377.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #371.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #376
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Allow the value of PGPASSWORD to be inherited from the
environment. This prevents the password being exposed in command
line parameters that may be visible to other users on the system.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Updated `__init__.py.in` to be pep8 compliant. Also updated the version string
to match that of whats defined in `sos.spec`. The alpha release 1 was manually
appended since our Makefile only deals in release version.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The RPM BuildHost tag may be of use in identifying 3rd party
packages present on a system.
Based on a patch from Chandan Kumar.
Fixes #368.
Signed-off-by:Chandan Kumar chkumar@redhat.com
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
This commit extends the plugin to include the resulting 'juju get
${service}' for each deployed service, also it exposes the
export-mongodb option, which includes on the report a json file
containing each data collection used by juju-core.
Signed-off-by: Jorge Niedbalski R <niedbalski@gmail.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Python runtime details are required for developers for various
diagnostic and development purposes. Collect the Python version of the
'python' executable.
Signed-off-by: Poornima M. Kshirsagar <pkshiras@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This plugin gets the configuration files present in the
directory /etc/fcoe and the output of two commands:
- 'fcoeadmin -i' shows information about all FCoE instances, and
- 'fcoeadmin -s' shows information about all discovered
Fibre Channel Forwarders (FCFs).
Attempts to fix issue #369
Version 2: Added a line to check if the package fcoe-utils is
installed as suggested by Adam Stokes.
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
| |
This patch adds the column pe_start (alignment offset) to the
output of the 'pvs' command in the lvm2 plugin.
Solves #331
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Downstream packages for ovirt have branding
patches renaming them with rhevm prefix instead
of ovirt-engine.
Signed-off-by: Sandro Bonazzola <sbonazzo redhat com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
| |
Query `docker ps` and capture log output from current running containers.
Additionally, add support for Ubuntu systems and address a nuance where Ubuntu
systems use a different binary name for docker since a previous package already
owns the docker binary name.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
| |
Related: #348.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #310.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #359.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #358.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
These two were using the legacy (sos-2.x) methods names.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #351.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
Include the base policy plugin reference in the auto-generated
documentation.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
| |
Fixed some of the inline python statements to support makefile rules
in both python2 and python3
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Log any permission related exceptions when running plugins as non-root.
Eventually this information can be reviewed to see the impact of running
plugins as non-root users to better decide where root is needed on a per
plugin basis.
References #164
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
| |
These files are provided by default with an Ubuntu ActiveMq installation.
Fixes: GH#271
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
| |
Fixes: #69.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Belongs to NFSServer.
Related: #69.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Related: #69.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Related: #69.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Already handled by the upstart plugin.
Related: #69.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were some useful columns missing from the output of the commands 'pvs', 'vgs' and 'lvs'
that we gather in the lvm plugin. This patch extends the reporting fields with:
- Information about metadata, like copies and size of mda, to the output of the 'pvs'
command.
- Information about metadata and tags for the output of the 'vgs' command, and
- information about tags for the output of 'lvs'.
Attempts to solve at least partially issue #331.
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
(Minor pep8 fixups.)
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
http://readthedocs.org does not respond - the correct host is
www.readthedocs.org.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
To ensure proper code formatting and syntax is being done this enables
travis-ci to continually check pep8 compliance. This is useful as it will tend
to spot a lot of syntax errors that the unittests may not pick up.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
| |
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
| |
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
| |
All plugins should now be in compliance with pep8
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
| |
There's a lot of changes, however, it is primarily formatting of existing
code and no new code is introduced.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
| |
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|