swift-ring-builder rebalance goes into an infinite loop
Bug #1638917 reported by
James Troup
This bug report is a duplicate of:
Bug #1642538: swift-ring-builder rebalance - endless loop.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
swift (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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://
To get the following debug output:
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.