Re: Monitor rename / recreate issue -- probing state

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

 



On 12/10/2015 04:00 AM, deeepdish wrote:
> Hello,
> 
> I encountered a strange issue when rebuilding monitors reusing same
> hostnames, however different IPs.
> 
> Steps to reproduce:
> 
> - Build monitor using ceph-deploy create mon <hostname1>
> - Remove monitor
> via http://docs.ceph.com/docs/master/rados/operations/add-or-rm-mons/
> (remove monitor) — I didn’t realize there was a ceph-deploy mon destroy
> command at this point.
> - Build a new monitor on same hardware using ceph-deploy create mon
> <hostname1a>  # reason = to rename / change IP of monitor as per above link
> - Monitor ends up in probing mode.   When connecting via the admin
> socket, I see that there are no peers avail.   
> 
> The above behavior of only when reinstalling monitors.   I even tried
> reinstalling the OS, however there’s a monmap embedded somewhere causing
> the previous monitor hostnames / IPs to conflict with the new monitor’s
> peering ability.  

> [root@b02s08 ~]# 
> 
> On a reinstalled (not working) monitor:
> 
>  sudo ceph --cluster=ceph --admin-daemon
> /var/run/ceph/ceph-mon.smg01.asok mon_status
> {
>     "name": "smg01",
>     "rank": 0,
>     "state": "probing",
>     "election_epoch": 0,
>     "quorum": [],
>     "outside_quorum": [
>         "smg01"
>     ],
>     "extra_probe_peers": [
>         "10.20.1.8:6789\/0",
>         "10.20.10.14:6789\/0",
>         "10.20.10.16:6789\/0",
>         "10.20.10.18:6789\/0",
>         "10.20.10.251:6789\/0",
>         "10.20.10.252:6789\/0"
>     ],
[snip]
> }

This appears to be consistent with a wrongly populated 'mon_host' and
'mon_initial_members' in your ceph.conf.

  -Joao

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[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