← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1614052] Re: SOSREPORT need to collect OPAL msglog

 

This bug was fixed in the package sosreport - 3.4-1~ubuntu14.04.1

---------------
sosreport (3.4-1~ubuntu14.04.1) trusty; urgency=medium

  * Release of the current artful 3.4 version that fixes some
    specific Ubuntu issues :
    - Collection of the OPAL msglog (LP: #1614052)
    - Add ZFS sosreport plugin (LP: #1666239)
  * Ubuntu specific modifications to sosreport not yet upstream :
    - Inclusion of DEP8 tests to verify regression. This is required
      to SRU to a new major version.
    - Take into account the iscsi initiator config and logs (LP: #1605243)
    - d/p/0003-plugins-Handle-stat-errors-on-missing-files.patch:
      Properly handle os.stat() when file is missing or broken link

 -- Louis Bouchard <louis@xxxxxxxxxx>  Tue, 25 Apr 2017 16:34:41 +0200

** Changed in: sosreport (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1614052

Title:
  SOSREPORT need to collect OPAL msglog

Status in sosreport package in Ubuntu:
  Fix Released
Status in sosreport source package in Trusty:
  Fix Released
Status in sosreport source package in Xenial:
  Fix Released
Status in sosreport source package in Yakkety:
  Fix Released
Status in sosreport source package in Zesty:
  Fix Released

Bug description:
  [SRU justification]
  Required to collect OPAL message log

  [Impact]
  Logs are unavailable without this fix

  [Fix]
  Add collection of /sys/firmware/opal/msglog if it exists

  [Test Case]
  Run sosreport on ppc64el with :
  $ sudo sosreport --batch -opowerpc

  The content of /sys/firmware/opal/msglog will be collected

  [~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 <mukeojha@xxxxxxxxxx> - 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/opal/msglog.

  A patch has been submitted
  upstream(https://github.com/sosreport/sos.git) to do the above thing.

  commit 1bbf9e9690e7f2a5afc234b905537daacaecb6d4
  Author: Joel Stanley <joel@xxxxxxxxx>
  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/debug/powerpc so it
      was collected as part of that glob. This patch adds the new location at
      /sys/firmware/opal/msglog to the list of collected files.

      Signed-off-by: Joel Stanley <joel@xxxxxxxxx>
      Reviewed-by: Vasant Hegde <hegdevasant@xxxxxxxxxxxxxxxxxx>

  Contact Information = Contact Information =
  hegdevasant@xxxxxxxxxxxxxxxxxx, mukeojha@xxxxxxxxxx

  ---uname output---
  Ubuntu 16.04.01 LTS

  Machine Type = All power machine

  ---Debugger---
  A debugger is not configured

  ---Steps to Reproduce---

  root@ltctul57a-p1:/home/mukesh# sosreport

  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:

    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 [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/sosreport-ltctul57a-p1-20160810185800.tar.xz

  The checksum is: 33dbfc480ebf985e4372430537339c1c

  Please send this file to your support representative.

  root@ltctul57a-p1:/home/mukesh#

  root@ltctul57a-p1:/home/mukesh/sosreport-ltctul57a-p1-20160810185800# ls
  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-p1:/home/mukesh/sosreport-ltctul57a-p1-20160810185800# ls sys/
  bus  class  devices  fs  kernel  module
  root@ltctul57a-p1:/home/mukesh/sosreport-ltctul57a-p1-20160810185800#

  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-p1:/home/mukesh# dpkg -l | grep
  sosreport ii  sosreport
  3.2+git276-g7da50d6-3ubuntu1        ppc64el      Set of tools to
  gather troubleshooting data from a system

  Userspace tool obtained from project website:  na

  *Additional Instructions for Contact Information = hegdevasant@xxxxxxxxxxxxxxxxxx, mukeojha@xxxxxxxxxx :
  -Attach ltrace and strace of userspace application.

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