Actions
Bug #40079
openmgr/dashboard: dashboard plugin can't output message into ceph-mgr's log file
Status:
New
Priority:
Normal
Assignee:
-
Category:
General - Back-end
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
Env: centos 7.5, kernel: 3.10, ceph version: 13.2.5
Reproduce: 1, deploy three ceph-mgr nodes. 2, use 'ceph mgr fail <mgr_id>' to switch active mgr node. 3, After sometimes, dashboard can't output message into ceph-mgr's log file.
Root cause:
When a mgr node switch from standby to active. It will config the logger in __init__ function of class MgrModule. But this logger's handler may be removed by __del__ function of class MgrStandbyModule.(class MgrModule and class MgrStandyModule have the same logger name.)
When this scene occurs, the dashboard plugin can't output message into ceph-mgr's log file.
Actions