sosreport does not collect logs for Landscape Dedicated Server 15.01 and newer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Low
|
Eric Desrochers | ||
Trusty |
Won't Fix
|
Medium
|
Eric Desrochers | ||
Wily |
Fix Released
|
Low
|
Eric Desrochers |
Bug Description
[Impact]
* Sosreport does not collect logs (/var/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/
"/var/log /landscape".
* This will help to avoid Landscape customer to collect sosreport and "/var/log/
[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/
[Regression Potential]
* None expected as the same commit is already in upstream [https:/
* 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/
[Original Description]
Landscape Dedicated Server (LDS) 15.01 and newer logs are now located in /var/log/
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/
4) What happened instead
Logs are not collected from the new location.
Related:
[0] https:/
summary: |
sosreport does not collect logs for Landscape Dedicated Server 15.01 and - newer logs + newer |
description: | updated |
tags: |
added: verification-done removed: patch |
Changed in sosreport (Ubuntu Wily): | |
status: | Confirmed → In Progress |
tags: |
added: verification-done removed: verification-needed |
Changed in sosreport (Ubuntu Trusty): | |
status: | In Progress → Won't Fix |
Changed in sosreport (Ubuntu Trusty): | |
status: | Won't Fix → In Progress |
Changed in sosreport (Ubuntu Trusty): | |
importance: | Low → Medium |
Changed in sosreport (Ubuntu Trusty): | |
status: | In Progress → Won't Fix |
https:/ /github. com/sosreport/ sos/pull/ 557