Public bug reported:

== Comment: #0 - ABDUL HALEEM <[email protected]> - 2018-03-16 01:59:41 ==
Problem:
------------
While running sosreport on ubuntu 18.04 powerpc machine it got exception when 
file is large

  Running 27/60: logs...        caught exception in plugin method 
"logs.collect()"
writing traceback to sos_logs/logs-plugin-errors.txt
  Running 30/60: lxd...               

[plugin:lxd] command 'lxc list' timed out after 300s
[plugin:lxd] command 'lxc profile list' timed out after 300s


Machine : Witherspoon bare-metal DD2.2
 sosreport              3.5-1ubuntu2 

uname -a
Linux ltciofvtr-spoon1 4.15.0-12-generic #13-Ubuntu SMP Wed Mar 7 21:37:03 UTC 
2018 ppc64le 
ppc64le ppc64le GNU/Linux

# free -h
              total        used        free      shared  buff/cache   available
Mem:           503G        7.1G        493G         21M        2.4G        493G
Swap:          2.0G          0B        2.0G

- - - steps to reproduce - - -
 sosreport 

sosreport (version 3.5)

This command will collect system configuration and diagnostic
information from this Ubuntu system. An archive containing the collected
information will be generated in /tmp/sos.2_u6n8p3.

For more information on Ubuntu visit:

  http://www.ubuntu.com/

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 changes will be made to system configuration.

Press ENTER to continue, or CTRL-C to quit.

Please enter your first initial and last name [ltciofvtr-spoon1]: 
Please enter the case id that you are generating this report for []: 

 Setting up archive ...
 Setting up plugins ...

 Running plugins. Please wait ...

  Running 27/60: logs...        caught exception in plugin method 
"logs.collect()"
writing traceback to sos_logs/logs-plugin-errors.txt
  Running 30/60: lxd...               

[plugin:lxd] command 'lxc list' timed out after 300s
[plugin:lxd] command 'lxc profile list' timed out after 300s
[plugin:lxd] command 'lxc image list' timed out after 300s
  Running 60/60: xfs...               
Creating compressed archive...

Your sosreport has been generated and saved in:
  /tmp/sosreport-ltciofvtr-spoon1-20180316023240.tar.xz

The checksum is: 8a2d4464d0ee94a306f6529a6a92f4e6

Please send this file to your support representative.

== Comment: #6 - ABDUL HALEEM <[email protected]> - 2018-04-27 00:18:45 ==
Machine is available only for today for debugging and I am still able to 
reproduce this bug on 4.15.0-17-generic

Please mirror this as soon as possible.


root@ltciofvtr-spoon1:~# sosreport 

sosreport (version 3.5)

This command will collect system configuration and diagnostic
information from this Ubuntu system. An archive containing the collected
information will be generated in /tmp/sos.7debi_it.

For more information on Ubuntu visit:

  http://www.ubuntu.com/

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 changes will be made to system configuration.

Press ENTER to continue, or CTRL-C to quit.

Please enter your first initial and last name [ltciofvtr-spoon1]: 
Please enter the case id that you are generating this report for []: 

 Setting up archive ...
 Setting up plugins ...
 Running plugins. Please wait ...

  Running 29/63: logs...        caught exception in plugin method 
"logs.collect()"
writing traceback to sos_logs/logs-plugin-errors.txt
  Running 57/63: systemd...

== Comment: #8 - Urvashi Jawere <[email protected]> - 2018-04-27 06:46:57 ==
Hi Abdul,

I tried with a small fix and I was able to create the sosreport. Python 3 
doesn't have decode anymore.
Attaching the patch fix with the bug.

== Comment: #9 - Urvashi Jawere <[email protected]> - 2018-04-27
06:47:33 ==


== Comment: #10 - Urvashi Jawere <[email protected]> - 2018-04-27 06:50:53 ==
After fix, I was able to collect sosreport from machine-

root@ltciofvtr-spoon1:/usr/share/sosreport/sos/plugins# sosreport

sosreport (version 3.5)

This command will collect system configuration and diagnostic
information from this Ubuntu system. An archive containing the collected
information will be generated in /tmp/sos.4i288ell.

For more information on Ubuntu visit:

  http://www.ubuntu.com/

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 changes will be made to system configuration.

Press ENTER to continue, or CTRL-C to quit.

Please enter your first initial and last name [ltciofvtr-spoon1]: try
Please enter the case id that you are generating this report for []: bugfix

 Setting up archive ...
 Setting up plugins ...
 Running plugins. Please wait ...

  Running 63/63: xfs...                 
Creating compressed archive...

Your sosreport has been generated and saved in:
  /tmp/sosreport-try.bugfix-20180427071050.tar.xz

The checksum is: 03df61167b547a242ce3f18b588f3c47

Please send this file to your support representative.

root@ltciofvtr-spoon1:/usr/share/sosreport/sos/plugins# ls

== Comment: #11 - Urvashi Jawere <[email protected]> - 2018-04-30
01:32:55 ==

** Affects: sosreport (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-165778 severity-high 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-165778 severity-high
targetmilestone-inin---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to