Skip to contentSkip to conversation

Can't start ceph mon

DISCUSSION Dave (Bob) 2 participants 3 messages Nov 20, 2012 – Nov 26, 2012 7 messages not in the archive

lore
Share & tools
lore

Dave (Bob)

author
#0 lore raw
Quoted 7 lines

Do you have other monitors in working order? The easiest way to handle it if that's the case is just to remove this monitor from the cluster and add it back in as a new monitor with a fresh store. If not we can look into reconstructing it.
-Greg

Quoted 5 lines

Also, if you still have it, could you zip up your monitor data directory and put it somewhere accessible to us? (I can provide you a drop point if necessary.) We'd like to look at the file layouts a bit since we thought we were properly handling ENOSPC-style issues. -Greg

Greg,

Thanks. I was running only one monitor, so I will need to try to reconstruct things.

If you tell me exactly what to pack up and where to send it, I'll be only too pleased to receive your help...

David

#1 lore raw
Quoted 13 lines · Dave (Bob)
Quoted 7 lines

Do you have other monitors in working order? The easiest way to handle it if that's the case is just to remove this monitor from the cluster and add it back in as a new monitor with a fresh store. If not we can look into reconstructing it.
-Greg

Quoted 5 lines

Also, if you still have it, could you zip up your monitor data directory and put it somewhere accessible to us? (I can provide you a drop point if necessary.) We'd like to look at the file layouts a bit since we thought we were properly handling ENOSPC-style issues. -Greg

Quoted 7 lines

Greg,

Thanks. I was running only one monitor, so I will need to try to reconstruct things.

If you tell me exactly what to pack up and where to send it, I'll be only too pleased to receive your help...

David

The monitor has a data directory somewhere on your filesystem. It's configurable but by default is at /var/lib/ceph/mon/. If you can send me the contents of that we ought to be able to 1) figure out how this actually happened, and 2) turn it into something that works properly. :)
Any logs you have (default: /var/log/ceph/mon*) would also be helpful. -Greg

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CAPYLRzg5EpfKqg3XNYGeWm9stNLXzpMenOdm+p6j1PafRNeNBg@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CAPYLRzgGrBaL7Ny7-e7QxhTASXUFtPapGWZ2xUm7cTPhhTKbuQ@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw
Quoted 5 lines · Dave (Bob)

Greg,

Is there any news on this?

David

Hurray, there is! Your "latest" stashed version of the PGMap got corrupted; knowing that helped me to track down a bug — we weren't checking the return value of an fsync! Fixes to prevent this situation in the future are coming shortly; in the mean time I managed to create a replacement PGMap for you that *should* make things right in the world again. Note that it's just blank, so some of your statistics reporting will be wonky for a little while (but all the data is replaceable and will be filled in gradually by the OSDs). Take the attached "new_latest" file and replace the file at "mon.vault01/pgmap/latest" with it, then restart your monitor and everything should be good! Let me know if it's not.
-Greg