Project

General

Profile

Bug #38898

mgr/influx plugin : influxdb plugin of mgr has timeout error after a few hours

Added by hoan nv about 5 years ago. Updated about 5 years ago.

Status:
New
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

hi all.

My ceph cluster run 13.2.2 version and influxdb pyhon module 5.2.0 version. It installed on centos 7.
After enable influxdb plugin.

mgr      unknown mgr/influx/database ceph           *
mgr      unknown mgr/influx/hostname influx         *
mgr      unknown mgr/influx/interval 20                 *
mgr      unknown mgr/influx/password password *
mgr      unknown mgr/influx/username ceph           *

influxdb working but after run a few hours, mgr has error :

-1 log_channel(cluster) log [ERR] : Unhandled exception from module 'influx' while running on mgr.ceph-mon-01: {"error":"timeout"}
    raise InfluxDBServerError(response.content)
InfluxDBServerError: {"error":"timeout"}
I have another ceph cluster run on ubuntu but it doesn't has error.

how can i check this issue.
Thanks.

History

#1 Updated by Sebastian Wagner about 5 years ago

Do you also have a full Traceback or just the snipped you added to the description?

#2 Updated by hoan nv about 5 years ago

Sebastian Wagner wrote:

Do you also have a full Traceback or just the snipped you added to the description?

This is full Traceback.


2019-03-25 04:26:10.231 7fb21bfc3700  1 mgr send_beacon active
2019-03-25 04:26:10.672 7fb20be4d700 -1 log_channel(cluster) log [ERR] : Unhandled exception from module 'influx' while running on mgr.ceph-mon-01: {"error":"timeout"}
2019-03-25 04:26:10.672 7fb20be4d700 -1 influx.serve:
2019-03-25 04:26:10.672 7fb20be4d700 -1 Traceback (most recent call last):
  File "/usr/lib64/ceph/mgr/influx/module.py", line 376, in serve
    self.send_to_influx()
  File "/usr/lib64/ceph/mgr/influx/module.py", line 292, in send_to_influx
    client.write_points(self.get_daemon_stats(), 'ms')
  File "/usr/lib/python2.7/site-packages/influxdb/client.py", line 490, in write_points
    tags=tags, protocol=protocol)
  File "/usr/lib/python2.7/site-packages/influxdb/client.py", line 551, in _write_points
    protocol=protocol
  File "/usr/lib/python2.7/site-packages/influxdb/client.py", line 327, in write
    headers=headers
  File "/usr/lib/python2.7/site-packages/influxdb/client.py", line 282, in request
    raise InfluxDBServerError(response.content)
InfluxDBServerError: {"error":"timeout"}

Also available in: Atom PDF