Re: adding another mon failed

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

 



On Fri, Nov 29, 2013 at 1:24 PM, German Anders <ganders@xxxxxxxxxxxx> wrote:
> Hi, i'm having issues while trying to add another monitor to my cluster:
>
>  ceph@ceph-deploy01:~/ceph-cluster$ ceph-deploy mon create ceph-node02
> [ceph_deploy.cli][INFO  ] Invoked (1.3.3): /usr/bin/ceph-deploy mon create
> ceph-node02
> [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts ceph-node02
> [ceph_deploy.mon][DEBUG ] detecting platform for host ceph-node02 ...
> [ceph-node02][DEBUG ] connected to host: ceph-node02
> [ceph-node02][DEBUG ] detect platform information from remote host
> [ceph-node02][DEBUG ] detect machine type
> [ceph_deploy.mon][INFO  ] distro info: Ubuntu 12.10 quantal
> [ceph-node02][DEBUG ] determining if provided host has same hostname in
> remote
> [ceph-node02][DEBUG ] get remote short hostname
> [ceph-node02][DEBUG ] deploying mon to ceph-node02
> [ceph-node02][DEBUG ] get remote short hostname
> [ceph-node02][DEBUG ] remote hostname: ceph-node02
> [ceph-node02][DEBUG ] write cluster configuration to
> /etc/ceph/{cluster}.conf
> [ceph-node02][DEBUG ] create the mon path if it does not exist
> [ceph-node02][DEBUG ] checking for done path:
> /var/lib/ceph/mon/ceph-ceph-node02/done
> [ceph-node02][DEBUG ] create a done file to avoid re-doing the mon
> deployment
> [ceph-node02][DEBUG ] create the init path if it does not exist
> [ceph-node02][DEBUG ] locating the `service` executable...
> [ceph-node02][INFO  ] Running command: sudo initctl emit ceph-mon
> cluster=ceph id=ceph-node02
> [ceph-node02][INFO  ] Running command: sudo ceph --cluster=ceph
> --admin-daemon /var/run/ceph/ceph-mon.ceph-node02.asok mon_status
> [ceph-node02][ERROR ] admin_socket: exception getting command descriptions:
> [Errno 2] No such file or directory
> [ceph-node02][WARNIN] monitor: mon.ceph-node02, might not be running yet
> [ceph-node02][INFO  ] Running command: sudo ceph --cluster=ceph
> --admin-daemon /var/run/ceph/ceph-mon.ceph-node02.asok mon_status
> [ceph-node02][ERROR ] admin_socket: exception getting command descriptions:
> [Errno 2] No such file or directory
> [ceph-node02][WARNIN] ceph-node02 is not defined in `mon initial members`
> [ceph-node02][WARNIN] monitor ceph-node02 does not exist in monmap
> [ceph-node02][WARNIN] neither `public_addr` nor `public_network` keys are
> defined for monitors
> [ceph-node02][WARNIN] monitors may not be able to form quorum
> ceph@ceph-deploy01:~/ceph-cluster$
>
> # ceph status
>     cluster cd60ab37-23bd-4c17-9470-404cb3b31112
>      health HEALTH_OK
>      monmap e1: 1 mons at {ceph-node01=10.111.82.242:6789/0}, election epoch
> 2, quorum 0 ceph-node01
>      mdsmap e4: 1/1/1 up {0=ceph-node01=up:active}
>      osdmap e13: 3 osds: 3 up, 3 in
>       pgmap v23: 192 pgs, 3 pools, 9470 bytes data, 21 objects
>             110 MB used, 834 GB / 834 GB avail
>                  192 active+clean
>
> Anyone have any idea what could be the issue here?

The last 3 lines of the ceph-deploy logs are pointing to the root of
the problem: you have not defined "public_add" nor "public_network",
that monitor does not exist in the monmap and is not defined in
mon_initial_members.

It may be that you are running a mix of different network interfaces
and the monitors are using the incorrect one
to communicate.

Can you try and fix those warnings and see if it fixes the problem?
>
> Thanks in advance,
>
> Best regards,
>
>
> German Anders
>
>
>
>
>
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
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