Re: bug when using ceph and keyring does not exist

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

 



On Sun, Nov 6, 2011 at 23:27, Smart Weblications GmbH - Florian
Wiessner <f.wiessner@xxxxxxxxxxxxxxxxxxxxx> wrote:
> i think i found a bug:
...
> node02:/etc/ceph# ceph
> *** Caught signal (Segmentation fault) **
>  in thread 7fb817589720
>  ceph version 0.37-307-gae41f32 (commit:ae41f3232a39dbf33487ab02cbac292f58debea8)
>  1: ceph() [0x470789]
>  2: (()+0xef60) [0x7fb817170f60]
>  3: (MonClient::_reopen_session()+0x5e4) [0x4845e4]
>  4: (MonClient::authenticate(double)+0x1a1) [0x485281]
>  5: (ceph_tool_common_init(ceph_tool_mode_t, bool)+0x55d) [0x452d2d]
>  6: (main()+0x4fe) [0x44fa6e]
>  7: (__libc_start_main()+0xfd) [0x7fb815b84c4d]
>  8: ceph() [0x44e519]
> Speicherzugriffsfehler

So a missing keyring make ceph command crash. I see this commit, I
think Sam found the bug independently and fixed it already. Please try
again!

commit d4ef9215fd00b08a198986fde4af5635833555ec
Author: Samuel Just <samuel.just@xxxxxxxxxxxxx>
Date:   2011-11-07 15:04:02 -0800

    common: return null if mc.init() unsuccessful

    Prevents ceph.cc from segfaulting on missing keyring.

    Signed-off-by: Samuel Just <samuel.just@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux