collect /var/log/upstart/ directory

Bug #1309679 reported by Bryan Quigley
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sosreport (Ubuntu)
Fix Released
Medium
Louis Bouchard
Trusty
Fix Released
Undecided
Unassigned

Bug Description

[SRU justification]
upstart log information is necessary for diagnostic purposes

[Impact]
Diagnostic of upstart issues are difficult without this fix

[Fix]
Add enhancements to upstart plugin from upstream.

[Test Case]
Run as root :
$ sosreport --batch -o upstart

[Regression]
None expected, only a few more file collected.

[Description of the problem]

Either this could be added to the upstart plugin (easiest) or we need to have each plugin collect their right log files from the directory. Pretty much every service could be logged here at some point.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

specifically network-* are the logs that I've needed the most recently.

affects: sosreport → sosreport (Ubuntu)
Louis Bouchard (louis)
Changed in sosreport (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Louis Bouchard (louis-bouchard)
Revision history for this message
Nobuto Murata (nobuto) wrote :

It would be nice if the upstream commit below would be applied and SRUed into Ubuntu releases.
https://github.com/sosreport/sos/commit/8aed05343ae69931adf823d093f16c1d247f2908

I recently run into this, missing log files to show the reason of the failure on starting OpenStack services.

Louis Bouchard (louis)
Changed in sosreport (Ubuntu):
assignee: Louis Bouchard (louis-bouchard) → Leonardo Borda (lborda)
Louis Bouchard (louis)
Changed in sosreport (Ubuntu):
assignee: Leonardo Borda (lborda) → Louis Bouchard (louis-bouchard)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sosreport - 3.1-1ubuntu3

---------------
sosreport (3.1-1ubuntu3) utopic; urgency=medium

  * debian/patches/add-rabbitmq-plugin.patch
   - Add rabbitmq log collection (LP: #1308232)

  * debian/patches/collect_upstart_log.patch
    - Collect upstart log files (LP: #1309679)

  * debian/patches/collect-squid-deb-proxy-info.patch
    - Collect squid-deb-proxy info (LP: #1311131)

  * debian/patches/fix-ceilometer-stack.patch
    - Remove error in execution of the ceilometer plugin
    (LP: #1355279)
 -- Louis Bouchard <email address hidden> Wed, 03 Sep 2014 08:08:30 -0700

Changed in sosreport (Ubuntu):
status: In Progress → Fix Released
Louis Bouchard (louis)
description: updated
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Bryan, or anyone else affected,

Accepted sosreport into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/sosreport/3.1-1ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in sosreport (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sosreport - 3.1-1ubuntu2.1

---------------
sosreport (3.1-1ubuntu2.1) trusty-proposed; urgency=medium

  * debian/patches/add-rabbitmq-plugin.patch
   - Add rabbitmq log collection (LP: #1308232)

  * debian/patches/collect_upstart_log.patch
    - Collect upstart log files (LP: #1309679)

  * debian/patches/collect-squid-deb-proxy-info.patch
    - Collect squid-deb-proxy info (LP: #1311131)

  * debian/patches/fix-ceilometer-stack.patch
    - Remove error in execution of the ceilometer plugin
    (LP: #1355279)
 -- Louis Bouchard <email address hidden> Wed, 24 Sep 2014 09:48:59 +0200

Changed in sosreport (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for sosreport has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.