| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Add a new Plugin method to collect journald logs.
Closes: #825.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sosreport currently lacks support for collecting information
about PCI-E Non-transparent bridge hardware. This pull request
adds support for collecting that information. For more
information about NTB, see this page:
https://github.com/jonmason/ntb/wiki
Closes #701.
Signed-off-by: Kenneth Koski <mechaxl@gmail.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Gluster tiered volume has metadata files for promotion
and demotion which are useful for diagnosing errors
The patch adds these files to the list of files
stored in sos report.
Example: /var/run/gluster/volname-tier-dht/
promote-brickname-indexinbricklist
Closes #721.
Signed-off-by: Hari Gowtham <hgowtham@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
After Open vSwitch 2.5 release, the DPDK configuration
moved from command line to the OVS database, so provide
that in the sosreports.
Suggested-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
| |
Provide upcall stats and details.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
|
| |
Often tunnels require to listen on a specific ports
which can be the standard one or another.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
| |
Provide tnl cached ARP table.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
| |
Provide cached routes from Open vSwitch.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
| |
Provide coverage statistics.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
|
| |
The LACP protocol has various states and it is helpful
to see in which state it is.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
| |
Provide more details for each bond device.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
|
| |
Open vSwitch has built-in bonding support. Capture a list
of all configured bond ports.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
| |
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
| |
Provide the configuration for every queue.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
| |
Each device can have queues so capture all their stats.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
|
| |
Capture detailed information about network devices associated
with each bridge on the system.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
| |
For each bridge, capture all port statistics.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
|
|
| |
DPDK enabled Open vSwitch supports kernel devices and
userspace devices (DPDK), so capture a list of all NICs
and their drivers.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
| |
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
|
|
| |
There are sockets and other files created on the runtime
directory that are useful to know if they exist and their
permissions.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
|
|
| |
The pid files are used by scripts to manage the
services and makes sense to have a copy of them
to see if they are stale or not.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
|
|
| |
The openvswitch-dpdk rpm package provides the same
functionality, so enable the plugin when that package
is installed.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
|
|
|
|
|
|
|
|
| |
This ubuntu-specific plugin gathers logs, internal database
and a list of the current containers on a LXD host.
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cluster plugin originally was used for all the components for clustering:
corosync, cman, pacemaker, gfs2, and dlm. This patch moves the command
output/file that was captured in the cluster plugin to the corresponding plugin
related to the command output or file. The cluster plugin was removed.
Each component that is used by the 2 different types of clusters have a
corresponding plugin: corosync, cman, pacemaker, gfs2, and dlm.
The 2 different types of a cluster are: cman (with or without rgmanager or
pacemaker managing resources) and pacemaker based clusters. Both of these
cluster types can use corosync, dlm, and gfs2. The main difference is the
management of clustered resources either by rgmanager(cman only) or pacemaker.
The cman plugin will capture data related to rgmanager.
In addition, there were duplicate commands that were removed and a couple of
commands and file captures that were added to different plugins that previously
was not in the cluster plugin.
Fixes: #587
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
|
|
|
| |
This takes glxinfo out of x11 and moves it to opengl.
It also provides clinfo and vulkaninfo in their own plugin.
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set plugin_name accordingly to the plugin filename, to let
"sosreport -l" to print plugin names that can be used in
"sosreport -[o|e|n]".
Affected plugins:
sos/plugins/cs.py: plugin_name = 'certificatesystem'
sos/plugins/ds.py: plugin_name = 'directoryserver'
sos/plugins/hts.py: plugin_name = 'hardwaretestsuite'
sos/plugins/subscription_manager.py: plugin_name = 'subscription-manager'
Resolves: #811
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
| |
Use a variable to build the path to be passed to lvmdump rather
than building it in-situ in the add_cmd_output() call.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Suppress creating lvmdump directory that the tool needs to create
on its own.
Fixes #815
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
| |
Resolves #817, #818.
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
When loading policy, its leads failed load with sysroot.
This patch updates the initialize function with sysroot
Resolves: #820, #809.
Signed-off-by: Leno Hou <lenohou@gmail.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Policy class hierarchy requires a 'sysroot' kwarg for class
constructors. This is used to pass the location of the actual
host root file system for container configurations.
The SuSE policy is currently missing this argument, leading to an
exception during policy loading:
Traceback (most recent call last):
File "/usr/sbin/sosreport", line 25, in
main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1592, in
main
sos = SoSReport(args)
File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 676, in
init
self.policy = sos.policies.load(sysroot=self.opts.sysroot)
File "/usr/lib/python2.7/site-packages/sos/policies/init.py", line 38,
in load
cache['policy'] = policy(sysroot=sysroot)
TypeError: init() got an unexpected keyword argument 'sysroot'
Fixes #809.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
blacklisting everything except for:
/proc/net/eicon/adapter*/group_optimization
/proc/net/eicon/adapter*/info
Fixes #777
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This directory contains dhcp, keepalived and metadata proxy state and
configuration data useful when troubleshooting Neutron issues.
We can also drop the duplicated namespace collection code from this
plugin as it adds no value over the collection code in the Networking
plugin now that we are collecting `/var/lib/neutron/`.
Finally this change also corrects the DebianNeutron class to
correctly inherit from OpenStackNeutron and removes the now unused
`log` option.
Resolves: #648, #256
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|