Project

General

Profile

Actions

Bug #13872

closed

ceph-mon segmentation fault

Added by Kane Kim over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Category:
Monitor
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-deploy
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Trying to follow ceph installation instructions got this:

[root@ceph1 ~]# ceph-mon --cluster ceph --mkfs -i ceph1 --keyring /var/lib/ceph/tmp/ceph-ceph1.mon.keyring
ceph-mon: mon.noname-a 192.168.1.1:6789/0 is local, renaming to mon.ceph1
ceph-mon: set fsid to 42512469-7dc9-42ff-9567-fde9a352b40d
  • Caught signal (Segmentation fault)
    in thread 7f9553f37880
    ceph version 9.2.0 (bb2ecea240f3a1d525bcb35670cb07bd1f0ca299)
    1: (()+0x6afd62) [0x55e0f5b7ed62]
    2: (()+0xf130) [0x7f9552aca130]
    2015-11-24 19:44:24.507510 7f9553f37880 -1
    Caught signal (Segmentation fault) *
    in thread 7f9553f37880
ceph version 9.2.0 (bb2ecea240f3a1d525bcb35670cb07bd1f0ca299)
1: (()+0x6afd62) [0x55e0f5b7ed62]
2: (()+0xf130) [0x7f9552aca130]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
0> 2015-11-24 19:44:24.507510 7f9553f37880 -1 ** Caught signal (Segmentation fault) *
in thread 7f9553f37880
ceph version 9.2.0 (bb2ecea240f3a1d525bcb35670cb07bd1f0ca299)
1: (()+0x6afd62) [0x55e0f5b7ed62]
2: (()+0xf130) [0x7f9552aca130]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Segmentation fault

Actions #1

Updated by Joao Eduardo Luis over 8 years ago

Kane Kim wrote:

Trying to follow ceph installation instructions got this:

[root@ceph1 ~]# ceph-mon --cluster ceph --mkfs -i ceph1 --keyring /var/lib/ceph/tmp/ceph-ceph1.mon.keyring
ceph-mon: mon.noname-a 192.168.1.1:6789/0 is local, renaming to mon.ceph1
ceph-mon: set fsid to 42512469-7dc9-42ff-9567-fde9a352b40d
  • Caught signal (Segmentation fault)
    in thread 7f9553f37880
    ceph version 9.2.0 (bb2ecea240f3a1d525bcb35670cb07bd1f0ca299)
    1: (()+0x6afd62) [0x55e0f5b7ed62]
    2: (()+0xf130) [0x7f9552aca130]
    2015-11-24 19:44:24.507510 7f9553f37880 -1
    Caught signal (Segmentation fault) *
    in thread 7f9553f37880

This is unexpected. Can you please share the contents of your keyring file (keys mangled if you so wish)?

Actions #2

Updated by Joao Eduardo Luis over 8 years ago

  • Category set to Monitor
  • Assignee set to Joao Eduardo Luis
  • Priority changed from Normal to High
Actions #3

Updated by Sam Nguyen over 8 years ago

Hi Joao,

I'm working with Kane on this. The keyring file is named ceph-ceph1.mon.keyring, and the contents are:

[mon.]
key = XXXXAFVWAAAAABAAnGnXodW2zSRJBzWuGtXXXX==
caps mon = allow *
Actions #4

Updated by Joao Eduardo Luis over 8 years ago

If this is reproducible, mind installing the ceph-dbg package (or whatever it is called in your distribution) and get us a more detailed trace? if you manage to get it running under gdb and point me to the right place it would be even more awesome :)

Actions #5

Updated by Kane Kim over 8 years ago

Joao Luis wrote:

If this is reproducible, mind installing the ceph-dbg package (or whatever it is called in your distribution) and get us a more detailed trace? if you manage to get it running under gdb and point me to the right place it would be even more awesome :)

Thanks for your advice to install debuginfo and run with gdb. We've found that wrong leveldb version was installed before, after installing right version everything worked fine.

Actions #6

Updated by Joao Eduardo Luis over 8 years ago

  • Status changed from New to Closed

Kane Kim wrote:

Thanks for your advice to install debuginfo and run with gdb. We've found that wrong leveldb version was installed before, after installing right version everything worked fine.

Thanks for letting us know.

Actions

Also available in: Atom PDF