just-rebuilt mon does not join the cluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hello,

I had to rebuld a data directory of one of my mons, but now I can't get
the new mon to join the cluster. What I did was based on this documentation:
https://docs.ceph.com/en/latest/rados/operations/add-or-rm-mons/

ceph mon remove mon1

ssh root@mon1
mkdir /var/lib/ceph/mon/tmp
mkdir /var/lib/ceph/mon/ceph-mon1
ceph auth get mon. -o /var/lib/ceph/mon/tmp/keyring
ceph mon getmap -o /var/lib/ceph/mon/tmp/monmap
ceph-mon -i mon1 --mkfs --monmap /var/lib/ceph/mon/tmp/monmap --keyring /var/lib/ceph/mon/tmp/keyring
chown -R ceph:ceph /var/lib/ceph/mon/ceph-mon1
systemctl start ceph-mon@mon1.service

Now "ceph -s" reports only two mons, and in /var/log/ceph/ceph-mon.mon1.log
there following lines are being added every few seconds:

2022-09-08T16:08:50.578+0200 7f5f322d9700  1 mon.mon1@0(probing) e21 handle_auth_request failed to assign global_id
2022-09-08T16:08:51.630+0200 7f5f322d9700  1 mon.mon1@0(probing) e21 handle_auth_request failed to assign global_id

This is with Octopus, but tried also upgrade this single mon to Pacific,
CentOS 8.

What can be wrong, why the new mon does not join the cluster,
as described in the above documentation?

Thanks,

-Yenya

-- 
| Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> |
| http://www.fi.muni.cz/~kas/                         GPG: 4096R/A45477D5 |
    We all agree on the necessity of compromise. We just can't agree on
    when it's necessary to compromise.                     --Larry Wall
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux