Project

General

Profile

Actions

Bug #56130

closed

influx module KeyError when creating new pools

Added by Tobias Urdin almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
influx module
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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'

Actions #2

Updated by Laura Flores almost 2 years ago

  • Pull request ID set to 46756
Actions #3

Updated by Laura Flores almost 2 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Radoslaw Zarzynski over 1 year ago

  • Status changed from Fix Under Review to Resolved

Skipping backports for now.

Actions

Also available in: Atom PDF