| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Collect the two directories without some forbidden paths.
Reorder self.add_forbidden_path(..) to have some logical ordering there.
Resolves: #693
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
| |
|
| |
|
|
|
|
|
|
| |
Closes: #663.
Signed-off-by: Jeremy Crafts <jcrafts@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test for a symlink already existing would fail if the symlink
target did not exist; this will be the case when a symlink points
to a directory (which is not copied).
Fix up to use os.lexists instead.
Closes: #660
Closes: #661
Signed-off-by: jan grant <jang@ioctl.org>
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Resolves #446
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Resolves #445
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Resolves #444
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Resolves #443
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Resolves #442
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Resolves #441
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Resolves #440
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Resolves #448
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
1699eabd partially renamed various OpenStack plugin classes but
was not complete when it was pulled in leading to various
openstack plugins failing during setup.
Resolves: #655
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Needed when investigating slab related issue to identify
how slabs are merged together. ls -lt shows symlink of
merged slabs.
Closes: #653, #654.
Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
|
|
|
|
|
|
|
|
|
| |
Merged identical code into one loop iterating over
["ssl-certificate", "ssl-key", "ssl-trustfile"].
Added authorship.
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When content is coming from the output of the tail()
method, it is a bytes in python3 and a string in python2.
Force the bytes value to be decoded otherwise the later
write() function will fail and nothing will be written to
the file.
Conditional decoding is necessary as the strings in python3
do not have a decode method.
Closes #586
Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
|
|
|
|
|
|
|
| |
When add_string receives output from tail() it fails in py3
since tail() returns a byte object. Mimic this behavior.
Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
|
|
|
|
|
|
|
|
|
| |
Adding two services openstack-sahara-api and openstack-sahara-engine
with required "-api + -engine" RPM package.
Fixes: #641.
Signed-off-by: Poornima M. Kshirsagar pkshiras@redhat.com
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Four options added:
- port for specifying non-default listening port (sometimes necessary
also for SSL)
- ssl-certificate and ssl-key for SSL
- ssl as rather auxiliary option to force qpid-* tools to use SSL even
without ssl-* options specified
Resolves: #634, #635
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
|
| |
Commands "qpid-config exchanges" and "qpid-config queues" lack comma in
the list. That causes the commands are not collected by sosreport and
executed.
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
| |
Fixes: #609.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Drop the '-r' when obtaining logs from journald to be consistent
with other plugins: users can sort log entries in whatever order
they prefer on the analysis system.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also introduce the global all_logs and log_size options within the
plugin. Allowing users to control when all logs are collected and
limit the overall size of the logs collected.
Resolves #447
Closes #647
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore files from plugins such as tuskar [1] that can also be
found in the `/etc/openstack-dashboard/` directory.
[1] https://github.com/openstack/tuskar-ui
Closes #645
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New plugin to collect valuable information for Qpid Dispatch
Collects /etc/qpid-dispatch/qdrouterd.conf and output of qdstat -[a|n|c|m].
Allows passing arguments for Dispatch listening port and SSL stuff.
Resolves: #623
Closes #624
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Collect monit status, action logs and configuration files.
Usernames (in addition to passwords and other secrets) are removed since
they may contain information such as email addresses considered
sensitive by users.
Closes #573
Signed-off-by: Pablo Iranzo Gómez <Pablo.Iranzo@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
| |
Resolves #551
Closes #568
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
opts.report is True regardless of using --no-report option or not. That
means the test "if not self.opts.report:" to decide generation of
reports is evaluated to False every time and no report is generated any
time.
This commit renames opts.report and SoSOptions._report to noreport (to
get rid of the variable name confusion) and updates default value
accordingly.
Resolves #625
Closes #644
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
| |
There is currently no way to see the system timezone in text format on
a systemd system (eg: "America/New_York"). timedatectl provides this.
Closes #611
Signed-off-by: Jamie Bainbridge <jbainbri at redhat dot com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As more applications are beginning to use namespaces, notably OpenStack
and container-based platforms, capturing namespace data is becoming
essential.
This patch alters the networking plugin so that it is namespace aware,
collecting commands such as:
$ ip address show
$ ip route
$ iptables-save
For each individual namespace, along with per-device ethtool
information for any devices that exist in said namespaces.
Closes #642
Signed-off-by: Robb Manes <rmanes@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
| |
Closes #578
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
| |
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
| |
Resolves #553
Closes #569
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
| |
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
| |
Expand the test coverage for Python 3.5 and
nightly build runtimes.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This plugin is for Atomic Host systems.
By default it will capture host status and ostree configuration.
With the 'info' option it will collect 'atomic info' for unique images.
Closes #549
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If we grep for "mangle", both ipv4 and ipv6 versions might come up.
This patch ensure that the right version is considered.
Also, do the same we do for ipv4, but for ipv6.
Filter, Mangle, NAT and exact counters.
Closes #630
Signed-off-by: Germano Veit Michel <germano@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
| |
The new commands added to gluster in the recent release were
missing. this commit is to add those commands to the plugin.
Closes #633
Signed-off-by: hari gowtham <hgowtham@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
| |
Utilize their container based build system for faster runs. Update
test version matrix.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Kube no longer uses 'minions' and only accepts 'nodes' in kubectl.
Previous versions of kubectl all accepted both 'nodes' and 'minions'
however since v1.0, 'minions' has been deprecated.
Closes #638
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new plugin for instack [1] and instack-undercloud [2].
These two components are currently used to drive the deployment of
the undercloud in RDO Manager and RHEL OSP director environments.
Instack itself is considered low level tooling and is in turn called
by higher level user applications such as the RDO Manager Openstack
client plugin [3].
This plugin also adds a new openstack_undercloud profile to be used
to tag simillar Openstack plugins that are only found in the undercloud.
[1] https://github.com/rdo-management/instack
[2] https://github.com/rdo-management/instack-undercloud
[3] https://github.com/rdo-management/python-rdomanager-oscplugin
Resolves #620.
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"The regex currently used by openstack_swift is:
"/etc/swift/*.conf*"
This matches any filename beginning with 'con': "/etc/swift/con*"
and causes the plugin to attempt regex substitution on several binary
files in the directory causing errors:
"substitution failed for '/etc/swift/container.builder'"
"regex substitution failed for '/etc/swift/container.ring.gz'"
Purposing a fix by changing the regex to match only intended configuration
files (*.conf*) in this directory.
Fixes #636.
Signed-off-by: Poornima M. Kshirsagar pkshiras@redhat.com
|
|
|
|
|
|
|
|
|
| |
server_auth secrets in /etc/neutron/plugins/ml2/restproxy.ini need to be
obfuscated.
Resolves: #639
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|