[sos-devel] sos-4.5.0 is now available on GitHub

Jake Hunsaker jhunsake at redhat.com
Wed Feb 1 15:03:05 UTC 2023


The sos team is pleased to announce the release of sos-4.5.0. This is 
the first release of a new, faster release cadence that will see new 
versions cut approximately every 4 weeks going forward. This release 
sees design changes to plugins, most notably by now supporting the 
manual collection and compilation of diagnostic data not strictly 
limited to existing command output or file collection. Highlighted 
changes are noted below.


    Global

  * Snaps are now created automatically whenever a change is pushed
    to|main|. These snaps are available via snapcraft under|latest/edge|
  * python3-magic is now a soft dependency, and if not present sos will
    use a less sophisticated method for determining if a file is binary
    or not
  * |distutils|usage has been fully replaced by|setuptools|


    Policies

  * Added support for Anolis OS
  * Added support for Circle Linux
  * Added support for OpenCloudOS
  * When loaded for an|sos collect|execution, a
    policy's|remote_exec|will now directly use the loaded
    transport's|run_command|functionality, rather than re-building
    command strings
  * The Debian policy has been updated to correctly identify many more
    and newer Debian versions
  * Fixed an issue with the RHEL policy that would prevent non-anonymous
    upload to the failover SFTP server if a case ID was not provided


    Report

  * A "tag_summary" section has been added to the report manifest.json.
    This is a dictionary with keys being tags that were created during
    collection, with values being all files sharing that tag
  * |sos_get_command_output()|timeout handling will now properly handle
    the situation where a command's child process deadlocks but
    the|timeout|wrapper was able to kill the parent process, but left
    the child behind.
  * Estimate mode for report will now report real disk usage, rather
    than apparent size


      Plugins

  * New plugins:|containerd|,|fapolicyd|
  * The|kernel|plugin will now collect|modprobe.d/*conf|files
  * The|hpassm|plugin will now collect|show detail|output per array and slot
  * The|crio|plugin now supports CoS systems
  * The|dnf|plugin will now properly obfuscate|password|variable values
  * The flow of plugin code execution has been changed
      o |setup()|is now strictly for determining what collections to
        perform, outside of calls to|collect_cmd_output()|in order to
        build further sets of commands
      o |_collect_plugin()|is now used to actually perform the
        collections specfied by|setup()|. This now includes tailed file
        collections which were previously part of|setup()|
      o |collect()|can now be used to perform ad-hoc/manual collections
        that are not strictly part of command output collection. If a
        plugin needs to manipulate data from commands or system
        information and then write it out manually (such as with
        the|rpm|plugin generating package output), it should now be done
        inside the|collect()|method
  * The|composer|plugin has been overhauled and updated for the new
    versions of composer
  * Enablement triggers have been expanded for
    the|xfs|,|nvme|,|firewall_tables|, and|krb5|plugins
  * The|virsh|plugin will now collect more information about the
    host/hypervisor system
  * The various|ceph_*|plugins have been updated to collect the
    appropriate data for both older and more recent versions of ceph,
    including traditional installations and those deployed with|cephadm|


    Collect

  * Cluster profiles may now directly specify sos options to enforce on
    per-node report collections
  * Added a new cluster profile for Red Hat Ceph Storage 5
      o This new profile/may/work for other Ceph environments deployed
        with|cephadm|, but that is not tested
  * Added a new|saltstack|transport


    Cleaner|Mask

  * The|--domains|option is now validated for items that look like a domain
  * Fixed an issue where a file with encoding issues would be aborted
    by|clean|, but left in the archive. Files will now either show
    replaced content or be removed from the archive, rather than being
    left unobfuscated in any manner
  * sos will no longer attempt to obfuscate the temp directory the
    archive is in before moving the archive at the end of cleaning
  * Added a new parser to support IPv6 obfuscation

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.5.0

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.

-- 
Jake Hunsaker
RHCA Cloud Specialist
Senior Software Engineer, CEE Engineering
Red Hat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/sos-devel/attachments/20230201/d29f417c/attachment-0001.htm>


More information about the sos-devel mailing list