[sync][sru] Backport of sosreport v3.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Debian) |
Fix Released
|
Unknown
|
|||
sosreport (Ubuntu) |
Fix Released
|
Medium
|
Eric Desrochers | ||
Trusty |
Won't Fix
|
Wishlist
|
Eric Desrochers | ||
Xenial |
Fix Released
|
Wishlist
|
Eric Desrochers | ||
Bionic |
Fix Released
|
Wishlist
|
Eric Desrochers | ||
Cosmic |
Fix Released
|
Wishlist
|
Eric Desrochers |
Bug Description
[Impact]
sosreport 3.6 has been released in June 2018 with further enhancements in core sosreport functionality.
I already did the request for debian :
https:/
and 3.6 has been uploaded in Debian since then (Thanks to caribou):
sosreport | 3.6-1 | testing
sosreport | 3.6-1 | unstable
and I have synced sosreport (Debian->Ubuntu Disco).
It would be great to have sosreport v3.6 SRU'd in supported stable releases once official release upstream, considering the fact that the release (especially LTSes) will be supported for a couple of years still:
[https:/
Ubuntu 16.04 | support until 2023
Ubuntu 18.04 | support until 2024
sosreport is widely use by Canonical support team to troubleshoot UA customer and other vendors and community users. These improvement will benefit all of them.
sosreport 3.6 contains a number of enhancements, new features, and bug fixes. (See "Release Note" below)
Just like we did for v3.5 (LP: #1734983)
[Test Case]
* Install sosreport
* Run sosreport
- sosreport plugins are separated by subject (juju, MAAS, grub,zfs, ipsec, ...) and allow the capability to detect (based on file and package) if it exist and/or installed and then only run the necessary plugins based on the detection made.
[Things identified during our testing]
* [minor] juju plugin detection doesn't work if installed as a snap:
https:/
Fix already submitted upstream. This is not a new thing, juju in
sosreport have always been made for .deb so far. It's not a
regression introduce in 3.6, and IMHO not a blocker for the current
SRU. It could be patch later on when the upstream discussion/approval
will be done.
* [major] Certain plugins may or may not substitute sensible
information such as password. Upstream fix found and applied :
https:/
- d/p/fix-
* [minor] kernel plugin dont collect some tracing instance files
https:/
LP: #1803735
- d/p/dont-
[Regression Potential]
* Regression risk is low, as long as the core functionnality works (Package manager, ...)
* autopkgtest reveal no regressions.
* We did some dogfooding on sosreport, but we can't test each individual plugins and scenarios one by one, that would be impossible but we have tested the ones we considered important and Ubuntu related (canonical-
[Other Info]
[v3.6 Release notes]
# https:/
[Original Description]
sosreport 3.6 has been released in June 2018 with further enhancements in core sosreport functionality.
A sync can be done since all Ubuntu patches has been integrated in 3.6
I already did the request for debian :
https:/
and 3.6 has been uploaded in Debian since then (Thanks to caribou):
sosreport | 3.6-1 | testing
sosreport | 3.6-1 | unstable
Now, it would be great to have sosreport v3.6 in Development Release & SRU'd in all supported stable release once official release upstream, considering the fact that the release will contain a number of enhancements, new features, and bug fixes and that sosreport is widely use by Canonical support team to troubleshoot UA customer.
Just like we did for v3.5.
[v3.6 Release notes]
# https:/
The sos team is pleased to announce the release of sos-3.6. This is a
significant release containing a number of enhancements, new features,
and bug fixes, including:
29 new plugins:
alternatives, ansible, btrfs, buildah, clear_containers, date,
elastic, fibrechannel, host, kata_containers, lustre, memcached,
mssql, networkmanager, nvme, omnipath_client, omnipath_manager,
opendaylight, openstack_octavia, ovirt_provider_ovn, ovn_central,
ovn_host, rear, release, runc, skydive, unpackaged, watchdog, wireless
User and policy defined command line presets
The ability to save and recall specific combinations of command
line parameters
Policy authors may define presets for specific situations, products
or other uses (e.g. "cantboot", "rhel", "openshift" etc.).
Size limits for external commands
Certain commands produce large volumes of data, inflating report
size (e.g. journalctl): the command collection interface now allows
an arbitrary size limit to be applied, which includes memory used
during the run (reducing sosreport's peak memory usage).
Automatic file and command size limits
Plugins that do not specify an explicit size limit for files or
commands are now subject to the default value (specified with the
--log-size command line option).
Plugin authors may override this behaviour if needed
Concurrent plugin execution
Plugins are now run in parallel using a thread pool
Reduces runtime by up to 50% (workload dependent)
Command line --threads option to set the number of threads to
use, or to disable parallel execution
New profiles (including containers and the Apache webserver)
major enhancements to core features and existing plugins:
better package manager version information
policy support for detecting package managed files
fixed exit status propagation
deprecated optparse replaced with argparse
simplified and improved SoSOptions interface
better error handling during interactive prompting
allow journal collection by identifier
allow collection of journal message catalogs
support for collecting binary file data
more fine-grained system plugins (date etc.)
policy defined report file name patterns
more human-readable report file names by default
increased default log size (25MiB vs. 10MiB)
support for forbidden path lists and forbid logging
support for enabling plugins by kernel module name
support for enabling plugins by executable name
support for collecting eBPF (bpftool) data
support for device information via add_udev_info()
support for detecting and reporting unpackaged binaries
optional collection of the RPMDB
improved archive compression level and multithreading
default log size increased from 10MiB to 25MiB
improved debug logging and ENOSPC handling
major updates to the IPA plugin
major updates to the Docker plugin
string decoding fixes
DNF and Yum module support
OpenShift 3.10 support
Python3 fixes
tags: | added: sts |
Changed in sosreport (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in sosreport (Ubuntu Bionic): | |
importance: | Undecided → Wishlist |
Changed in sosreport (Ubuntu Xenial): | |
importance: | Undecided → Wishlist |
Changed in sosreport (Ubuntu Trusty): | |
importance: | Undecided → Wishlist |
Changed in sosreport (Ubuntu Cosmic): | |
importance: | Wishlist → Medium |
description: | updated |
Changed in sosreport (Debian): | |
status: | Unknown → New |
Changed in sosreport (Ubuntu Cosmic): | |
assignee: | nobody → Eric Desrochers (slashd) |
status: | New → In Progress |
description: | updated |
Changed in sosreport (Ubuntu Cosmic): | |
assignee: | Eric Desrochers (slashd) → Louis Bouchard (louis) |
Changed in sosreport (Ubuntu): | |
assignee: | Louis Bouchard (louis) → Eric Desrochers (slashd) |
Changed in sosreport (Ubuntu Cosmic): | |
assignee: | Louis Bouchard (louis) → nobody |
description: | updated |
summary: |
- sosreport v3.6 + [sync] sosreport v3.6 |
Changed in sosreport (Ubuntu Cosmic): | |
status: | In Progress → New |
importance: | Medium → Wishlist |
Changed in sosreport (Ubuntu Cosmic): | |
status: | New → In Progress |
assignee: | nobody → Eric Desrochers (slashd) |
summary: |
- [sync] sosreport v3.6 + [sync][sru]sosreport v3.6 |
Changed in sosreport (Debian): | |
status: | New → Fix Released |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in sosreport (Ubuntu Bionic): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in sosreport (Ubuntu Xenial): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in sosreport (Ubuntu Trusty): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in sosreport (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Trusty): | |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: sos36 |
tags: |
added: verification-done-bionic verification-done-cosmic verification-done-xenial removed: verification-needed-bionic verification-needed-cosmic verification-needed-xenial |
description: | updated |
description: | updated |
description: | updated |
summary: |
- [sync][sru]sosreport v3.6 + [sync][sru] Backport of sosreport v3.6 |
Changed in sosreport (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Trusty): | |
status: | In Progress → Won't Fix |
Quick update....
sosreport v3.6, has been push in sid.
# https:/ /buildd. debian. org/ /buildd. debian. org/status/ fetch.php? pkg=sosreport& ver=3.6- 1&arch= mips&stamp= 1538604660
Oct 03, 22:11:00 sosreport 3.6-1 on mips in sid: successful (all arches)
# https:/
#rmadison -u debian sosreport
...
sosreport | 3.6-1 | unstable | source, amd64, arm64, i386, ppc64el, s390x
Thanks to Caribou !