On 04/16/2014 01:04 AM, Jonathan Gowar wrote:
On Tue, 2014-04-15 at 18:02 +0100, Joao Eduardo Luis wrote:
Ahah! You got bit by #5804: http://tracker.ceph.com/issues/5804
Best solution for your issue:
- shutdown 'mon.ceph-3'
- remove 'mon.ceph-3' from the cluster
- recreate 'mon.ceph-3'
- add 'mon.ceph-3' to the cluster
-Joao
I tried that, it seems 0.0.0.0 wants to stick:-
http://pastebin.com/u8nB4DCE
You didn't recreate mon.ceph-3.
The following should take care of that:
1. stop mon.ceph-3
2. ceph mon remove ceph-3
3. mv /var/lib/ceph/mon/ceph-3 /someplace/ceph-3
4. ceph mon getmap -o /tmp/monmap
5. ceph-mon -i ceph-3 --keyring /someplace/ceph-3 --monmap /tmp/monmap
6. ceph mon add ceph-3 IP:PORT
7. start mon.ceph-3
Alternatively, you can inject a modified monmap into ceph-3:
1. stop mon.ceph-3
2. ceph mon getmap -o /tmp/monmap
3. monmaptool --rm ceph-3 /tmp/monmap
4. monmaptool --add ceph-3 IP:PORT /tmp/monmap
5. ceph-mon -i ceph-3 --inject-monmap /tmp/monmap
6. start mon.ceph-3
-Joao
--
Joao Eduardo Luis
Software Engineer | http://inktank.com | http://ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com