Bug #24167
closed
Module 'balancer' has failed: could not find bucket -14
Added by Sage Weil almost 6 years ago.
Updated almost 6 years ago.
Description
crushmap may contain choose_args for deleted buckets
{
"bucket_id": -14,
"weight_set": [
[]
]
},
in teh choose_args section, but bucket -14 doesn't exist. THis is because it used to exist when the weight-set was created, but then was deleted, and the choose_args weights are still there.
It looks like we also don't create weight-sets for new buckets. And if you create buckets and move things into them and try to set the weight-set weight on them you get something like
gnit:build (wip-24167) 05:08 PM $ bin/ceph osd crush weight-set reweight-compat osd.0 1.0
Error ENOENT: no weight-set for bucket -5no weight-set for bucket -6no weight-set for bucket -7no weight-set for bucket -8item 0 not found in crush map
- Status changed from In Progress to Fix Under Review
- Status changed from Fix Under Review to Pending Backport
- Backport set to mimic,luminous
- Copied to Backport #24213: mimic: Module 'balancer' has failed: could not find bucket -14 added
- Copied to Backport #24214: luminous: Module 'balancer' has failed: could not find bucket -14 added
- Status changed from Pending Backport to Resolved
Also available in: Atom
PDF