Comment 0 for bug 1923641

Revision history for this message
Garrett Neugent (thogarre) wrote : "unsupported operand type(s)" error during report generation

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.20.04.1
  Candidate: 4.1-1ubuntu0.20.04.1
  Version table:
 *** 4.1-1ubuntu0.20.04.1 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.9-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages

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:execute_sos_command] Error running sosreport: unsupported operand type(s) for +: 'bool' and 'str'
Error running sosreport: unsupported operand type(s) for +: 'NoneType' and 'str'
No sosreports were collected, nothing to archive...