Re: {Disarmed} Re: Adding Monitor

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

 



On Sat, 14 Mar 2015, Georgios Dimitrakakis wrote:
> Guyn any help much appreciated because my cluster is down :-(
> 
>  After trying ceph mon add which didn't complete since it was stuck for 
>  ever here:
> 
>  [jin][WARNIN] 2015-03-14 07:07:14.964265 7fb4be6f5700  0 monclient: 
>  hunting for new mon
>  ^CKilled by signal 2.
>  [ceph_deploy][ERROR ] KeyboardInterrupt
> 
> 
>  the previously healthy node is now down completely :-(
> 
>  $ ceph mon stat
>  2015-03-14 07:21:37.782360 7ff2545b1700  0 -- 192.168.1.100:0/1042061 
>  >> 192.168.1.101:6789/0 pipe(0x7ff248000c00 sd=4 :0 s=1 pgs=0 cs=0 l=1 
>  c=0x7ff248000e90).fault
>  ^CError connecting to cluster: InterruptedOrTimeoutError

On each machine where a ceph-mon daemon is running you can do

 ceph daemon mon.`hostname` mon_status

to see the status of the quorum (or lack thereof).

sage


> 
> 
>  Any ideas??
> 
> 
>  All the best,
> 
>  George
> 
> 
> 
> > Georgeos
> >
> > , you need to have "deployment server" and cd into folder that you
> > used originaly while deploying CEPH - in this folder you should
> > already have ceph.conf, admin.client keyring and other stuff - which
> > is required to to connect to cluster...and provision new MONs or 
> > OSDs,
> > etc.
> >
> > Message:
> > [ceph_deploy][ERROR ] RuntimeError: mon keyring not found; run new to
> > create a new cluster...
> >
> > ...means (if Im not mistaken) that you are runnign ceph-deploy from
> > NOT original folder...
> >
> > On 13 March 2015 at 23:03, Georgios Dimitrakakis  wrote:
> >
> >> Not a firewall problem!! Firewall is disabled ...
> >>
> >> Loic I ve tried mon create because of this:
> >>
> > http://ceph.com/docs/v0.80.5/start/quick-ceph-deploy/#adding-monitors
> >> [4]
> >>
> >> Should I first create and then add?? What is the proper order???
> >> Should I do it from the already existing monitor node or can I run
> >> it from the new one?
> >>
> >> If I try add from the beginning I am getting this:
> >>
> >> ceph_deploy.conf][DEBUG ] found configuration file at:
> >> /home/.cephdeploy.conf
> >> [ceph_deploy.cli][INFO  ] Invoked (1.5.22): /usr/bin/ceph-deploy
> >> mon add jin
> >> [ceph_deploy][ERROR ] RuntimeError: mon keyring not found; run new
> >> to create a new cluster
> >>
> >> Regards,
> >>
> >> George
> >>
> >>> Hi,
> >>>
> >>> I think ceph-deploy mon add (instead of create) is what you
> >>> should be using.
> >>>
> >>> Cheers
> >>>
> >>> On 13/03/2015 22:25, Georgios Dimitrakakis wrote:
> >>>
> >>>> On an already available cluster I ve tried to add a new monitor!
> >>>>
> >>>> I have used ceph-deploy mon create {NODE}
> >>>>
> >>>> where {NODE}=the name of the node
> >>>>
> >>>> and then I restarted the /etc/init.d/ceph service with a
> >>>> success at the node
> >>>> where it showed that the monitor is running like:
> >>>>
> >>>> # /etc/init.d/ceph restart
> >>>> === mon.jin ===
> >>>> === mon.jin ===
> >>>> Stopping Ceph mon.jin on jin...kill 36388...done
> >>>> === mon.jin ===
> >>>> Starting Ceph mon.jin on jin...
> >>>> Starting ceph-create-keys on jin...
> >>>>
> >>>> But checking the quorum it doesnt show the newly added monitor!
> >>>>
> >>>> Plus ceph mon stat gives out only 1 monitor!!!
> >>>>
> >>>> # ceph mon stat
> >>>> e1: 1 mons at {fu=MAILSCANNER WARNING: NUMERICAL LINKS ARE
> >>>> OFTEN MALICIOUS: 192.168.1.100:6789/0 [1]}, election epoch 1,
> >>>> quorum 0 fu
> >>>>
> >>>> Any ideas on what have I done wrong???
> >>>>
> >>>> Regards,
> >>>>
> >>>> George
> >>>> _______________________________________________
> >>>> ceph-users mailing list
> >>>> ceph-users@xxxxxxxxxxxxxx [2]
> >>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com [3]
> >> _______________________________________________
> >> ceph-users mailing list
> >> ceph-users@xxxxxxxxxxxxxx [5]
> >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com [6]
> _______________________________________________
> 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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux