Skip to contentSkip to conversation

librbd bug?

DISCUSSION Wolfgang Hennerbichler 3 participants 4 messages Mar 7, 2013 – Mar 8, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

I've a libvirt-VM that gets format 2 rbd-childs 'fed' by the superhost. It crashed recently with this in the logs:

osdc/ObjectCacher.cc: In function 'void ObjectCacher::bh_write_commit(int64_t, sobject_t, loff_t, uint64_t, tid_t, int)' thread 7f0cab5fd700 time 2013-03-01 22:02:37.374410 osdc/ObjectCacher.cc: 834: FAILED assert(ob->last_commit_tid < tid)
ceph version 0.56.3 (6eb7e15a4783b122e9b0c85ea9ba064145958aa5) 1: (ObjectCacher::bh_write_commit(long, sobject_t, long, unsigned long,
unsigned long, int)+0xd68) [0x7f0d087cda28]
2: (ObjectCacher::C_WriteCommit::finish(int)+0x6b) [0x7f0d087d460b] 3: (Context::complete(int)+0xa) [0x7f0d0878c9fa]
4: (librbd::C_Request::finish(int)+0x85) [0x7f0d087bc325] 5: (Context::complete(int)+0xa) [0x7f0d0878c9fa]
6: (librbd::rados_req_cb(void*, void*)+0x47) [0x7f0d087a1387] 7: (librados::C_AioSafe::finish(int)+0x1d) [0x7f0d07b5834d] 8: (Finisher::finisher_thread_entry()+0x1c0) [0x7f0d07bc20d0] 9: (()+0x7e9a) [0x7f0d0546be9a]
10: (clone()+0x6d) [0x7f0d05198cbd]
NOTE: a copy of the executable, or objdump -rdS <executable> is
needed to interpret this.
terminate called after throwing an instance of 'ceph::FailedAssertion'

Any clue why that happened?

Signature · 15 lines
DI (FH) Wolfgang Hennerbichler
Software Development
Unit Advanced Computing Technologies
RISC Software GmbH
A company of the Johannes Kepler University Linz

IT-Center
Softwarepark 35
4232 Hagenberg
Austria

Phone: +43 7236 3343 245
Fax: +43 7236 3343 250
[email protected]
http://www.risc-software.at
#1 lore raw
Quoted 25 lines · Wolfgang Hennerbichler

Hi,

I've a libvirt-VM that gets format 2 rbd-childs 'fed' by the superhost. It crashed recently with this in the logs:

osdc/ObjectCacher.cc: In function 'void ObjectCacher::bh_write_commit(int64_t, sobject_t, loff_t, uint64_t, tid_t, int)' thread 7f0cab5fd700 time 2013-03-01 22:02:37.374410 osdc/ObjectCacher.cc: 834: FAILED assert(ob->last_commit_tid < tid)
ceph version 0.56.3 (6eb7e15a4783b122e9b0c85ea9ba064145958aa5) 1: (ObjectCacher::bh_write_commit(long, sobject_t, long, unsigned long,
unsigned long, int)+0xd68) [0x7f0d087cda28]
2: (ObjectCacher::C_WriteCommit::finish(int)+0x6b) [0x7f0d087d460b] 3: (Context::complete(int)+0xa) [0x7f0d0878c9fa]
4: (librbd::C_Request::finish(int)+0x85) [0x7f0d087bc325] 5: (Context::complete(int)+0xa) [0x7f0d0878c9fa]
6: (librbd::rados_req_cb(void*, void*)+0x47) [0x7f0d087a1387] 7: (librados::C_AioSafe::finish(int)+0x1d) [0x7f0d07b5834d] 8: (Finisher::finisher_thread_entry()+0x1c0) [0x7f0d07bc20d0] 9: (()+0x7e9a) [0x7f0d0546be9a]
10: (clone()+0x6d) [0x7f0d05198cbd]
NOTE: a copy of the executable, or objdump -rdS <executable> is
needed to interpret this.
terminate called after throwing an instance of 'ceph::FailedAssertion'

Quoted 1 line

Any clue why that happened?

We fixed one bug that triggered this behavior, but I just saw another occurence yesterday. I'm working on reproducing it now. Once I have some confidence it is fully resolved I will backport the fix(es) to the bobtail branch.

Thanks!
sage

Quoted 23 lines
Signature · 20 lines
-- 
DI (FH) Wolfgang Hennerbichler
Software Development
Unit Advanced Computing Technologies
RISC Software GmbH
A company of the Johannes Kepler University Linz

