Project

General

Profile

Bug #2361

osd: failed exists() assertion for identify_osd()

Added by Sage Weil almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
OSD
Target version:
% Done:

0%

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

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

Revision 4465c3ab (diff)
Added by Sage Weil almost 12 years ago

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 <>

History

#1 Updated by Sage Weil almost 12 years ago

  • Status changed from 12 to Resolved

Also available in: Atom PDF