SOSREPORT need to collect OPAL msglog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Undecided
|
Taco Screen team | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[SRU justification]
Required to collect OPAL message log
[Impact]
Logs are unavailable without this fix
[Fix]
Add collection of /sys/firmware/
[Test Case]
Run sosreport on ppc64el with :
$ sudo sosreport --batch -opowerpc
The content of /sys/firmware/
[~apw: we also need to test a selection of the other data is collected still to ensure we did not regress any non-opal data.]
[Regression]
None, this was not collected previously.
[Original description of the problem]
== Comment: #0 - Mukesh K. Ojha <email address hidden> - 2016-08-17 02:13:40 ==
---Problem Description---
Currently, SOSREPORT version used by 16.04.01 LTS release does not collect
OPAL log which is present in /sys/firmware/
A patch has been submitted upstream(https:/
commit 1bbf9e9690e7f2a
Author: Joel Stanley <email address hidden>
Date: Tue Apr 15 14:05:17 2014 +0100
Add OPAL log to collected file list
The OPAL console log used to live under /sys/kernel/
was collected as part of that glob. This patch adds the new location at
/sys/
Signed-off-by: Joel Stanley <email address hidden>
Reviewed-by: Vasant Hegde <email address hidden>
Contact Information = Contact Information = <email address hidden>, <email address hidden>
---uname output---
Ubuntu 16.04.01 LTS
Machine Type = All power machine
---Debugger---
A debugger is not configured
---Steps to Reproduce---
root@ltctul57a-
sosreport (version 3.2.0a1)
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.sj1x27eq.
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 [ltctul57a-p1]:
Please enter the case id that you are generating this report for []:
Setting up archive ...
Setting up plugins ...
Running plugins. Please wait ...
Running 73/73: xfs...
Creating compressed archive...
Your sosreport has been generated and saved in:
/tmp/
The checksum is: 33dbfc480ebf985
Please send this file to your support representative.
root@ltctul57a-
root@ltctul57a-
boot dev etc hostname ip_addr lib lsmod lspci netstat ps route sos_commands sos_reports uname usr version.txt
date df free installed-debs last lsb-release lsof mount proc pstree run sos_logs sys uptime var vgdisplay
root@ltctul57a-
bus class devices fs kernel module
root@ltctul57a-
No Firmware directory available that confirms the unavailability of OPAL msglog.
Userspace tool common name: sosreport
The userspace tool has the following bit modes: both
Userspace rpm: root@ltctul57a-
Userspace tool obtained from project website: na
*Additional Instructions for Contact Information = <email address hidden>, <email address hidden> :
-Attach ltrace and strace of userspace application.
tags: | added: architecture-ppc64le bugnameltc-145171 severity-high targetmilestone-inin16041 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → sosreport (Ubuntu) |
Changed in sosreport (Ubuntu Xenial): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
Changed in sosreport (Ubuntu): | |
status: | New → Fix Released |
tags: |
added: targetmilestone-inin16042 removed: targetmilestone-inin16041 |
Changed in sosreport (Ubuntu Trusty): | |
status: | New → Triaged |
Changed in sosreport (Ubuntu Yakkety): | |
status: | New → Triaged |
Changed in sosreport (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in sosreport (Ubuntu Xenial): | |
importance: | High → Medium |
Changed in sosreport (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
description: | updated |
Changed in sosreport (Ubuntu Trusty): | |
status: | Triaged → In Progress |
Changed in sosreport (Ubuntu Yakkety): | |
status: | Triaged → In Progress |
tags: | added: sts-sru |
tags: |
added: sts-sru-needed removed: sts-sru |
Changed in sosreport (Ubuntu Zesty): | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in sosreport (Ubuntu Trusty): | |
assignee: | nobody → Louis Bouchard (louis) |
Changed in sosreport (Ubuntu Yakkety): | |
assignee: | nobody → Louis Bouchard (louis) |
Changed in sosreport (Ubuntu Zesty): | |
assignee: | nobody → Louis Bouchard (louis) |
tags: |
added: verification-done removed: verification-needed |
Changed in sosreport (Ubuntu Trusty): | |
assignee: | Louis Bouchard (louis) → nobody |
Changed in sosreport (Ubuntu Xenial): | |
assignee: | Louis Bouchard (louis) → nobody |
Changed in sosreport (Ubuntu Yakkety): | |
assignee: | Louis Bouchard (louis) → nobody |
Changed in sosreport (Ubuntu Zesty): | |
assignee: | Louis Bouchard (louis) → nobody |
------- Comment From <email address hidden> 2016-08-18 01:18 EDT-------
Hello Canonical,
This patches fixes issue of collecting OPAL firmware logs.. which is important for debugging PowerNV host issues. Hence can you please pull the commit mentioned in this bug to 16.04 LTS release?
Note that 16.10 contains sosreport 3.3 ..which has required fix.
-Vasant