[Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Triaged
|
High
|
David Britton | ||
sosreport (Ubuntu) |
In Progress
|
Undecided
|
Eric Desrochers |
Bug Description
== Comment: #0 - ABDUL HALEEM <email address hidden> - 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/
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:
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/
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/
The checksum is: 8a2d4464d0ee94a
Please send this file to your support representative.
== Comment: #6 - ABDUL HALEEM <email address hidden> - 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-
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:
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/
Running 57/63: systemd...
== Comment: #8 - Urvashi Jawere <email address hidden> - 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 address hidden> - 2018-04-27 06:47:33 ==
== Comment: #10 - Urvashi Jawere <email address hidden> - 2018-04-27 06:50:53 ==
After fix, I was able to collect sosreport from machine-
root@ltciofvtr-
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:
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/
The checksum is: 03df61167b547a2
Please send this file to your support representative.
root@ltciofvtr-
== Comment: #11 - Urvashi Jawere <email address hidden> - 2018-04-30 01:32:55 ==
Changed in ubuntu-power-systems: | |
importance: | Undecided → High |
assignee: | nobody → Canonical Server Team (canonical-server) |
tags: | added: triage-g |
Changed in ubuntu-power-systems: | |
status: | New → Triaged |
assignee: | Canonical Server Team (canonical-server) → David Britton (davidpbritton) |
Changed in sosreport (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Eric Desrochers (slashd) |
Changed in sosreport (Ubuntu): | |
status: | New → In Progress |
tags: |
added: targetmilestone-inin1804 removed: targetmilestone-inin--- |
Default Comment by Bridge