[sos41][sos-collect]"unsupported operand type(s)" error during report generation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
[Test Case]
[Where problem could occur]
[Other information]
https:/
https:/
[Original description]
When trying out the new version (4.1), I get an error during report generation.
Both the remote and local machines are using the latest version of soreport:
$ apt-cache policy sosreport
sosreport:
Installed: 4.1-1ubuntu0.
Candidate: 4.1-1ubuntu0.
Version table:
*** 4.1-1ubuntu0.
500 http://
100 /var/lib/
3.9-1ubuntu2 500
500 http://
Both the remote and local machines are using 20.04.2 (From cat /etc/os-release)
Here's the full output (node and user have been redacted), including the debug flag:
$ sos collect --batch -a --all-logs --clean --nodes $node --ssh-user $user --debug
sos-collector (version 4.1)
This utility is used to collect sosreports from multiple nodes simultaneously.
It uses OpenSSH's ControlPersist feature to connect to nodes and run commands
remotely. If your system installation of OpenSSH is older than 5.6, please
upgrade.
An archive of sosreport tarballs collected from the nodes will be generated in
/tmp/sos.fie0k2xs and may be provided to an appropriate support representative.
The generated archive may contain data considered sensitive and its content
should be reviewed by the originating organization before being passed to any
third party.
No configuration changes will be made to the system running this utility or
remote systems that it connects to.
sos-collector ASSUMES that SSH keys are installed on all nodes unless the
--password option is provided.
Local sos report generation forcibly skipped due to lack of root privileges.
Either use --nopasswd-sudo, run as root, or do not use --batch so that you will be prompted for a password
Cluster type set to Pacemaker High Availability Cluster Manager
Cluster status could not be determined. Is the cluster running on this node?
The following is a list of nodes to collect from:
$node
Connecting to nodes...
Beginning collection of sosreports from 1 nodes, collecting a maximum of 4 concurrently
$node : Generating sosreport...
[$node:
Error running sosreport: unsupported operand type(s) for +: 'NoneType' and 'str'
No sosreports were collected, nothing to archive...
description: | updated |
description: | updated |
Changed in sosreport (Ubuntu): | |
status: | New → Confirmed |
Hi Garrett,
Since current 4.1 is at upstream src code base level. Could you please report this upstream as well ?
https:/ /github. com/sosreport/ sos/issues
- Eric