| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This legacy name is no longer present in any supported version of
Openstack both up and downstream. We can remove any reference to it
and the associated name discovery logic from the plugin.
Closes: #658
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Collect lstopo/lstopo-no-graphics in txt format for basic overview
and in xml format to be able to convert it to graphics locally.
Resolves: #719
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Patch adds plugin to collect details related to Redis -
in-memory data structure store.
Closes #760.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
Closes #805.
Signed-off-by: Jeff Welch <whatthejeff@gmail.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All the tools & calls are the same on s390x as on s390. The tools
called are available on Ubuntu/Debian s390x port (and old s390 port).
All of this should also be available on RedHat s390x port.
Tested to work correctly on Ubuntu s390x port.
Closes #789.
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From now on, debian packaging specific files will be maintained
separately from the upstream project.
This is meant to avoid pull requests to upstream when debian-only
changes are required.
The debian packaging files along with a pristine copy of upstream
files will now reside at the following git repository :
* http://anonscm.debian.org/cgit/collab-maint/sosreport.git/
Signed-off-by: Louis Bouchard <louis.bouchard@ubuntu.com>
|
|
|
|
|
|
|
|
| |
* Implemented proper code snippet in docstring
* Removed '_static/' from html_static_path as it was not used and hence
throwing error
Signed-off-by: Sachin Patil <sacpatil@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enhanced reporting capabilitis about CPU by adding cpuid command
For details on cpuid command please see
http://www.etallen.com/cpuid.html
After having a discussion with author of cpuid Todd Allen <todd@etallen.com>
we think that it would be best to have both human readable output
of cpuid as well as hex output of cpuid in the sos report.
The hex output can be converted into human readable format with
cpuid -f <file>. This is usefull when version of cpuid on server
where sos report has been executed is old. New version of cpuid
can provide more precise infomration about the cpu.
Signed-off-by: Jirka Hladky <jhladky@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Replaced nova-manage commands with nova commands.
- Added check for openstack related environment which are
required to get all detailed information using nova command.
These variables are [ OS_USERNAME, OS_PASSWORD, OS_TENANT_NAME ].
sosreport command will warn user if any of the environment
variable is missing.
Closes #758.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
If the compression binary does not exists then the
compression binary will not be included as a valid method
for compressing.
Fixes: #791
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
| |
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
|
|
| |
Fixes: #790
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added dnf plugin to collect:
- dnf.conf file from /etc/dnf/
- dnf logs from /var/log/
- dnf version info
- dnf history
- List installed dnf plugins
Resolves: #768.
Signed-off-by: Sachin Patil <sacpatil@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If authentication is required to use virsh, sos will timeout on
'virsh list --all'. Use '-r' option to avoid this.
2016-02-10 00:24:02,761 WARNING: [plugin:virsh] command 'virsh list
--all' timed out after 300s
$ virsh list --all
Please enter your authentication name:
Please enter your password:
error: failed to connect to the hypervisor
error: no valid connection
error: authentication failed: Failed to step SASL negotiation: -1
(SASL(-1): generic failure: All-whitespace username.)
$ virsh -r list --all
Id Name State
----------------------------------------------------
Fixes: #761.
Signed-off-by: Germano Veit Michel <germano@redhat.com>
|
|
|
|
|
|
|
| |
Closes:#730
Signed-off-by: Amit Ghadge <amitg.b14@gmail.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
If a profile has no usable plugin do not add its profiles to the
list of available profiles and do not include them in the output
of --list-profiles or --list-plugins.
Fixes: #764.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
There's no point having both callers bracket the call with lines
that output a single blank line: do this all in the method itself.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When sosreport prints a profile listing as a result of the user
selecting a non-existent profile we currently output a profile
list (no plugin names) that ends with the standard summary of
profiles and plugins:
# sosreport -vv --batch --profile qux
set sysroot to '/' (default)
sosreport (version 3.2)
Unknown or inactive profile(s) provided: qux
The following profiles are available:
boot
cluster
[...]
system
virt
webserver
28 profiles, 0 plugins
This is less than useful and confusing for users (who shouldn't
have to care about how we manage this stuff internally).
Change this to only include the ", N plugins" part of the text
if we have actually loaded some valid plugins for the active
profile and factor out common display code in list_plugins and
list_profiles.
Fixes: #733.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
The 'netstat -agn' command reports IPv4 and IPv6 group addresses
which may also be truncated - apply the -W/-T switch to this
command as well.
Related: #734.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default netstat will truncate addresses that are wider than
the current column width. Disable this to ensure that all IPv6
addresses can be captured in full.
On Red Hat a non-upstream option (-T) was added to versions
prior to 2.0 - handle these version checks in the RedHatNetworking
class and set the appropriate option for each.
Fixes #734.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Correct profiles = ('system',)
Closes:#747
|
|
|
|
|
|
|
|
| |
Fix the summary field to not contain embedded newlines and work
around a bug in distutil's handling of gzipped man pages in
setup.py.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fix the version string in the sos package __init__.py.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a basic policy class for SuSE distributions and implement a
simple OpenSuSE policy (currently this will work with any SuSE
release).
A new SuSEPlugin tagging class is introduced for SuSE-specific
plugin cases. The policy currently also allows the RedHatPlugin
tagging class to run: this quickly enables a large number of
plugins for the distribution but will require manual testing
to identify cases where a dedicated SuSEPlugin must be created.
Fixes #523.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Resolves #731, #732.
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
| |
Fixes: #726.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
The nmcli command may print warning messages if the version of the
tool does not match the running daemon: filter these warnings out
of the list of connections or devices to check.
Fixes: #710.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Resolves: #712, #714
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Cisco CDP products include a kernel module that presents several
large pseudo files in /proc and /sys. Blacklist these locations
to avoid attempting to read the content into reports.
Fixes #740.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the global verify switch was introduced the behaviour of the
historical 'rpm.rpmva' plugin option was made to depend on the
global setting: without --verify no verification is carried out
even though it is clear this is not what the user intended.
Allow verification to take place in the rpm module if the rpm.va
option is True, regardless of the setting of the global --verify
option.
Fixes #735.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Closes: #739.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
More cert information is captured, the "ipa-replica-manage"
commands removed because they would timeout because
a password was needed, sanitize some collected data,
and some logs with wildcards were not properly collected
is now fixed.
Fixes: #754, #755.
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
|
|
|
|
|
| |
The output from 'omreport chassis biossetup' identifies a system's power
profile, which is very handy when troubleshooting performance issues.
Closes: #725
Signed-off-by: Bill Yodlowsky <byodlows@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add plugin to collect logs and hardware health from Dell OpenManage
Server Administrator (OMSA).
Dell OMSA is an OS application used to manage Dell PowerEdge Server
hardware.
Signed-off-by: Charles Rose <charles_rose@dell.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a plugin to collect hardware data from IPMI-enabled
hosts:
ipmitool sel info
ipmitool sel log
ipmitool sensor list
ipmitool chassis status
ipmitool fru print
ipmitool bmc info
ipmitool sdr info
Fixes: #756.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Resolves: #750
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The installed-rpms file is intended as a quick list of all installed
packages for distributions using the RPM package manager: the contents
have been fairly stable over several major releases and are formatted to
be human-readable in a standard 80x25 terminal without needing to filter
or sort.
The addition of several large fields over the last year has led to some
significant bloat however:
python-ply-3.6-2.fc23.noarch Thu Oct 8 10:55:19 2015 1444298119 Fedora Project buildvm-09.phx2.fedoraproject.org 89021503050055d3387032474cf834ec9cba0108f41f10009231fd54252a459cabaccf2b68f39b7f2ab5474c0f29906494593c58808f4ebcc9cb1910921ddfd0fcd02c8b394af5f07915166499eff319d128fae9850363ffb5d7977adfa5c2b298ec1818975c16dd95721d0a6e3a5fd1de8bcb3d871e5a1bf2b2d39a15c1c53c5936863835e944e4a087bb982448420d852557fcfc81965ea2ecd7d9b1d6783d4e2bd2a57418ebe4ca92e1fec47c8b78864fd3fa81bab4b5766c04f92af7fd61452ad0063211edf390e075393ee3f6e019593bb230c29f134d1511c719ade1dd533db787c8e79ee77219bd8415a821bdb4e516e3c44e6fa9d25627e5157f1460a3599a183b1579077a51651fc34a734ee67a63bdeae42dbaf8429bc73543938cc86e8a92150e6c2de9bd7db1ae84d4938399388a445d0dfc0410b3c7f0c50399fb85ea8ec5c64e4138111bf394188b65f0e8013ed4a23f2973df663c4811ff02312cd57e3293fcc728d6d6c9951351fd0cfea1a6d4e90d5ff38be4858eb7f308efa5793f3955d641baf6cdc5495cfba0228e03af8bde85ffbb955766c6e31c6cbffe40539ca794806515198f44176680c17431720f4de00c4bf695dc54c53225698b45d8ac5b139e46503015f2456b420aeb5fab9a7cef12abd7308e410687771ba644b10ae680c21cacc40c71c5ab0159c2e021931695dee20bdc9d9c957e097c9a800634b88d60ad9c0a554bac3a5ca97b0f63538b9808 RSA/SHA256, Tue Aug 18 14:51:44 2015, Key ID 32474cf834ec9cba
vs.
python-ply-3.6-2.fc23.noarch Thu Oct 8 10:55:19 2015
Revert the installed-rpms file back to the original format and add a new
file, package-data in the rpm plugin's commands directory that contains
these additional rpm query fields.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Historically, when calling an external process, sos relied on the
use of a shell to perform glob expansion on arguments passed to
the command.
This potentially exposes sos and its children to the entire gamut
of shell expansion and all the problems associated with it and
this is part of the reason that use of a shell in callouts was
disabled in commit 46b6c3d (Issue #253).
While full shell syntax is undesirable for many reasons the use
of globs to express path arguments to external commands is very
useful and widely applied: restore this limited support for
shell-like syntax using the python glob.glob module and expand
any argument that is a valid glob into its resulting arguments.
Fixes: #752
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
The archive classes are not special snowflakes: they do not need
their own (buggy) version of sos_get_command_output(): replace the
hand-rolled Popen() call with the sos.utilities version.
Really Fixes: #742.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|\
| |
| | |
[redhat] A managled rhn systemid will crash sosreport.
|
|/
|
|
|
|
| |
Fixes: #742
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This changes database dump collection format to 'list' which is a more
readable and easy to parse.
Based on a change suggested by Prasad Mukhedkar.
Resolves: #676.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
|
|
| |
Ensure the correct path (in the system temporary directory) is
reported when the --build option is used.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenShift broker and console can be configured with different
authentication backends. If LDAP is being used with a server that
requires authentication for search the configuration files will
capture the credentials of the BindDN.
Fixes: rhbz#1227462
Fixes: #673.
Signed-off-by: Pep Turró Mauri <pep@redhat.com>
|
|
|
|
|
|
| |
Fixes: #671.
Signed-off-by: Martin Frodl <mfrodl@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ovirt AAA_JDBC stores database password in plain text under
/etc/ovirt-engine/aaa/*.properties file.
It contains password in the format:
config.datasource.dbpassword=<password>
The engine PostgreSQL user password and the custom build domain's user
password exist in plain text format in these files. The commit removes
these password from the sosreport.
Fixes: #666.
Signed-off-by: Nijin Ashok <nashok@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Collect output of "apachectl -M" for that
Resolves: #691
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|