| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes sos to run plugins concurrently. By default sos will now use
four (4) threads to run plugins, allowing for faster overall execution
of sosreport. The number of threads can be changed using the --threads
commandline option.
Plugins now also have a timeout applied to them as a whole to avoid
situations where sosreport appears to be hung. If a plugin exceeds the
timeout threshold, the plugin will be terminated immediately. - this
allows sos to not only continue running normally, but should still allow
for collection of commands run by the plugin up until it was terminated.
The timeout is plugin controlled, and defaults to 300 seconds if not
set.
Note that for python2 environments, this adds a dependency on
python-futures. The futures module is present in the standard library
for python3 environments.
Signed-off-by: Jake Hunsaker <jhunsake@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>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
We still have a number of issues to resolve before 3.2 but we're
making good progress (albeit a little overdue). Let's tag the
current tree as an alpha release so that development distributions
(e.g. Fedora rawhide / Debian unstable) can package it and get
more testing.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
| |
Set for both RHEL/Fedora and Debian/Ubuntu
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes a necessary dependency on python-six for its compability layer
since we are wanting to continue support for both Python 2.7.x and Python 3.x.
In addition, this will allow us to effectively phase out Python 2 support
when/if the time arises that all interested distributions have done away with
Python 2.
This port passes all unittests for both python 2.7.x and python 3.3.x
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
| |
The release URL has been temporarily moved to people.redhat.com
until we can find a way to make a good release infrastructure
with github (tarball names are nasty - other projects seem to host
their releases on fedorahosted which is what I'm looking into for
this).
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Increment the spec file version to 3.0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- In our unittest we defined 'is_installed' to be a bool when in fact we wanted
to verify if a package is installed via the _method_ is is_installed. Since
overriding that method with our variable definition we basically removed
any functionality of 'is_installed' method in Plugin class.
- Initializing a fake plugin to test was failing due to our global
logger not being initialized. Put a simple check in the library to
make sure the logger is defined no matter what the calling state does.
- Make import selinux conditional
- Add travis-ci support
- Rename README to utilize travis-ci build status and other markdown supported
features
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
| |
|
|
|
|
|
| |
Make sos.spec %doc match current reality.
# Please enter the commit message for your changes. Lines starting
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Code reorganization
Cross platform support for Windows, OS X and Linux
Dynamically loaded policies
Support for loading plugins from multiple locations
via __path__ modification of sos.plugins
Support for running via Jython
Support for executing from a jarfile
Support for json based reporting infrastructure
- Previous reporting methods still exist
Support for other checksum algorithms (determined by policy)
Support for other compression algorithms (determined by policy)
New plugin API for writing arbitrary information in a new file inside
the report archive.
New plugin API for modifying files that have been added to the
archive.
Added API for global plugin options
- external interface is unavailable at this time
Many small bugfixes
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@975 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@962 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@943 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@935 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@919 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@918 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@917 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@915 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@912 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@909 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@898 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@882 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@881 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@880 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@879 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@877 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@872 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@871 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@870 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@822 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@791 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@789 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@779 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@778 ef72aa8b-4018-0410-8976-d6e080ef94d8
|