~arif-ali/+git/sos:snapping

Last commit made on 2020-03-29
Get this branch:
git clone -b snapping https://git.launchpad.net/~arif-ali/+git/sos
Only Arif Ali can upload to this branch. If you are Arif Ali please log in for upload directions.

Branch merges

Branch information

Name:
snapping
Repository:
lp:~arif-ali/+git/sos

Recent commits

1fe7daf... by Arif Ali

snap work initial work

a240961... by Miguel Martín

[ovirt_engine_backup] Add a new "ovirt_engine_backup" plugin

Add a new plugin to retrieve an oVirt engine database backup.

Resolves: #1977

Signed-off-by: Miguel Martin <email address hidden>
Signed-off-by: Jake Hunsaker <email address hidden>

83e0b95... by Jake Hunsaker <email address hidden>

[Plugin] Collect plugin service status by default

By default, plugins will now capture service status information from the
init system for any services defined in the plugin's `services` member,
provided that that service actually exists on the system.

This is done by calling a new method, `add_default_collections()` before
we call `Plugin.setup()` for each plugin. This will allow us to more
easily extend default collection behaviors going forward.

Resolves: #1965

Signed-off-by: Jake Hunsaker <email address hidden>

bfe8ffa... by Pavel Moravec <email address hidden>

[sos_extras] A new plugin to collect user defined data

Enabled by presence of /etc/sos.extras.d/ directory, the plugin will
execute all commands from all files in the directory, in order to
collect extra user-defined data e.g. specific for a given system
or product (or not yet being collected by sosreport otherwise).

Empty lines or lines starting by '#' are ignored.

Files or file patterns to be collected must be preceded by ':' ,
optionally followed by sizelimit. Examples:

:/path/to/file
:/path/to/files* sizelimit

Other lines are treated as commands to execute, with output stored under

sos_commands/sos_extras/<filename>/<command>

directory.

Resolves: #1663
Resolves: #1788

Signed-off-by: Pavel Moravec <email address hidden>
Signed-off-by: Jake Hunsaker <email address hidden>

9c139a3... by Cédric Jeanneret

[Plugin] New Validation Framework plugin

The Validation Framework provides an overview of deployed services.

For now, this Framework is linked to OpenStack and TripleO[1], but since
it might be used by other products, it's probably better to get a generic
name.

Resolves: #1970

Signed-off-by: Cédric Jeanneret <email address hidden>
Signed-off-by: Jake Hunsaker <email address hidden>

4e30286... by Jan Jansky <email address hidden>

[foreman] collect smart proxies details

Adding commands which collects smart proxies
details.

Closes: #1972

Signed-off-by: Jan Jansky <email address hidden>
Signed-off-by: Jake Hunsaker <email address hidden>

9b23b23... by Bryan Quigley

[tests] Make simple.sh consistent

We no longer have to workaround an odd LXD/Travis interaction
so make simple.sh not treat Travis special.

Closes: #1921
Resolves: #1983

Signed-off-by: Bryan Quigley <email address hidden>
Signed-off-by: Jake Hunsaker <email address hidden>

6164d2f... by Kazuhito Hagio <email address hidden>

[console] Add new plugin

Add a new plugin for collecting information about console and keyboard
including the status of console and Scroll Lock flag.

Resolves: #1981

Signed-off-by: Kazuhito Hagio <email address hidden>
Signed-off-by: Jake Hunsaker <email address hidden>

436e4a8... by Kazuhito Hagio <email address hidden>

[sar] Fix "sar: could not list /var/log/sa/*" warning

Commit d334c5dedbcf ("[sar] Fix the parameter specified in
add_copy_spec() to wildcard") appended the wildcard to the sa_path.
But since it is passed to os.listdir() as is, the following warning
is printed and later commands are not collected.

  [plugin:sar] sar: could not list /var/log/sa/*

Resolves: #1978

Signed-off-by: Kazuhito Hagio <email address hidden>
Signed-off-by: Jake Hunsaker <email address hidden>

5b5302e... by =?utf-8?q?Renaud_M=C3=A9trich?= <email address hidden>

[selinux] collect /var/lib/selinux

On RHEL 8, modules and contexts are not in /etc/selinux/<policy>
directory anymore, but in /var/lib/selinux/<policy> directory.

Resolves: #1976

Signed-off-by: Renaud Métrich <email address hidden>
Signed-off-by: Jake Hunsaker <email address hidden>