Bug #49535
closednautilus: mgr/balancer: KeyError messages in balancer module
0%
Description
we've encountered balancer crashes on one of our clusters. I wonder if it might be caused by filestore OSD, since it's crashing on it (ie osd.7 is for some reason filestore, while most of the others are bluestores)
backtrace:
Feb 24 14:17:08 magpejv1a ceph-mgr2583: File "/usr/share/ceph/mgr/balancer/module.py", line 657, in serve
Feb 24 14:17:08 magpejv1a ceph-mgr2583: r, detail = self.optimize(plan)
Feb 24 14:17:08 magpejv1a ceph-mgr2583: File "/usr/share/ceph/mgr/balancer/module.py", line 928, in optimize
Feb 24 14:17:08 magpejv1a ceph-mgr2583: return self.do_crush_compat(plan)
Feb 24 14:17:08 magpejv1a ceph-mgr2583: File "/usr/share/ceph/mgr/balancer/module.py", line 1089, in do_crush_compat
Feb 24 14:17:08 magpejv1a ceph-mgr2583: weight = best_ws[osd]
Feb 24 14:17:08 magpejv1a ceph-mgr2583: KeyError: 7
some time ago, I've reported similar problem which already got fixed: https://tracker.ceph.com/issues/42721
Files
Updated by Neha Ojha about 3 years ago
- Is duplicate of Bug #49576: mgr/balancer: KeyError messages in balancer module added
Updated by Neha Ojha about 3 years ago
We have created https://tracker.ceph.com/issues/49576 to track your earlier report in https://tracker.ceph.com/issues/42721#note-16.