Bug #2361
osd: failed exists() assertion for identify_osd()
Description
2012-04-29T01:43:43.581 INFO:teuthology.task.ceph.mds.a.err:osd/OSDMap.h: In function 'const entity_addr_t& OSDMap::get_addr(int) const' thread 7f65c08b1700 time 2012-04-29 01:43:43.578611
2012-04-29T01:43:43.581 INFO:teuthology.task.ceph.mds.a.err:osd/OSDMap.h: 302: FAILED assert(exists(osd))
2012-04-29T01:43:43.582 INFO:teuthology.task.ceph.mds.a.err: ceph version 0.45-391-gbf4966c (bf4966cf1458a8b013070c7ff8732f5671b34461)
2012-04-29T01:43:43.582 INFO:teuthology.task.ceph.mds.a.err: 1: (OSDMap::identify_osd(entity_addr_t const&) const+0x218) [0x87a8f8]
2012-04-29T01:43:43.582 INFO:teuthology.task.ceph.mds.a.err: 2: (Objecter::ms_handle_reset(Connection*)+0x80) [0x7cbfd0]
2012-04-29T01:43:43.582 INFO:teuthology.task.ceph.mds.a.err: 3: (MDS::ms_handle_reset(Connection*)+0x287) [0x4c6f67]
2012-04-29T01:43:43.583 INFO:teuthology.task.ceph.mds.a.err: 4: (SimpleMessenger::dispatch_entry()+0x10b5) [0x8ad4e5]
2012-04-29T01:43:43.583 INFO:teuthology.task.ceph.mds.a.err: 5: (SimpleMessenger::DispatchThread::entry()+0x15) [0x8595a5]
2012-04-29T01:43:43.583 INFO:teuthology.task.ceph.mds.a.err: 6: (Thread::_entry_func(void*)+0x12) [0x8ca4a2]
2012-04-29T01:43:43.583 INFO:teuthology.task.ceph.mds.a.err: 7: (()+0x7efc) [0x7f65c537defc]
2012-04-29T01:43:43.583 INFO:teuthology.task.ceph.mds.a.err: 8: (clone()+0x6d) [0x7f65c3bb289d]
2012-04-29T01:43:43.583 INFO:teuthology.task.ceph.mds.a.err: NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
ubuntu@teuthology:/a/nightly_coverage_2012-04-29-a$
this is from the wip-osdmap stuff
Associated revisions
osdmap: fix identify_osd() and find_osd_on_ip()
In 313c1566d3b649ef81fcdc722678d77dccfa888f we switched to using the
get_addr() accessor methods, which assert that the osd exists. Check that
before calling.
Fixes: #2361
Signed-off-by: Sage Weil <sage@newdream.net>
History
#1 Updated by Sage Weil almost 12 years ago
- Status changed from 12 to Resolved