From: Joao Eduardo Luis <joao.luis@inktank.com>
To: f.wiessner@smart-weblications.de
Cc: Sage Weil <sage@inktank.com>,
"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: ceph-mon not starting - AdminSocketConfigObs::init: error: AdminSocket::create_shutdown_pipe error: (38) Function not implemented
Date: Fri, 05 Oct 2012 18:35:20 +0100 [thread overview]
Message-ID: <506F1A58.3070205@inktank.com> (raw)
In-Reply-To: <506F031F.9050405@smart-weblications.de>
On 10/05/2012 04:56 PM, Smart Weblications GmbH - Florian Wiessner wrote:
> Am 05.10.2012 17:24, schrieb Sage Weil:
>> On Fri, 5 Oct 2012, Joao Eduardo Luis wrote:
>>> On 10/05/2012 01:24 PM, Smart Weblications GmbH - Florian Wiessner wrote:
>>>> Am 04.10.2012 15:38, schrieb Smart Weblications GmbH - Florian Wiessner:
>>>>> Hi,
>>>>>
>>>>>
>>>>> i have a ceph cluster with 2 osds, 3 mons.. one of the monitors does not start
>>>>> anymore:
>>>>>
>>>>> 2012-10-04 13:36:29.501178 7f7e123f9780 -1 asok(0x14ac000)
>>>>> AdminSocketConfigObs::init: error: AdminSocket::create_shutdown_pipe error: (38)
>>>>> Function not implemented
>>>>> 2012-10-04 13:36:29.535018 7f7e123f9780 1 mon.2@-1(probing) e1 init fsid
>>>>> 5b59811a-d235-488f-9b9b-953db7e5028b
>>>>> 2012-10-04 13:36:29.541171 7f7e123f9780 -1 mon/Paxos.cc: In function 'bool
>>>>> Paxos::is_consistent()' thread 7f7e123f9780 time 2012-10-04 13:36:29.536744
>>>>> mon/Paxos.cc: 1031: FAILED assert(consistent || (slurping == 1))
>>>
>>> This assertion means the monitor was killed or failed either during
>>> slurping (while catching up with the other monitors) or while performing
>>> some kind of update. So it ended up in an inconsistent state.
>>
>> The monitor is supposed to take note of when it is slurping and may be
>> temporarily inconsistent by writing a 'slurping' file with '1' in it in
>> the paxos subdirectory(ies), so some bug triggered this. A simple
>> workaround is to do
>>
>> echo 1 > $mondata/osdmap/slurping
>> echo 1 > $mondata/pgmap/slurping
>> echo 1 > $mondata/monmap/slurping
>> echo 1 > $mondata/logm/slurping
>> echo 1 > $mondata/auth/slurping
>>
>> and it will go through the recovery steps. It would be helpful if you
>> could tar up a copy of the mon directory first, though, along with any
>> log files on that host, so we can try to figure out what went wrong.
>>
>
> unfortunatelly, i deleted the logs for the monitor, as i did not see anything
> special except this assertion...
>
>
> i'll send mon-directory directly to Sage with a seperate mail.
>
Just following up on this, do you remember why this monitor went down
initially (the time before you were unable to start it)? Did it fail?
Was it killed? Were you upgrading it from a version prior to argonaut?
-Joao
next prev parent reply other threads:[~2012-10-05 17:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-04 13:38 ceph-mon not starting Smart Weblications GmbH - Florian Wiessner
2012-10-05 12:24 ` ceph-mon not starting - AdminSocketConfigObs::init: error: AdminSocket::create_shutdown_pipe error: (38) Function not implemented Smart Weblications GmbH - Florian Wiessner
2012-10-05 12:35 ` Joao Eduardo Luis
2012-10-05 15:24 ` Sage Weil
2012-10-05 15:56 ` Smart Weblications GmbH - Florian Wiessner
2012-10-05 17:35 ` Joao Eduardo Luis [this message]
2012-10-05 16:00 ` Smart Weblications GmbH - Florian Wiessner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=506F1A58.3070205@inktank.com \
--to=joao.luis@inktank.com \
--cc=ceph-devel@vger.kernel.org \
--cc=f.wiessner@smart-weblications.de \
--cc=sage@inktank.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.