I have an OSD that is down and when I try and start it I get 'bad checksum on 
pg_log_entry_t' logged to the console.

Here is a complete dump of running this OSD from the commandline



root@cephosd4 ~]# /usr/bin/ceph-osd -i 35 --pid-file /var/run/ceph/osd.35.pid 
-c /etc/ceph/ceph.conf --cluster ceph -f
starting osd.35 at :/0 osd_data /var/lib/ceph/osd/ceph-35 
/var/lib/ceph/osd/ceph-35/journal
terminate called after throwing an instance of 'ceph::buffer::malformed_input'
  what():  buffer::malformed_input: bad checksum on pg_log_entry_t
*** Caught signal (Aborted) **
in thread 7f2eeaef7880
ceph version 0.94.3 (95cefea9fd9ab740263bf8bb4796fd864d9afe2b)
1: /usr/bin/ceph-osd() [0xac5c32]
2: (()+0xf130) [0x7f2ee9885130]
3: (gsignal()+0x37) [0x7f2ee829f5d7]
4: (abort()+0x148) [0x7f2ee82a0cc8]
5: (__gnu_cxx::__verbose_terminate_handler()+0x165) [0x7f2ee8ba39b5]
6: (()+0x5e926) [0x7f2ee8ba1926]
7: (()+0x5e953) [0x7f2ee8ba1953]
8: (()+0x5eb73) [0x7f2ee8ba1b73]
9: (pg_log_entry_t::decode_with_checksum(ceph::buffer::list::iterator&)+0x230) 
[0x792510]
10: (PGLog::read_log(ObjectStore*, coll_t, coll_t, ghobject_t, pg_info_t 
const&, std::map<eversion_t, hobject_t, std::less<eversion_t>, 
std::allocator<std::pair<eversion_t const, hobject_t> > >&, PGLog::IndexedLog&, 
pg_missing_t&, std::basic_ostringstream<char, std::char_traits<char>, 
std::allocator<char> >&, std::set<std::string, std::less<std::string>, 
std::allocator<std::string> >*)+0xa2f) [0x76b9bf]
11: (PG::read_state(ObjectStore*, ceph::buffer::list&)+0x34f) [0x7edebf]
12: (OSD::load_pgs()+0xa7a) [0x6b6a8a]
13: (OSD::init()+0x729) [0x6b9319]
14: (main()+0x27f3) [0x643ed3]
15: (__libc_start_main()+0xf5) [0x7f2ee828baf5]
16: /usr/bin/ceph-osd() [0x65d139]
2016-04-05 12:00:29.990938 7f2eeaef7880 -1 *** Caught signal (Aborted) **
in thread 7f2eeaef7880

ceph version 0.94.3 (95cefea9fd9ab740263bf8bb4796fd864d9afe2b)
1: /usr/bin/ceph-osd() [0xac5c32]
2: (()+0xf130) [0x7f2ee9885130]
3: (gsignal()+0x37) [0x7f2ee829f5d7]
4: (abort()+0x148) [0x7f2ee82a0cc8]
5: (__gnu_cxx::__verbose_terminate_handler()+0x165) [0x7f2ee8ba39b5]
6: (()+0x5e926) [0x7f2ee8ba1926]
7: (()+0x5e953) [0x7f2ee8ba1953]
8: (()+0x5eb73) [0x7f2ee8ba1b73]
9: (pg_log_entry_t::decode_with_checksum(ceph::buffer::list::iterator&)+0x230) 
[0x792510]
10: (PGLog::read_log(ObjectStore*, coll_t, coll_t, ghobject_t, pg_info_t 
const&, std::map<eversion_t, hobject_t, std::less<eversion_t>, 
std::allocator<std::pair<eversion_t const, hobject_t> > >&, PGLog::IndexedLog&, 
pg_missing_t&, std::basic_ostringstream<char, std::char_traits<char>, 
std::allocator<char> >&, std::set<std::string, std::less<std::string>, 
std::allocator<std::string> >*)+0xa2f) [0x76b9bf]
11: (PG::read_state(ObjectStore*, ceph::buffer::list&)+0x34f) [0x7edebf]
12: (OSD::load_pgs()+0xa7a) [0x6b6a8a]
13: (OSD::init()+0x729) [0x6b9319]
14: (main()+0x27f3) [0x643ed3]
15: (__libc_start_main()+0xf5) [0x7f2ee828baf5]
16: /usr/bin/ceph-osd() [0x65d139]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to 
interpret this.

     0> 2016-04-05 12:00:29.990938 7f2eeaef7880 -1 *** Caught signal (Aborted) 
**
in thread 7f2eeaef7880

ceph version 0.94.3 (95cefea9fd9ab740263bf8bb4796fd864d9afe2b)
1: /usr/bin/ceph-osd() [0xac5c32]
2: (()+0xf130) [0x7f2ee9885130]
3: (gsignal()+0x37) [0x7f2ee829f5d7]
4: (abort()+0x148) [0x7f2ee82a0cc8]
5: (__gnu_cxx::__verbose_terminate_handler()+0x165) [0x7f2ee8ba39b5]
6: (()+0x5e926) [0x7f2ee8ba1926]
7: (()+0x5e953) [0x7f2ee8ba1953]
8: (()+0x5eb73) [0x7f2ee8ba1b73]
9: (pg_log_entry_t::decode_with_checksum(ceph::buffer::list::iterator&)+0x230) 
[0x792510]
10: (PGLog::read_log(ObjectStore*, coll_t, coll_t, ghobject_t, pg_info_t 
const&, std::map<eversion_t, hobject_t, std::less<eversion_t>, 
std::allocator<std::pair<eversion_t const, hobject_t> > >&, PGLog::IndexedLog&, 
pg_missing_t&, std::basic_ostringstream<char, std::char_traits<char>, 
std::allocator<char> >&, std::set<std::string, std::less<std::string>, 
std::allocator<std::string> >*)+0xa2f) [0x76b9bf]
11: (PG::read_state(ObjectStore*, ceph::buffer::list&)+0x34f) [0x7edebf]
12: (OSD::load_pgs()+0xa7a) [0x6b6a8a]
13: (OSD::init()+0x729) [0x6b9319]
14: (main()+0x27f3) [0x643ed3]
15: (__libc_start_main()+0xf5) [0x7f2ee828baf5]
16: /usr/bin/ceph-osd() [0x65d139]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to 
interpret this.

Aborted
[root@cephosd4 ~]#
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to