Ceph : Issueshttps://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2019-05-30T07:10:49ZCeph
Redmine Dashboard - Bug #40079 (New): mgr/dashboard: dashboard plugin can't output message into ceph-mgr'...https://tracker.ceph.com/issues/400792019-05-30T07:10:49Zhaitao chen
<p>Env: centos 7.5, kernel: 3.10, ceph version: 13.2.5</p>
<pre>
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.
</pre>
<p>Root cause:<br /><pre>
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.)
</pre><br />When this scene occurs, the dashboard plugin can't output message into ceph-mgr's log file.</p>