[Bug 1638917] Re: swift-ring-builder rebalance goes into an infinite loop

James Troup james.troup at canonical.com
Thu Nov 3 13:30:37 UTC 2016


** Attachment added: "container.builder"
   https://bugs.launchpad.net/ubuntu/+source/swift/+bug/1638917/+attachment/4771794/+files/container.builder

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

Title:
  swift-ring-builder rebalance goes into an infinite loop

Status in swift package in Ubuntu:
  New

Bug description:
  On Ubuntu 16.04 with a Mitaka cloud the attached ring files cause
  swift-ring-builder to go into an infinite loop when asked to
  rebalance.

  The problem seems to be the following line in place_parts():

              while parts:

  Which seems to assume that parts can never be << 0, but with these
  ring files that assumption breaks.

  I added the following debug statements:

    http://paste.ubuntu.com/23419920/

  To get the following debug output:

    http://paste.ubuntu.com/23419916/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swift/+bug/1638917/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list