| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When hpasmcli is run in a python Popen or system pipeline via the
timeout command it hangs indefinitely.
Work around this temporarily by disabling the use of the timeout
program (by passing a zero timeout value) when running this
command.
Fixes: #559
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
subscription-manager and rhsm* stuff separated from yum plugin into
a new one (subscription-manager).
Resolves #451
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Added a new plugin to collect files for puppet.
Fixes: #473.
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Defaults for sos options are currently set in two places: the
option class itself (used for both API and command line uses),
and in the option parser object created to parse command lines.
When commit cbd75cb changed report generation to default-enabled
the change was only made to the SoSOptions variable; the parser
call still passed default=False (the option was renamed from
--report to --no-report but without changing the sense of the
default itself).
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to cope with multiple versions of NetworkManager with
incompatible command-line syntax the NM portions of networking's
setup() method had become a bit difficult to follow.
Hide as much of the version mess as possible behind a local
test_nm_status() function that handles all the known versions and
use template variables where common command-line text exists
between the versions.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
The nmcli status would always return 0, nmcli status
is now determined by the output of the command
instead of the return code.
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
| |
Signed-off-by: Rohan Kanade <rkanade@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>
|
|
|
|
|
|
|
|
|
| |
Capture configuration and log data for the OpenStack Sahara project
(formerly Savanna). Sahara is a tool to simplify the deployment of
data-intensive applications in OpenStack environments.
Signed-off-by: Poornima M. Kshirsagar pkshiras@redhat.com
Signed-off-by: Bryn M. Reeves bmr@redhat.com
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes it is useful to see recent packet changes in the system.
Yum history provides time information about actions like install,
remove or update operations on system packages.
Fixes #571.
Signed-off-by: Alexandru Juncu <alexj@linux.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
| |
Signed-off-by: Coty Sutherland <sutherland.coty@gmail.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
| |
Simplified the collecting of nmcli output and used same
name for nmcli's objects when possible.
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
There are some incompatible changes in nmcli since the release of
NetworkManager >= 0.9.9. In addition, NetworkManager >= 0.9.9 will
use the long names of "nmcli" objects. This is documented in the
following article:
https://wiki.gnome.org/Projects/NetworkManager/nmcli
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
|
|
| |
Update the AUTHORS file to include HP.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently sos does not capture engine-config values or domain information.
We should capture both of these as the tunables can help in troubleshooting.
Similarly the domain information can help track AD/IPA issues.
These can currently be dug out from the DB dump, however having them in a plaintext
file makes checking these much faster and easier, and a DB is not always available.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Default to specifying a password pattern of 'passw.*' when calling
the crm_report script. This causes matching strings to be elided
from the report data.
Since this scrubbing can affect the use of pacemaker state machine
snapshots for debugging the behaviour is controlled by a new option
that defaults to enabled: cluster.crm_scrub
This can be used to obtain an sosreport containing virgin crm_report
data with no password scrubbing:
# sosreport -k cluster.crm_scrub=False
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
oVirt and OpenStack drop XML files under /var/run/libvirt/ not /etc/libvirt.
The libvirt plugin should collect the XML files dropped there as well, not
just /etc/libvirt.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
| |
https://wiki.openstack.org/wiki/Trove
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
| |
Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Landscape Dedicated Server (LDS) 15.01 and newer logs are now
located in /var/log/landscape-server. They were previously
in only /var/log/landscape.
Also limited to log_size now.
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When MariaDB is run under Pacemaker an OCF resource agent is used
to start and stop the database. This configuration also overrides
the log paths used for the database. In particular the mysqld.log
is present at '/var/log/mysqld.log'.
Collect both paths as we do not currently detect whether we are
running with an OCF agent or stand-alone.
Fixes: #554
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Obfuscate only the value, not the entire directive and value pair.
Signed-off-by: Timothy Williams <tiwillia@redhat.com>
|
|
|
|
|
|
| |
Collect additional configurations files and profiles for tuned.
Signed-off-by: Shane Bradley <sbradley@redhat.com>
|
|
|
|
|
|
|
| |
This includes `dump-flows` and `fdb/show` output useful for debugging
Openstack tenant and L3 networking issues.
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Useful for ensuring that highly available queues are enabled [1].
[1] https://www.rabbitmq.com/ha.html
Resolves #541.
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Captures /etc/apparmor.d for profiles
Excludes /cache - because it's not config. Excludes libvirt/libvirt
because it can grow quite large and the TEMPLATE file should usually
be enough. Excludes abstractions because they are usually not
modified and are large.
For both libvirt and abstractions capture an ls just to be sure
permissions are correct.
Captures apparmor_status to get the effective profiles.
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
| |
This plugin is for Ubuntu's Unity DE and just collects
3d support information similar to a simplified glxinfo.
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
| |
Adds xrandr --verbose
Adds glxinfo output
Closes: #482
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
| |
Resolves #413.
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
|
| |
Add a 'generate-bundle' switch to optionally collect a YAML
bundle of the current environment using juju-deployerizer.
Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically this removes passwords
from the following patterns
$ActionLibdbiPassword <removes rest of line>
pwd=<removes rest of line>
Closes #525
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
| |
DNS management plugins store credentials in their configuration files. Adding filters to scrub these configuration files.
Signed-off-by: Timothy Williams <tiwillia@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This plugin collects configuration and logs for the ManageIQ
virtualization management and autiomation platform. ManageIQ
is the upstream project for Red Hat CloudForms.
You can get more information about ManageIQ at:
http://www.manageiq.org/
Signed-off-by: Pep Turró Mauri <pep@redhat.com>
|
|
|
|
|
|
|
| |
Had fixed this in the working tree but not added it to the commit;
need to improve the hook scripts to check for that and complain.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
Commit e320ca8 accidentally deleted collection of "ip -o addr"
and the root "ip_addr" symlink: put it back.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Do not create directory for the destination path used by crm_report.
Resolves: rhbz#1200526
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
There are 3 pcs commands added to cluster plugin to get
information about the status of pacemaker cluster.
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
A host with only luci package installed would not collect luci logs
because the cluster plugin would not run since none of the packages
were found. This patch adds luci to the package set required for the
plugin to run.
Resolves: rhbz#1171186
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed some of the files and commands that are no longer needed on
RHEL6+. In addition, the gfs_lockdump option did not capture gfs2 lock
dumps. The option is now called gfs2_lockdump and will mount the
/sys/kernel/debug directory and the gfs2 lockdumps will be copied from
that mount point.
In addition added a couple files that are needed for pacemaker/dlm.
Resolves: rhbz#1083656
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Changed the parted command to return data in sectors units
instead of human readable form.
Fixes #471.
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Collect additional node web routing configuration files
from the rewrite and vhost frontends, and node district
information.
Fixes RHBZ#1166874
Fixes: #327.
Signed-off-by: Pep Turró Mauri <pep@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Get only current log file by default, allowing full dir
collection via the all_logs option.
Add a Red Hat version of the plugin that collects the two
main configuration files for activemq. Also enable that plugin
in the OpenShift profile.
Related: RHBZ#1165878
Fixes: #457.
Signed-off-by: Pep Turró Mauri <pep@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
This reverts commit 4bf2fe4724f71c8b8827afbc2e0771500aaf93ad.
|
|
|
|
|
|
| |
Capture the host capabilities XML dump from libvirt.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement all logs option to collect everything
in /var/log. Add size limits around all key log
files. When not doing all logs capture ls output
showing everything in /var/log. This will help with
realizing when sosreport has missed some other file.
mail* was dropped because it seems to be covered for the most
commom case by mail.* in sendmail plugin.
kern* was changed to capture kern.log and kern.log.1.
syslog.1 is now captured.
Closes LP: 1356211
Captures /etc/rsyslog.d directory.
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|