builder file out of balance but cannot be rebalanced, have 0 weight drives with 1 partition
Bug #1400083 reported by
Caleb Tennis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
High
|
Samuel Merritt |
Bug Description
In the attached builder file, we have a lot of drives that have been given 0 weight, however some of the drives still have a lone partition assigned to them. The balance is 999, but an attempt to rebalance fails saying "Cowardly refusing to save rebalance as it did not change at least 1%."
Changed in swift: | |
status: | Incomplete → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Samuel Merritt (torgomatic) |
Changed in swift: | |
milestone: | none → 2.2.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I tried it, and swift-ring-builder definitely updated the builder file (the md5sum changed).
swift@saio:~/rb$ swift-ring-builder account-1.builder rebalance ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
Reassigned 35 (0.05%) partitions. Balance is now 999.99.
-------
NOTE: Balance of 999.99 indicates you should push this
ring, wait at least 1 hours, and rebalance/repush.
-------
Maybe it had to do with min_part_hours? What happens if you try again now (it's been more than one hour since this bug was filed)?