Public bug reported:

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/

** Affects: swift (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: canonical-bootstack

** Attachment added: "account.builder"
   
https://bugs.launchpad.net/bugs/1638917/+attachment/4771793/+files/account.builder

** Tags added: canonical-bootstack

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to