Bug #56130
closedinflux module KeyError when creating new pools
0%
Description
When creating new pools while the influx is looping it crashes because it cannot lookup the pool name
2022-06-20T16:53:16.073+0200 7f2d5c763700 -1 influx.serve:
2022-06-20T16:53:16.073+0200 7f2d5c763700 -1 Traceback (most recent call last):
File "/usr/share/ceph/mgr/influx/module.py", line 485, in serve
self.send_to_influx()
File "/usr/share/ceph/mgr/influx/module.py", line 390, in send_to_influx
for chunk in self.chunk(points, self.config['batch_size']):
File "/usr/share/ceph/mgr/influx/module.py", line 117, in chunk
xs.append(next(l))
File "/usr/share/ceph/mgr/influx/module.py", line 240, in get_pg_summary_pool
"pool_name" : pool_info[pool_id],
KeyError: '67'
Updated by Tobias Urdin almost 2 years ago
Fix proposed in https://github.com/ceph/ceph/pull/46756
Updated by Laura Flores almost 2 years ago
- Status changed from New to Fix Under Review
Updated by Radoslaw Zarzynski over 1 year ago
- Status changed from Fix Under Review to Resolved
Skipping backports for now.