IT-Center
Softwarepark 35
4232 Hagenberg
Austria

Phone: +43 7236 3343 245
Fax: +43 7236 3343 250
[email protected]
http://www.risc-software.at
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to Wolfgang Hennerbichler
Quoted 25 lines · Wolfgang Hennerbichler

Hi,

I've a libvirt-VM that gets format 2 rbd-childs 'fed' by the superhost. It crashed recently with this in the logs:

osdc/ObjectCacher.cc: In function 'void ObjectCacher::bh_write_commit(int64_t, sobject_t, loff_t, uint64_t, tid_t, int)' thread 7f0cab5fd700 time 2013-03-01 22:02:37.374410 osdc/ObjectCacher.cc: 834: FAILED assert(ob->last_commit_tid < tid)
ceph version 0.56.3 (6eb7e15a4783b122e9b0c85ea9ba064145958aa5) 1: (ObjectCacher::bh_write_commit(long, sobject_t, long, unsigned long,
unsigned long, int)+0xd68) [0x7f0d087cda28]
2: (ObjectCacher::C_WriteCommit::finish(int)+0x6b) [0x7f0d087d460b] 3: (Context::complete(int)+0xa) [0x7f0d0878c9fa]
4: (librbd::C_Request::finish(int)+0x85) [0x7f0d087bc325] 5: (Context::complete(int)+0xa) [0x7f0d0878c9fa]
6: (librbd::rados_req_cb(void*, void*)+0x47) [0x7f0d087a1387] 7: (librados::C_AioSafe::finish(int)+0x1d) [0x7f0d07b5834d] 8: (Finisher::finisher_thread_entry()+0x1c0) [0x7f0d07bc20d0] 9: (()+0x7e9a) [0x7f0d0546be9a]
10: (clone()+0x6d) [0x7f0d05198cbd]
NOTE: a copy of the executable, or objdump -rdS <executable> is
needed to interpret this.
terminate called after throwing an instance of 'ceph::FailedAssertion'

Quoted 2 lines

Any clue why that happened?

This looks like

http://tracker.ceph.com/issues/4271

Signature · 3 lines
Dan Mick, Filesystem Engineering
Inktank Storage, Inc.	http://inktank.com
Ceph docs: http://ceph.com/docs
#3 lore raw
Quoted 26 lines · Dan Mick
Quoted 25 lines · Wolfgang Hennerbichler

Hi,

I've a libvirt-VM that gets format 2 rbd-childs 'fed' by the superhost. It crashed recently with this in the logs:

osdc/ObjectCacher.cc: In function 'void ObjectCacher::bh_write_commit(int64_t, sobject_t, loff_t, uint64_t, tid_t, int)' thread 7f0cab5fd700 time 2013-03-01 22:02:37.374410 osdc/ObjectCacher.cc: 834: FAILED assert(ob->last_commit_tid < tid)
ceph version 0.56.3 (6eb7e15a4783b122e9b0c85ea9ba064145958aa5) 1: (ObjectCacher::bh_write_commit(long, sobject_t, long, unsigned long,
unsigned long, int)+0xd68) [0x7f0d087cda28]
2: (ObjectCacher::C_WriteCommit::finish(int)+0x6b) [0x7f0d087d460b] 3: (Context::complete(int)+0xa) [0x7f0d0878c9fa]
4: (librbd::C_Request::finish(int)+0x85) [0x7f0d087bc325] 5: (Context::complete(int)+0xa) [0x7f0d0878c9fa]
6: (librbd::rados_req_cb(void*, void*)+0x47) [0x7f0d087a1387] 7: (librados::C_AioSafe::finish(int)+0x1d) [0x7f0d07b5834d] 8: (Finisher::finisher_thread_entry()+0x1c0) [0x7f0d07bc20d0] 9: (()+0x7e9a) [0x7f0d0546be9a]
10: (clone()+0x6d) [0x7f0d05198cbd]
NOTE: a copy of the executable, or objdump -rdS <executable> is
needed to interpret this.
terminate called after throwing an instance of 'ceph::FailedAssertion'

Quoted 6 lines
Quoted 2 lines

Any clue why that happened?

This looks like

http://tracker.ceph.com/issues/4271

I am chasing http://tracker.ceph.com/issues/4369, which may indicate a problem with the fix for #4271. Once this is sorted out, I'll cherry-pick the fix to bobtail.

sage