Activity log for bug #1683076

Date Who What changed Old value New value Message
2017-04-15 21:45:30 Jill Rouleau bug added bug
2017-05-22 19:04:26 Billy Olsen bug task added swift (Ubuntu)
2017-05-22 19:04:40 Billy Olsen charm-swift-storage: status New Invalid
2017-05-22 19:08:12 Billy Olsen bug task added cloud-archive
2017-05-22 19:16:18 Billy Olsen nominated for series cloud-archive/icehouse
2017-05-22 19:16:18 Billy Olsen nominated for series cloud-archive/mitaka
2017-05-22 19:16:18 Billy Olsen nominated for series cloud-archive/kilo
2017-05-22 19:16:18 Billy Olsen nominated for series cloud-archive/liberty
2017-05-22 19:16:18 Billy Olsen nominated for series cloud-archive/juno
2017-05-22 19:16:36 Billy Olsen nominated for series cloud-archive/newton
2017-05-22 19:18:35 Corey Bryant bug task added cloud-archive/icehouse
2017-05-22 19:18:38 Corey Bryant bug task added cloud-archive/kilo
2017-05-22 19:18:43 Corey Bryant bug task added cloud-archive/mitaka
2017-05-22 19:18:49 Corey Bryant bug task added cloud-archive/newton
2017-05-22 19:20:08 Billy Olsen cloud-archive/newton: status New Fix Released
2017-05-22 19:22:06 Corey Bryant nominated for series Ubuntu Xenial
2017-05-22 19:22:06 Corey Bryant bug task added swift (Ubuntu Xenial)
2017-05-22 19:22:06 Corey Bryant nominated for series Ubuntu Trusty
2017-05-22 19:22:06 Corey Bryant bug task added swift (Ubuntu Trusty)
2017-05-22 19:22:23 Corey Bryant swift (Ubuntu): status New Invalid
2017-05-23 19:18:06 Billy Olsen tags canonical-bootstack canonical-bootstack sts
2017-05-23 23:40:49 Billy Olsen description Trusty, Mitaka, Juju 1.25.11 We have a cloud where swift replicators are constantly falling over on 2 nodes. This occurs whenever rsyslog restarts, as in https://bugs.launchpad.net/swift/+bug/1094230 https://review.openstack.org/#/c/24871 https://bugs.python.org/issue15179 rsyslog restarts are unfortunately frequent right now, due to https://bugs.launchpad.net/juju-core/+bug/1683075 Nodes are landscape managed and up to date but still exhibit the failure. Not much from running swift in verbose. https://pastebin.canonical.com/185609/ sosreports are uploading to https://private-fileshare.canonical.com/~jillr/sf00137831/ Trusty, Mitaka, Juju 1.25.11 We have a cloud where swift replicators are constantly falling over on 2 nodes. This occurs whenever rsyslog restarts, as in https://bugs.launchpad.net/swift/+bug/1094230 https://review.openstack.org/#/c/24871 https://bugs.python.org/issue15179 rsyslog restarts are unfortunately frequent right now, due to https://bugs.launchpad.net/juju-core/+bug/1683075 Nodes are landscape managed and up to date but still exhibit the failure. Not much from running swift in verbose. https://pastebin.canonical.com/185609/ sosreports are uploading to https://private-fileshare.canonical.com/~jillr/sf00137831/ [Impact] * Stopping rsyslog causes swift daemons to crash due to overflowing the call stack when attempting to write an entry to the logging subsystem and the attempt to write to /dev/log fails. When rsyslog stops, the /dev/log socket is unavailable and results in an exception. The swift logging code attempts to log the resultant error, which again results in an exception. This continues until the stack is overflowed and the swift daemons crash. When the swift daemons crash, the object, container and account data are not able to be replicated to other storage nodes in the system, which affects the data integrity of the data being written to the system. * The patch should be backported to stable releases in order to ensure that the data integrity of objects, accounts, and containers within Swift are not adversely affected due to failed logging subsystems. * The uploaded patches fix the bug by only attempting to log an entry to the logging subsystem if the current call stack does not include an attempt to write to the logs. If the current call stack includes an attempt to log to the logging subsystem, the log message is dropped avoiding the recursion. [Test Case] * Install swift storage cluster * Log into one of the swift storage nodes * Ensure the swift-{object,account,container}-replicator processes are running * Stop the rsyslog service * Wait a minute * Observe the swift-{object,account,container}-replicator processes are no longer running [Regression Potential] * This affects the logging capabilities provided by the Swift code. Possible regressions could occur in almost any subsystem, since the logging is universal throughout the code base and could result in lost log entries in the best regression scenario and possible crashing of swift daemons in the worst case scenario. The regression potential is mitigated by the fact that this patch has already been included upstream for over a year now and no regressions have been reported against this code since. [Other Info] * /dev/log is not provided by the rsyslog daemon in Xenial, but this patch still applies in that any persistent exception encountered when writing to /dev/log will cause the call stack to overflow and crash the swift daemons.
2017-05-23 23:42:04 Billy Olsen attachment added xenial patch https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4882208/+files/lp1683076-xenial.debdiff
2017-05-23 23:43:11 Billy Olsen attachment added trusty-mitaka patch https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4882209/+files/lp1683076-trusty-mitaka.debdiff
2017-05-23 23:46:14 Billy Olsen cloud-archive/icehouse: status New Won't Fix
2017-05-23 23:46:31 Billy Olsen cloud-archive/kilo: importance Undecided Critical
2017-05-23 23:46:37 Billy Olsen cloud-archive/mitaka: importance Undecided Critical
2017-05-23 23:46:46 Billy Olsen swift (Ubuntu Trusty): importance Undecided Critical
2017-05-23 23:46:52 Billy Olsen swift (Ubuntu Xenial): importance Undecided Critical
2017-05-23 23:52:25 Billy Olsen tags canonical-bootstack sts canonical-bootstack sts sts-sru-needed
2017-05-24 01:05:46 Billy Olsen attachment added trusty-kilo patch https://bugs.launchpad.net/ubuntu/trusty/+source/swift/+bug/1683076/+attachment/4882216/+files/trusty-kilo.patch
2017-05-24 03:20:39 Billy Olsen attachment added trusty patch https://bugs.launchpad.net/ubuntu/trusty/+source/swift/+bug/1683076/+attachment/4882251/+files/trusty-lp1683076.debdiff
2017-05-24 03:21:54 Billy Olsen tags canonical-bootstack sts sts-sru-needed canonical-bootstack sts sts-sru-needed ubuntu-sponsors
2017-05-24 05:41:20 Andy Whitcroft bug added subscriber Ubuntu Sponsors Team
2017-05-24 06:21:08 Andy Whitcroft removed subscriber Ubuntu Sponsors Team
2017-06-07 07:54:09 James Page bug added subscriber Ubuntu Stable Release Updates Team
2017-07-04 06:49:50 Billy Olsen attachment removed trusty patch https://bugs.launchpad.net/ubuntu/trusty/+source/swift/+bug/1683076/+attachment/4882251/+files/trusty-lp1683076.debdiff
2017-07-04 06:51:32 Billy Olsen attachment added trusty patch https://bugs.launchpad.net/ubuntu/trusty/+source/swift/+bug/1683076/+attachment/4909084/+files/lp1683076-trusty.debdiff
2017-07-12 15:49:10 Billy Olsen attachment added xenial patch - take 2 https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4913483/+files/xenial2-lp1683076.debdiff
2017-07-12 15:49:34 Billy Olsen attachment removed xenial patch https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4882208/+files/lp1683076-xenial.debdiff
2017-07-12 15:59:50 Billy Olsen attachment added xenial patch https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4913488/+files/xenial2-lp1683076.debdiff
2017-07-12 16:00:06 Billy Olsen attachment removed xenial patch - take 2 https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4913483/+files/xenial2-lp1683076.debdiff
2017-07-12 16:04:07 Billy Olsen attachment removed trusty patch https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4909084/+files/lp1683076-trusty.debdiff
2017-07-12 16:05:44 Billy Olsen attachment added trusty-lp1683076.debdiff https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4913490/+files/trusty-lp1683076.debdiff
2017-07-12 16:21:11 Billy Olsen attachment removed trusty-kilo patch https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4882216/+files/trusty-kilo.patch
2017-07-12 16:24:27 Billy Olsen attachment removed trusty-mitaka patch https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4882209/+files/lp1683076-trusty-mitaka.debdiff
2017-07-12 16:25:17 Billy Olsen attachment added trusty-kilo patch https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4913505/+files/trusty-kilo-lp1683076.debdiff
2017-07-12 16:26:16 Billy Olsen attachment added trusty-mitaka patch https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+attachment/4913506/+files/trusty-mitaka-lp1683076.debdiff
2017-07-12 16:58:14 Corey Bryant cloud-archive/kilo: status New Triaged
2017-07-12 16:58:17 Corey Bryant cloud-archive/mitaka: status New Triaged
2017-07-12 16:58:49 Corey Bryant swift (Ubuntu Trusty): status New Triaged
2017-07-12 16:58:51 Corey Bryant swift (Ubuntu Xenial): status New Triaged
2017-07-12 16:59:02 Corey Bryant cloud-archive: status New Invalid
2017-07-12 16:59:27 Corey Bryant cloud-archive/icehouse: status Won't Fix Triaged
2017-07-12 16:59:30 Corey Bryant cloud-archive/icehouse: importance Undecided Critical
2017-07-12 16:59:39 Corey Bryant cloud-archive: status Invalid Fix Released
2017-07-12 20:15:47 Robie Basak swift (Ubuntu Trusty): status Triaged Fix Committed
2017-07-12 20:15:49 Robie Basak bug added subscriber SRU Verification
2017-07-12 20:15:53 Robie Basak tags canonical-bootstack sts sts-sru-needed ubuntu-sponsors canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-needed verification-needed-trusty
2017-07-12 20:19:05 Robie Basak swift (Ubuntu Xenial): status Triaged Fix Committed
2017-07-12 20:19:08 Robie Basak tags canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-needed verification-needed-trusty canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-needed verification-needed-trusty verification-needed-xenial
2017-07-19 06:09:20 James Page cloud-archive/mitaka: status Triaged Fix Committed
2017-07-19 06:09:22 James Page tags canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-needed verification-needed-trusty verification-needed-xenial canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-mitaka-needed verification-needed verification-needed-trusty verification-needed-xenial
2017-07-21 12:07:09 Billy Olsen tags canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-mitaka-needed verification-needed verification-needed-trusty verification-needed-xenial canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-done-xenial verification-mitaka-needed verification-needed verification-needed-trusty
2017-07-21 14:48:13 Billy Olsen tags canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-done-xenial verification-mitaka-needed verification-needed verification-needed-trusty canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-done-xenial verification-mitaka-done verification-needed verification-needed-trusty
2017-07-25 03:59:42 Billy Olsen tags canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-done-xenial verification-mitaka-done verification-needed verification-needed-trusty canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-done-trusty verification-done-xenial verification-mitaka-done verification-needed
2017-07-25 13:16:16 James Page cloud-archive/kilo: status Triaged Fix Committed
2017-07-25 13:16:18 James Page tags canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-done-trusty verification-done-xenial verification-mitaka-done verification-needed canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-done-trusty verification-done-xenial verification-kilo-needed verification-mitaka-done verification-needed
2017-07-25 14:39:41 James Page cloud-archive/icehouse: status Triaged Won't Fix
2017-07-26 14:54:16 Ɓukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2017-07-26 14:54:39 Launchpad Janitor swift (Ubuntu Xenial): status Fix Committed Fix Released
2017-07-26 15:04:18 Launchpad Janitor swift (Ubuntu Trusty): status Fix Committed Fix Released
2017-08-08 02:51:45 Billy Olsen tags canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-done-trusty verification-done-xenial verification-kilo-needed verification-mitaka-done verification-needed canonical-bootstack sts sts-sru-needed ubuntu-sponsors verification-done-trusty verification-done-xenial verification-kilo-done verification-mitaka-done verification-needed
2017-08-10 08:28:09 James Page cloud-archive/kilo: status Fix Committed Fix Released
2017-08-10 08:29:00 James Page cloud-archive/mitaka: status Fix Committed Fix Released