Skip to content

Releases: sosreport/sos

sos-4.8.0

17 Aug 16:31
Compare
Choose a tag to compare

The sos team is pleased to announce the release of sos-4.8.0. There are several project-wide changes in this release, which will be the last minor version release for 2024. The next minor release (4.9.0) is scheduled for February 2025, though users may expect maintenance releases on top of 4.8.0 between now and then.

Global

  • Major shoutout to @pponnuvel for the significant effort put into addressing linting reports and refactors across the project
  • Project naming patterns have been further clarified as "sos (space) $component", e.g. sos report instead of sosreport.
  • Deprecation notice: the old-style command redirectors such as sosreport are deprecated and will be removed in the next minor version (sos-4.9).
  • License Clarification: it was brought up that there was ambiguity in our licensing, namely "GPLv2 only" vs "GPLv2 or later". The sos project has always intended to be "GPLv2 only" and has clarified this stance across the repository.
    • See discussion #3705 for more details.
  • The automated snap build of sos has been updated to use core24.
  • This release is the last release that will have a minimum python version of python-3.6. Subsequent releases will have a minimum python version of python-3.8.

Report

  • Fixed a bug where all-logs may not have captured output if the command being collected was installed via snap packaging.

    Plugin

    • New plugins: fail2ban, microcloud
    • A new add_dir_listing() method has been added to standardize collections of directory listings in plugins.
      • The tree parameter can be specified to collect tree output instead of ls output
    • A new is_snap_installed() method has been added to standardize checking if a package is installed as a snap.
    • The container_log plugin has been updated to collect rotated logs.
    • The sunbeam_hypervisor plugin will now properly obfuscate ceilometer and hooks.log.
    • The networking plugin will now capture nmstatectl output.
    • The maas plugin has been significantly refactored.

