Activity log for bug #1356211

Date Who What changed Old value New value Message
2014-08-13 07:15:24 Nobuto Murata bug added bug
2014-08-22 14:44:42 Louis Bouchard sosreport (Ubuntu): status New Triaged
2014-09-02 05:40:52 Takashi Aosawa bug added subscriber Takashi Aosawa
2014-10-31 21:28:53 Bryan Quigley bug added subscriber Bryan Quigley
2017-01-17 11:10:14 Louis Bouchard sosreport (Ubuntu): status Triaged Fix Released
2017-01-17 11:17:45 Louis Bouchard nominated for series Ubuntu Yakkety
2017-01-17 11:17:45 Louis Bouchard bug task added sosreport (Ubuntu Yakkety)
2017-01-17 11:17:45 Louis Bouchard nominated for series Ubuntu Xenial
2017-01-17 11:17:45 Louis Bouchard bug task added sosreport (Ubuntu Xenial)
2017-01-17 11:17:45 Louis Bouchard nominated for series Ubuntu Trusty
2017-01-17 11:17:45 Louis Bouchard bug task added sosreport (Ubuntu Trusty)
2017-01-17 11:17:56 Louis Bouchard sosreport (Ubuntu Yakkety): status New Fix Released
2017-01-17 11:18:08 Louis Bouchard sosreport (Ubuntu Xenial): status New Fix Released
2017-01-17 11:18:16 Louis Bouchard sosreport (Ubuntu Trusty): status New Triaged
2017-01-17 11:18:20 Louis Bouchard sosreport (Ubuntu Trusty): importance Undecided Medium
2017-01-17 11:18:23 Louis Bouchard sosreport (Ubuntu Trusty): assignee Louis Bouchard (louis-bouchard)
2017-01-17 14:04:18 Louis Bouchard description Cannot collect rotated syslog.1 or syslog.2.gz by sosreport. If syslog is rotated daily, syslog only contains logs in less than 24 hours. I expect sosreport collects syslog and syslog.1 to see logs at least for 24 hours. Or it would be nice if sosreport has options to switch to collect old logs or not. ==== $ sudo logrotate -f /etc/logrotate.conf $ ls -alF /var/log/syslog* -rw-r----- 1 syslog adm 1984 Aug 13 16:12 /var/log/syslog -rw-r----- 1 syslog adm 30816 Aug 13 16:11 /var/log/syslog.1 -rw-r----- 1 syslog adm 1332 Aug 13 15:55 /var/log/syslog.2.gz -rw-r----- 1 syslog adm 6095 Aug 13 15:43 /var/log/syslog.3.gz $ sudo sosreport -a -l | grep logs logs Basic system information for Debian based distributions logs Basic system information for Ubuntu based distributions apache.log on gathers all apache logs auditd.logsize 15 maximum size (MiB) of logs to collect logs.logsize 15 max size (MiB) to collect per syslog file logs.all_logs on collect all log files defined in syslog.conf logs.logsize 15 max size (MiB) to collect per syslog file logs.all_logs on collect all log files defined in syslog.conf nscd.nscdlogsize 50 max size (MiB) to collect per nscd log file openstack-cinder.log on gathers openstack cinder logs openstack-glance.log on gathers openstack-glance logs openstack-keystone.log on gathers openstack keystone logs openstack-swift.log on gathers openstack-swift logs $ sudo sosreport -a --batch $ sudo tar tf /tmp/sosreport-nobuto-local-machine-1-20140813161158.tar.xz | grep syslog sosreport-nobuto-local-machine-1-20140813161158/var/log/juju/rsyslog-cert.pem sosreport-nobuto-local-machine-1-20140813161158/var/log/juju/rsyslog-key.pem sosreport-nobuto-local-machine-1-20140813161158/var/log/syslog sosreport-nobuto-local-machine-1-20140813161158/etc/logrotate.d/rsyslog sosreport-nobuto-local-machine-1-20140813161158/etc/rsyslog.conf sosreport-nobuto-local-machine-1-20140813161158/etc/default/rsyslog sosreport-nobuto-local-machine-1-20140813161158/etc/init/rsyslog.conf ^ syslog.1 is not collected. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: sosreport 3.1-1ubuntu2 ProcVersionSignature: User Name 3.16.0-6.11-generic 3.16.0-rc7 Uname: Linux 3.16.0-6-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 Date: Wed Aug 13 15:52:09 2014 Dependencies: python3-six 1.5.2-1 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: sosreport UpgradeStatus: No upgrade log present (probably fresh install) [SRU justification] All rotated logs may be required for analysis [Impact] Missing log information without this fix. [Fix] Collect all the rotated logs. [Test Case] Without the fix, running sosreport will only collect the current log in /var/log. With the fix,all the rotated logfiles will be collected. [Regression] None expected, this modification is already running in X,Y & Z [Original description of the problem] Cannot collect rotated syslog.1 or syslog.2.gz by sosreport. If syslog is rotated daily, syslog only contains logs in less than 24 hours. I expect sosreport collects syslog and syslog.1 to see logs at least for 24 hours. Or it would be nice if sosreport has options to switch to collect old logs or not. ==== $ sudo logrotate -f /etc/logrotate.conf $ ls -alF /var/log/syslog* -rw-r----- 1 syslog adm 1984 Aug 13 16:12 /var/log/syslog -rw-r----- 1 syslog adm 30816 Aug 13 16:11 /var/log/syslog.1 -rw-r----- 1 syslog adm 1332 Aug 13 15:55 /var/log/syslog.2.gz -rw-r----- 1 syslog adm 6095 Aug 13 15:43 /var/log/syslog.3.gz $ sudo sosreport -a -l | grep logs  logs Basic system information for Debian based distributions  logs Basic system information for Ubuntu based distributions  apache.log on gathers all apache logs  auditd.logsize 15 maximum size (MiB) of logs to collect  logs.logsize 15 max size (MiB) to collect per syslog file  logs.all_logs on collect all log files defined in syslog.conf  logs.logsize 15 max size (MiB) to collect per syslog file  logs.all_logs on collect all log files defined in syslog.conf  nscd.nscdlogsize 50 max size (MiB) to collect per nscd log file  openstack-cinder.log on gathers openstack cinder logs  openstack-glance.log on gathers openstack-glance logs  openstack-keystone.log on gathers openstack keystone logs  openstack-swift.log on gathers openstack-swift logs $ sudo sosreport -a --batch $ sudo tar tf /tmp/sosreport-nobuto-local-machine-1-20140813161158.tar.xz | grep syslog sosreport-nobuto-local-machine-1-20140813161158/var/log/juju/rsyslog-cert.pem sosreport-nobuto-local-machine-1-20140813161158/var/log/juju/rsyslog-key.pem sosreport-nobuto-local-machine-1-20140813161158/var/log/syslog sosreport-nobuto-local-machine-1-20140813161158/etc/logrotate.d/rsyslog sosreport-nobuto-local-machine-1-20140813161158/etc/rsyslog.conf sosreport-nobuto-local-machine-1-20140813161158/etc/default/rsyslog sosreport-nobuto-local-machine-1-20140813161158/etc/init/rsyslog.conf ^ syslog.1 is not collected. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: sosreport 3.1-1ubuntu2 ProcVersionSignature: User Name 3.16.0-6.11-generic 3.16.0-rc7 Uname: Linux 3.16.0-6-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 Date: Wed Aug 13 15:52:09 2014 Dependencies: python3-six 1.5.2-1 ProcEnviron:  TERM=xterm  PATH=(custom, no user)  LANG=en_US.UTF-8  SHELL=/bin/bash SourcePackage: sosreport UpgradeStatus: No upgrade log present (probably fresh install)
2017-01-17 14:14:54 Louis Bouchard sosreport (Ubuntu Trusty): status Triaged In Progress
2017-01-17 15:35:47 Louis Bouchard tags amd64 apport-bug trusty uec-images amd64 apport-bug sts-sru trusty uec-images
2017-03-23 11:52:25 Edward Hope-Morley tags amd64 apport-bug sts-sru trusty uec-images amd64 apport-bug sts-sru-needed trusty uec-images
2017-05-10 10:11:23 Louis Bouchard sosreport (Ubuntu Trusty): assignee Louis Bouchard (louis)
2019-03-04 14:14:17 Edward Hope-Morley tags amd64 apport-bug sts-sru-needed trusty uec-images amd64 apport-bug trusty uec-images