Hi Frank,

Check the mon logs with some increased debug levels to find out what
the leader is busy with.
We have a similar issue (though, daily) and it turned out to be
related to the mon leader timing out doing a SMART check.
See https://tracker.ceph.com/issues/54313 for how I debugged that.

Cheers, Dan

On Thu, Feb 9, 2023 at 7:56 AM Frank Schilder <fr...@dtu.dk> wrote:
>
> Hi all,
>
> our monitors have enjoyed democracy since the beginning. However, I don't 
> share a sudden excitement about voting:
>
> 2/9/23 4:42:30 PM[INF]overall HEALTH_OK
> 2/9/23 4:42:30 PM[INF]mon.ceph-01 is new leader, mons 
> ceph-01,ceph-02,ceph-03,ceph-25,ceph-26 in quorum (ranks 0,1,2,3,4)
> 2/9/23 4:42:26 PM[INF]mon.ceph-01 calling monitor election
> 2/9/23 4:42:26 PM[INF]mon.ceph-26 calling monitor election
> 2/9/23 4:42:26 PM[INF]mon.ceph-25 calling monitor election
> 2/9/23 4:42:26 PM[INF]mon.ceph-02 calling monitor election
> 2/9/23 4:40:00 PM[INF]overall HEALTH_OK
> 2/9/23 4:30:00 PM[INF]overall HEALTH_OK
> 2/9/23 4:24:34 PM[INF]overall HEALTH_OK
> 2/9/23 4:24:34 PM[INF]mon.ceph-01 is new leader, mons 
> ceph-01,ceph-02,ceph-03,ceph-25,ceph-26 in quorum (ranks 0,1,2,3,4)
> 2/9/23 4:24:29 PM[INF]mon.ceph-01 calling monitor election
> 2/9/23 4:24:29 PM[INF]mon.ceph-02 calling monitor election
> 2/9/23 4:24:29 PM[INF]mon.ceph-03 calling monitor election
> 2/9/23 4:24:29 PM[INF]mon.ceph-01 calling monitor election
> 2/9/23 4:24:29 PM[INF]mon.ceph-26 calling monitor election
> 2/9/23 4:24:29 PM[INF]mon.ceph-25 calling monitor election
> 2/9/23 4:24:29 PM[INF]mon.ceph-02 calling monitor election
> 2/9/23 4:24:04 PM[INF]overall HEALTH_OK
> 2/9/23 4:24:03 PM[INF]mon.ceph-01 is new leader, mons 
> ceph-01,ceph-02,ceph-03,ceph-25,ceph-26 in quorum (ranks 0,1,2,3,4)
> 2/9/23 4:23:59 PM[INF]mon.ceph-01 calling monitor election
> 2/9/23 4:23:59 PM[INF]mon.ceph-02 calling monitor election
> 2/9/23 4:20:00 PM[INF]overall HEALTH_OK
> 2/9/23 4:10:00 PM[INF]overall HEALTH_OK
> 2/9/23 4:00:00 PM[INF]overall HEALTH_OK
> 2/9/23 3:50:00 PM[INF]overall HEALTH_OK
> 2/9/23 3:43:13 PM[INF]overall HEALTH_OK
> 2/9/23 3:43:13 PM[INF]mon.ceph-01 is new leader, mons 
> ceph-01,ceph-02,ceph-03,ceph-25,ceph-26 in quorum (ranks 0,1,2,3,4)
> 2/9/23 3:43:08 PM[INF]mon.ceph-01 calling monitor election
> 2/9/23 3:43:08 PM[INF]mon.ceph-26 calling monitor election
> 2/9/23 3:43:08 PM[INF]mon.ceph-25 calling monitor election
>
> We moved a switch from one rack to another and after the switch came beck up, 
> the monitors frequently bitch about who is the alpha. How do I get them to 
> focus more on their daily duties again?
>
> Thanks for any help!
> =================
> Frank Schilder
> AIT Risø Campus
> Bygning 109, rum S14
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to