Policy

  • Added a new policy for CloudLinux installations.
  • rpm-ostree distributions will fallback to /lib/modules/*/config if /boot/config-$release doesn't exist.

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

sos-4.7.2

21 Jun 08:17
Compare
Choose a tag to compare

The sos team is pleased to announce the release of sos-4.7.2. This is just a minor update compared to 4.7.1.

General Changes

  • A new policy for Alma Linux was added
  • Various formatting and styling improvements for CodeQL and pylint

Report Changes

  • A new preset for AAP Controller was added
  • All strings in report plugins were converted to f-strings
  • All journal collections respect --since option
  • PluginOpt changes standardized to use dashes only, which means no underscores in plugin options
  • Add an option to run commands as a user

Plugin Changes

  • New plugins: aap_gateway, aap_receptor, charmed_postgresql, curtin, kafka, microovn, sunbeam and sunbeam_hypervisor
  • kdump plugin is newly collected on Azure
  • kubernetes plugin stopped collecting data from unsupported versions

Cleaner Changes

  • Cleaner run on an already existing sosreport tarball does obfuscate data again

Tests Changes

  • Support testing via tox.ini
  • Tests run on latest daily Ubuntu builds
  • Avocado framework updated to 103.X TLS
  • All strings were converted to f-strings
  • New tests for apt, juju, netplan and networking

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

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.

sos-4.7.1

08 Apr 09:50
Compare
Choose a tag to compare

The sos team is pleased to announce the release of sos-4.7.1. This is just a minor update compared to 4.7.0.

General Changes

  • .format() calls are replaced by f-string equivalents as a step to modernize on f-strings
  • many PYLint, PEP8 and flake8 improvements done

Report Changes

  • Hardware devices have new section for fstype

Plugin Changes

  • New plugins: proxmox, aap_hub, aap_controller, telegraf
  • SCLPlugin class has been dropped
  • nfs plugin captures various mountstats
  • ceph* plugins newly respect --all-logs option
  • openstack_keystone properly obfuscates OIDC client secret

Collector Changes

  • ocp cluster has a new option to specify API URL

Cleaner Changes

  • A new option --skip-cleaning-files / --skip-masking-files implemented
  • Stripping raw MAC address has been improved

Tests Changes

  • Workaround of puppet bug puppet-agent-7.29.0*) in foreman installer applied

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

sos-4.7.0

20 Feb 00:43
Compare
Choose a tag to compare

The sos team is pleased to announce the release of sos-4.7.0. This release marks the first six-month release in 2024, with another scheduled to follow in late August.

Global Changes

  • Added support for S3 uploads.

Policy Changes

  • Fixed dist_version() for Ubuntu.
  • Dropped the RedHatAtomic policy.
  • Changed the authentication for RHEL uploads to use device auth instead of username/password.

Report Changes

  • Added a new preset for app_eda (Ansible Automation Platform Event Drive Ansible).

Plugin Changes

  • New plugins: aide, app_eda, coredump', infinidat, vectordev.
  • The networking plugin now uses a predicate for ss commands on Ubuntu.
  • Enabled the kubernetes plugin for Debian.
  • Dropped the atomic plugin.
  • Fixed an issue with the command predicate for the lxd plugin when enabled via a snap.
  • The nvme plugin now collects additional files per nvme drive on the host.

Collect Changes

  • Added a transport for Saltstack.

Cleaner Changes

  • clean will no longer try to obfuscate words that are 3 characters or less in length.
  • clean will now properly obfuscate the upload password (if provided) in our own logs.

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

sos-4.6.1

10 Jan 07:47
Compare
Choose a tag to compare

The sos team is pleased to announce the release of sos-4.6.1

Global Change

  • Fixed code warnings for file not always closed and for mixing implicit and explicit returns.
  • `packaging.version' is now preferred for package version parsing.
  • Packaging and testing on deb packages has been started.
  • Copr builds for centos stream are newly configured.

Report Changes

  • Flatpak package manager is added.

Plugin Changes

  • More ovn and ovnkube logs collected.
  • New MAAS 3.5 data collected.
  • Added two new plugins for OpenStack Masakari.
  • New Greenboot plugin separated from Microshift plugin.
  • Several improvements have been made to the Microshift plugin.
  • Dynaconf and auth passwords are properly obfuscated in both Pulp plugins.
  • Microceph plugin now collects mgr data and ceph daemon commands in OSD node.
  • Salt plugin collects more data about services, grains or pillars.

Collector Changes

  • get_pty functionality has been refactored.

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

sos-4.6.0

17 Aug 22:49
Compare
Choose a tag to compare

The sos team is pleased to announce the release of sos-4.6.0. While this is a minor update compared to 4.5.6, users and environments will notice a large amount of changes over sos-4.5.0 - see the previous release notes for 4.5.0+. Changes relative to sos-4.5.6 are below.

Report Changes

  • sos report will no longer use a non / sysroot for network device enumeration

Plugin Changes

  • New plugins: slurm
  • The containerd plugin now enables off the containerd.io package
  • The ceph_common plugin will no longer enable automatically on cinder nodes
  • The discovery plugin will now be enabled by the presence of relevant containers
  • The ubuntu plugin will no longer collect ua_tools_status output if the tls module is not loaded
  • The firewall_tables plugin will now always capture the nat table, where previously it could be erroneously missed
  • The openshift_ovn plugin will now collect ovn db files

Cleaner Changes

  • Archive extraction now uses fully_trusted_filter as per requirements for python-3.10+ runtimes

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

sos-4.5.6

20 Jul 21:41
Compare
Choose a tag to compare

The sos team is pleased to announce the release of sos-4.5.6.

Global Changes

  • snaps are now automatically built and pushed with new releases.
  • Fixed an incompatibility issue with python-3.12 runtimes.

Report Changes

  • Added a new ceph profile for use in those types of environments.

Plugin Changes

  • Fixed an issue with the enablement of ceph plugins possibly be erroneously enabled.
  • Fixed an issue with multiline regexes raising exceptions on python 3.11 runtimes.
  • The lustre plugin now collects more debug parameters.
  • The ssh plugin now controls collection of user ~/.ssh/config files via the userconfs option.
    • The default for the option is set to true/on/enabled, preserving previous behavior.

Cleaner Changes

  • Obfuscated files will now have their permissions set to match the source file.
  • Refined the regex used to extract MAC addresses, and will now match underscore separated addresses.

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

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.

sos-4.5.5

23 Jun 12:59
Compare
Choose a tag to compare

The sos team is pleased to announce the release of sos-4.5.5. This release has a number of edge case bug fixes, as well as the start of an overhaul to the concurrency approach to cleaner, which will happen over several releases.

Global Changes

  • sos.spec has been updated to more closely align with Fedora guidelines.
  • Build snaps as part of merging to main should be more reliable now.

Report Changes

  • Fixed a bug where scrubbing certificate content would fail as a result of us implicitly using the re.I flag for plugin-based postprocessing.

Plugin Changes

  • New plugins: cxl, vault
  • Fixed a bug where if sos was running inside a container, and a plugin attempted to collect a symlink to a host file, that the plugin would instead capture the container's version of that file.
  • Fixed a bug where redundant attempts to create a plugin's sos_commands/ subdirectory would result in an exception.
  • The apache plugin will now collect all /etc/httpd/conf/*.conf files by default.
  • The ipa plugin will now collect SID and EPN logs.
  • The grub2 plugin will now collect user-created config files.
  • Spaces are now handled properly when scrubbing passwords within the sssd plugin.
  • The docker plugin will now function for Debian based systems.

Collect Changes

  • The ocp cluster profile will now more gracefully handle timeouts when trying to remove the temporary project after collections complete. Users are now also notified that if this occurs, they will need to manually delete the temporary project.
  • Report execution errors handled within SosNode are now more consistently printed to console.

Cleaner Changes

  • Refined MAC address parsing, so we should have more complete coverage of MAC address obfuscation
  • The process of preparing cleaner mappings has been abstracted out into new Prepper objects. These preppers allow more flexible ways to extract relevant items for preparing mappings and parsers before the bulk obfuscation work begins. This is the first step in moving to a more efficient concurrency design, and subsequent changes and refinements are expected over the next few releases.

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

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.

sos-4.5.4

26 May 17:04
Compare
Choose a tag to compare

The sos team is pleased to announce the release of sos-4.5.4. This release focused on expanding support in policies for more and multiple package managers. The next release is slated for June 22.

Policies

  • Added a snap package manager abstraction so that policies and plugins may inspect package installations using the snap manager.
  • Added a MultiPackagerManager that allows policies to leverage multiple package managers on the same system - e.g. a system using both dpkg and snaps.
  • The Ubuntu policy will now use both the dpkg and snap package managers, so plugins will be enabled based on the installation of a package in either dpkg or snap format.
  • The dpkg package manager will now properly remove recently-uninstalled packages from the returned package list.
  • The Mariner policy has been renamed to Azure Linux to match the new upstream naming.

Report Changes

  • Plugins will now collect truncated strings into the report before collecting command output.

Plugin Changes

  • New plugins: rhc, microk8s
  • The alternatives plugin now supports Ubuntu installations.
  • The dnf plugin has removed the superflous use of --assumeno from commands that cannot generate the need for user input. Command file names will change accordingly.
  • The apport plugin will now collect /var/crash if --all-logs is used.
  • The lxd plugin will now collect logs and configuration files from locations based on snap installations as well.
  • The apt plugin will now obfuscate credentials in list files.
  • The kernel plugin will now collect /var/lib/systemd/pstore.
  • The powerpc plugin will now collect RMC status logs and invscout logs.
  • The foreman plugin will now collect qpid-stat output.
  • The landscape plugin now collects more logs.

Collect Changes

  • Fixed a bug that would prevent the juju cluster from collections when a subbordinate's parent or its units were missing.
  • Fixed a bug where collect could end up skipping the local node if that node was part of the cluster but was not forcibly removed via strict_node_list (primarily pacemaker clusters).

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

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.

sos-4.5.3

28 Apr 17:19
Compare
Choose a tag to compare

The sos team is pleased to announce the release of sos-4.5.3. This release follows our recent changes to adopt a faster release cadence, and as such is smaller in scope than previous releases for the project. The next release is slated for May 26.

Policy Changes

  • Added a policy for CBL-Mariner Linux
  • Fixed an issue in the ubuntu policy that could prevent archive uploads when users specified a manual --upload-url

Report Changes

  • Usage of --enable-plugins, --skip-plugins, and --only-plugins from the command line will now properly override those values set by a preset if the preset added them to a conflicting option

Plugin Changes

  • The lustre plugin will now collect ldiskfs information
  • The zfs plugin will now collect from /proc/spl
  • The firewalld plugin will now collect the ipsets, policies, and helpers subdirectories within /etc/firewalld/
  • The iscsi plugin will now properly obfuscate password_in strings in collected files
  • The ceph plugin will now collect a dump of mon's config database
  • The powerpc plugin will now collect lsslot, amsstat, and opal elogs output
  • The virsh plugin will now scrub spice passwords in virt-manager logs

Collect changes

  • Added both a new transport and cluster profile for Juju environments

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

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.