I found out that there was a folder called

"ceph-master_192.168.0.10"

in

/var/lib/ceph/mon/


which was outdated!


I must have done something stupid in the configuration in the past
and it was created!

Strangely I haven't seen it appearing any time before and it only appeared
after the update from v.0.80.8 --> v.0.80.9


Anyway, removing it and restarting the services seems to have solved it!

I hope that I haven't done anything stupid :-)


Regards,


George


Having two monitors should not be causing the problem you are seeing
like you say. What is in /var/log/ceph/ceph.mon.*.log?

Robert LeBlanc

Sent from a mobile device please excuse any typos.
On Mar 12, 2015 7:39 PM, "Georgios Dimitrakakis"  wrote:

Hi Robert!

Thanks for the feedback! I am aware of the fact that the number of
the monitors should be odd
but this is a very basic setup just to test CEPH functionality and
perform tasks there before
doing it to our production cluster.

So I am not concerned about that and I really dont believe that
this is why the problem has appeared!

What concerns me is how this "new" monitor that has the same name
followed by an underscore and
the IP address appeared out of nowhere and how to stop it!

Regards,

George

Two monitors dont work very well and really dont but you anything.
I
would either add another monitor or remove one. Paxos is most
effective with an odd number of monitors.

I dont know about the problem you are experiencing and how to
help
you. An even number of monitors should work.

Robert LeBlanc

Sent from a mobile device please excuse any typos.
On Mar 12, 2015 7:19 PM, "Georgios Dimitrakakis"  wrote:

I forgot to say that the monitors form a quorum and the clusters
health is OK
so there arent any serious troubles other than the annoying
message.

Best,

George

Hi all!

I have updated from 0.80.8 to 0.80.9 and every time I try to
restart
CEPH a monitor a strange monitor is appearing!

Here is the output:

#/etc/init.d/ceph restart mon
=== mon.master ===
=== mon.master ===
Stopping Ceph mon.master on master...kill 10766...done
=== mon.master ===
Starting Ceph mon.master on master...
Starting ceph-create-keys on master...
=== mon.master_192.168.0.10 ===
=== mon.master_192.168.0.10 ===
Stopping Ceph mon.master_192.168.0.10 on master...done
=== mon.master_192.168.0.10 ===
Starting Ceph mon.master_192.168.0.10 on master...
2015-03-13 03:06:22.964493 7f06256fa7a0 -1
mon.master_192.168.0.10@-1(probing) e2 not in monmap and have
been in
a quorum before; must have been removed
2015-03-13 03:06:22.964497 7f06256fa7a0 -1
mon.master_192.168.0.10@-1(probing) e2 commit suicide!
2015-03-13 03:06:22.964499 7f06256fa7a0 -1 failed to
initialize
failed: ulimit -n 32768;  /usr/bin/ceph-mon -i
master_192.168.0.10
--pid-file /var/run/ceph/mon.master_192.168.0.10.pid -c
/etc/ceph/ceph.conf --cluster ceph

I have two monitors which are:

mon.master and mon.client1

and have defined them in ceph.conf as:

mon_initial_members = master,client1
mon_host = 192.168.0.10,192.168.0.11

Why is the "mon.master_192.168.0.10" appearing and how can I
stop
it
from happening?

The above is the problem on one node. Obviously the problem
is
appearing on the other node as well but instead I have

"mon.client1_192.168.0.11" appearing

Any ideas?

Regards,

George
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com [1] [1]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com [2]
[2]
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com [3] [3]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com [4] [4]

Links:
------
[1] mailto:ceph-users@lists.ceph.com [5]
[2] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com [6]
[3] mailto:ceph-users@lists.ceph.com [7]
[4] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com [8]
[5] mailto:gior...@acmac.uoc.gr [9]
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com [10]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com [11]


Links:
------
[1] mailto:ceph-users@lists.ceph.com
[2] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[3] mailto:ceph-users@lists.ceph.com
[4] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[5] mailto:ceph-users@lists.ceph.com
[6] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[7] mailto:ceph-users@lists.ceph.com
[8] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[9] mailto:gior...@acmac.uoc.gr
[10] mailto:ceph-users@lists.ceph.com
[11] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[12] mailto:gior...@acmac.uoc.gr
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to