[Bug 1449131] Re: sosreport does not collect logs for Landscape Dedicated Server 15.01 and newer

Sebastien Bacher seb128 at ubuntu.com
Thu Aug 13 09:27:18 UTC 2015


Thanks, I'm going to sponsor that debdiff but the package is currently
in sync with Debian and ideally should stay this way, can you forward
the change to the debian BTS as well?

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1449131

Title:
  sosreport does not collect logs for Landscape Dedicated Server 15.01
  and newer

Status in sosreport package in Ubuntu:
  In Progress
Status in sosreport source package in Trusty:
  Confirmed
Status in sosreport source package in Wily:
  In Progress

Bug description:
  [Impact]

   * Sosreport does not collect logs (/var/log/landscape-server/*.log) 
     for Landscape Dedicated Server 15.01 and newer.
      
     Description : 
     Landscape Dedicated Server (LDS) 15.01 and newer logs are not located 
     in "/var/log/landscape-server".  They were previously in only 
     "/var/log /landscape".
      
   * This will help to avoid Landscape customer to collect sosreport and "/var/log/landscape-server/*.log" separately.

  [Test Case]

   * To reproduce the bug you need to run sosreport <=3.2-2 on a system running LDS 15.01 or newer..
     
     $ sudo /usr/bin/sosreport -a

     sosreport will generate a .tar.xz file in /tmp directory.
     If you look at this sosreport, "/var/log/landscape" will exist but "/var/log/landscape-server" won't be taken into account.

  
  [Regression Potential] 

   * None expected as the same commit is already in upstream
  [https://github.com/sosreport/sos]

   * The new patch has been well-tested in Wily system by different persons within Canonical support team and the sosreport/sos.html (attached to the bug) provided by the sosreport doesn't report any problem.
     The sosreport/sos.html also prove the patch works for the rest of the sosreport functionnalities.

  [Other Info]

  The patch detect if there is presence of /var/log/landscape/*.log
  files and/or /var/log/landscape-server/*.log files and collect the
  logs accordingly. This way the patch allow LDS <15.01 to collect the
  log from /var/log/landscape and >15.01 from /var/log/landscape-server.

  
  [Original Description]

  Landscape Dedicated Server (LDS) 15.01 and newer logs are now located
  in /var/log/landscape-server. This is part of the move towards using
  rsyslog[0]

  1) The release of Ubuntu you are using, via 'lsb_release -rd' or System
  Only Trusty and newer as that is all LDS is built to run on.

  2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
  PPA version of sosreport

  3) What you expected to happen
  The expectation is that this log location be added(not replace) as there are other supported Landscape Dedicated Servers still using the old location (/var/log/landscape)

  4) What happened instead
  Logs are not collected from the new location.

  Related:

  [0] https://help.landscape.canonical.com/LDS/ReleaseNotes15.01

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



More information about the Ubuntu-sponsors mailing list