Re: mon problems after upgrading to cuttlefish

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

 



Joao,

I made sure there wasn't any other ceph-mon running, and now when I run it I see this:

# ceph-mon -d -c /etc/ceph/ceph.conf
2013-05-28 13:46:47.060426 7fbc68a80780  0 ceph version 0.61.2 (fea782543a844bb277ae94d3391788b76c5bee60), process ceph-mon, pid 9640
2013-05-28 13:46:47.196659 7fbc68a80780  0 mon.admin does not exist in monmap, will attempt to join an existing cluster
2013-05-28 13:46:47.196813 7fbc68a80780 -1 no public_addr or public_network specified, and mon.admin not present in monmap or ceph.conf

BTW, I started another thread that hasn't received a response yet that might have something to do with it.  I'm now thinking it might have to do more with me attempting to at more mon servers then with the upgrade:

# start ceph-mon id=a
ceph-mon (ceph/a) start/running, process 9695
root@a1:/etc/ceph# ceph --admin-daemon /run/ceph/ceph-mon.a.asok mon_status
{ "name": "a",
  "rank": 0,
  "state": "probing",
  "election_epoch": 0,
  "quorum": [],
  "outside_quorum": [
        "a"],
  "extra_probe_peers": [],
  "monmap": { "epoch": 2,
      "fsid": "6917a033-3439-4fd7-88db-46c9e1df0d6e",
      "modified": "2013-05-22 21:45:39.239582",
      "created": "2012-12-28 11:35:06.671375",
      "mons": [
            { "rank": 0,
              "name": "a",
              "addr": "172.24.88.50:6789\/0"},
            { "rank": 1,
              "name": "mon.b",
              "addr": "172.24.88.53:6789\/0"}]}}

Any ideas how to get rid of mon.b?

Thanks,
Bryan


On Mon, May 27, 2013 at 10:23 AM, Joao Eduardo Luis <joao.luis@xxxxxxxxxxx> wrote:
On 05/24/2013 05:37 AM, Bryan Stillwell wrote:
On Thu, May 23, 2013 at 9:58 AM, Smart Weblications GmbH - Florian
Wiessner <f.wiessner@smart-weblications.de> wrote:
you may need to update your [mon.a] section in your ceph.conf like this:


[mon.a]
        mon data = "">

That didn't seem to make a difference, it kept trying to use ceph-admin.

I tried adding this as well:

[mon]
         mon data = "">

But it didn't work either:

# ceph-mon -d -c /etc/ceph/ceph.conf
2013-05-23 22:33:14.371601 7fb64f8cd780  0 ceph version 0.61.2
(fea782543a844bb277ae94d3391788b76c5bee60), process ceph-mon, pid
31183
IO error: lock /var/lib/ceph/mon/ceph-a/store.db/LOCK: Resource
temporarily unavailable
2013-05-23 22:33:14.374219 7fb64f8cd780  1 unable to open monitor
store at /var/lib/ceph/mon/ceph-a
2013-05-23 22:33:14.374229 7fb64f8cd780  1 check for old monitor store format
2013-05-23 22:33:14.374239 7fb64f8cd780  1 store(/var/lib/ceph/mon/ceph-a) mount
2013-05-23 22:33:14.374300 7fb64f8cd780  1 found old GV monitor store
format -- should convert!
IO error: lock /var/lib/ceph/mon/ceph-a/store.db/LOCK: Resource
temporarily unavailable

This looks as if you have another monitor running.  However, from the looks of it, given the whole email exchange, it shouldn't be happening.

Nevertheless, please check if you have some other ceph-mon running.  If that is not the case, then 'rm /var/lib/ceph/mon/ceph-a/store.db/LOCK'.

If after that the monitor complains about having an unfinished conversion, please 'mv /var/lib/ceph/mon/ceph-a/store.db /var/lib/ceph/mon/ceph-a/store.db.old' and re-run ceph-mon.

  -Joao

--
Joao Eduardo Luis
Software Engineer | http://inktank.com | http://ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



--
Photobucket

Bryan Stillwell
SENIOR SYSTEM ADMINISTRATOR

E: bstillwell@xxxxxxxxxxxxxxx
O: 303.228.5109
M: 970.310.6085

Facebook TwitterPhotobucket

_______________________________________________
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