[Bug 1683076] Re: Swift-storage dies if rsyslog is stopped

Billy Olsen billy.olsen at canonical.com
Mon May 22 19:07:26 UTC 2017


This appears to be a bug in the Swift logging behavior not in the charm
itself.

There's an upstream commit located at [0] which fixes the problem. In a
nutshell, the stopping of rsyslogd in an upstart system removes the
/dev/log socket, which causes the swift service's attempt to log a
message to fail - which it then proceeds to attempt to log, in the
syslog. This spirals out and causes the program to crash due to the
infinite recursion overflowing the call stack.

[0]
https://github.com/openstack/swift/commit/95efd3f9035ec4141e1b182516f040a59a3e5aa6

** Also affects: swift (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: charm-swift-storage
       Status: New => Invalid

** Also affects: cloud-archive
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to swift in Ubuntu.
https://bugs.launchpad.net/bugs/1683076

Title:
  Swift-storage dies if rsyslog is stopped

Status in OpenStack swift-storage charm:
  Invalid
Status in Ubuntu Cloud Archive:
  New
Status in Ubuntu Cloud Archive icehouse series:
  New
Status in Ubuntu Cloud Archive kilo series:
  New
Status in Ubuntu Cloud Archive mitaka series:
  New
Status in Ubuntu Cloud Archive newton series:
  Fix Released
Status in swift package in Ubuntu:
  New

Bug 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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-swift-storage/+bug/1683076/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list