[sru] sos upstream 4.5.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Undecided
|
nikhil kshirsagar | ||
Bionic |
Invalid
|
Undecided
|
nikhil kshirsagar | ||
Focal |
Won't Fix
|
Undecided
|
nikhil kshirsagar | ||
Jammy |
Won't Fix
|
Undecided
|
nikhil kshirsagar | ||
Kinetic |
Won't Fix
|
Undecided
|
nikhil kshirsagar | ||
Lunar |
Won't Fix
|
Undecided
|
nikhil kshirsagar | ||
Mantic |
Fix Released
|
Undecided
|
nikhil kshirsagar |
Bug Description
[IMPACT]
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.
[TEST PLAN]
Documentation for Special Cases:
https:/
[WHERE PROBLEMS COULD OCCUR]
The changes in sosreport are described below. There are a number of changes related to report, plugins and policy. The changes in sosreport content may break existing tooling, so that will need extensive testing.
Global Changes
Policies
Added a snap package manager abstraction so that policies and plugins may inspect package installations using the snap manager.
Added a MultiPackagerMa
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-
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/
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:/
Please report any problems to the sos-devel mailing list, or the GitHub issue tracker:
https:/
The team would like to thank everyone who contributed fixes, new features, testing, and feedback for this release.
Release notes:
https:/
Changed in sosreport (Ubuntu Bionic): | |
status: | New → Won't Fix |
tags: | added: se se-sponsor-dgadomski |
Changed in sosreport (Ubuntu Bionic): | |
status: | Won't Fix → Invalid |
tags: |
added: verification-done-focal verification-done-jammy verification-failed-lunar removed: verification-needed-focal verification-needed-jammy verification-needed-lunar |
Changed in sosreport (Ubuntu Lunar): | |
assignee: | nobody → nikhil kshirsagar (nkshirsagar) |
Changed in sosreport (Ubuntu Kinetic): | |
assignee: | nobody → nikhil kshirsagar (nkshirsagar) |
Changed in sosreport (Ubuntu Jammy): | |
assignee: | nobody → nikhil kshirsagar (nkshirsagar) |
Changed in sosreport (Ubuntu Focal): | |
assignee: | nobody → nikhil kshirsagar (nkshirsagar) |
Changed in sosreport (Ubuntu Mantic): | |
assignee: | nobody → nikhil kshirsagar (nkshirsagar) |
Changed in sosreport (Ubuntu Bionic): | |
assignee: | nobody → nikhil kshirsagar (nkshirsagar) |
Additional patch built on top of upstream sos 4.5.4 is in these packages, patch is https:/ /github. com/sosreport/ sos/pull/ 3263 which fixes https:/ /github. com/sosreport/ sos/issues/ 3261 (Thanks for this fix Arif++)
Also, this release has an exclude clause in the debian/rules under override_ dh_auto_ test to skip unittests/ policy_ tests.py due to the avocado dependency introduced due to https:/ /github. com/sosreport/ sos/commit/ c59ab1c169098fd 3a173a68e09373b dc2498139a unittests. utilities_ tests.TailTest) ... ok
Without that , the build fails with,
~~~
test_tail_too_many (tests.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- python3/ dist-packages/ nose/failure. py", line 39, in runTest val.with_ traceback( self.tb) python3/ dist-packages/ nose/loader. py", line 417, in loadTestsFromName python3/ dist-packages/ nose/importer. py", line 47, in importFromPath Dir(dir_ path, fqname) python3/ dist-packages/ nose/importer. py", line 94, in importFromDir part_fqname, fh, filename, desc) python3. 6/imp.py" , line 235, in load_module python3. 6/imp.py" , line 172, in load_source _bootstrap> ", line 684, in _load _bootstrap> ", line 665, in _load_unlocked _bootstrap_ external> ", line 678, in exec_module _bootstrap> ", line 219, in _call_with_ frames_ removed >>/tests/ unittests/ policy_ tests.py" , line 10, in <module> rror: No module named 'avocado'
ERROR: Failure: ModuleNotFoundError (No module named 'avocado')
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.exc_
File "/usr/lib/
addr.filename, addr.module)
File "/usr/lib/
return self.importFrom
File "/usr/lib/
mod = load_module(
File "/usr/lib/
return load_source(name, filename, file)
File "/usr/lib/
module = _load(spec)
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "/<<PKGBUILDDIR
from avocado.utils import distro
ModuleNotFoundE
~~~
Uploading all the debdiffs, starting with mantic.