sos-4.1
The sos team is pleased to announce the release of sos-4.1. This is the first minor version update to the 4.x line which introduced a new design and project direction. Included in this release are numerous bug fixes and feature enhancements focused on increasing the stability and reliability of the previous major version update.
Global Changes
-
Fixed an incompatiblity with python-3.8 that prevented execution on systems using that version
-
Fixed using a relative path for
--tmp-dir
would result in failing to build the final archive -
Fixed several issues dealing with RPM building via distutils
-
Fixed a mismatch between option long form names with their internal destination names, which would prevent copy-pasting commands from sos logs
-
Fixed a bug where
--log-size=0
would be ignored -
SoS testing is now handled via CirrusCI on GCE, replacing the previous usage of TravisCI
-
Note to contributors: as of this release, all regex substitutions being done by plugins during collection will now require an example in comments
Policy changes
- Fixed SuSE policy enablement, sos-4.x should now run properly on the latest SuSE releases
- Upload usernames and passwords may now be set via environment variables
- The docker container runtime abstraction for policies now supports docker when installed as a snap
- Red Hat systems will now automatically failback to using FTP if uploads to the Red Hat Customer Portal failed
Report
The sos report
command has received a number of improvements in this minor release
- New plugins: openstack_barbican, tigervnc, bcache
- SoS will now generate sha256 checksums instead of md5
- Several plugins have been updated to enhance collection on PowerPC systems
- The
snappy
plugin has been renamed tosnap
- The
azure
plugin will now capture AEM data - Fixed an issue where the networking plugin incorrectly handled network namespaces
- The
salt
,keepalived
, and numerousopenstack_*
plugins have been updated to function for Mirantis Cloud Platform - The number of
ps
collections done by theprocess
plugin has been reduced and consolidated - Fixed enablement and collection of the
kubernetes
plugin for CDK environments - Fixed an issue for
SCLPlugin
enablement on systems that have SCL enabled, but not for the package(s) for the SCLPlugins report
will now collect broken symlinks properly, to show support representatives that a broken symlink exists on the system
Plugin API
- A new
get_network_namespaces()
method is available to assist with iterating over available network namespaces IndependentPlugin
has been updated and revived to be used for plugins that are not-distribution specific.- Thus, plugins that use
IndependentPlugin
will now be supported on all sos-supported distributions even if they aren't specifically tagged
- Thus, plugins that use
Clean|Mask
The sos clean
or sos mask
command has had significant attention paid to it to enhance the obfuscation provided for sosreports
- Added a username parser to obfuscate usernames reported by lastlog
- Improved the efficiency of the
sanitize_item()
entrypoint - Fixed an issue where MAC addresses ending in punctuation weren't obfuscated
- Fixed an issue where hostnames were not being obfuscated if the
host
plugin wasn't run but an obfuscation mapping was available - Fixed several reliability related issues for consistency in obfuscation
- Uppercase domains (e.g. kerberos realms) are now properly obfuscated
cleaner
is now a valid alias forsos clean
Collector
collect
will now use the sos-4.0sos
binary instead of the legacysosreport
binary if it is available- Updated
collect
to use addition options added in sos-4.0 collect
may now upload in the same waysos report
can- Fixed an issue where a user-forced cluster-type would not use that cluster's node enumeration method
For full information on the changes contained in this release, please refer to the Git commit logs. Further release information and tarballs are available at:
https://github.com/sosreport/sos/releases/tag/4.1
Please report any problems to the sos-devel mailing list, or the GitHub issue tracker:
https://github.com/sosreport/sos/issues/
The team would like to thank everyone who contributed fixes, new features, testing, and feedback for this release.