Project

General

Profile

Actions

Bug #1534

closed

ceph tool failed assert(mon_addr.count(n))

Added by Josh Durgin over 12 years ago. Updated over 12 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

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

Description

It seems like this should be something that results in an error message, not a crash. Backtrace:

2011-09-09T16:40:19.129 INFO:orchestra.run.err:mon/MonMap.h: In function 'entity_inst_t MonMap::get_inst(const std::string&)', in thread '0x7f3c35b60720'
2011-09-09T16:40:19.129 INFO:orchestra.run.err:mon/MonMap.h: 131: FAILED assert(mon_addr.count(n))
2011-09-09T16:40:19.156 INFO:orchestra.run.err: ceph version 0.34-482-g9713666 (commit:9713666c27412a121de4ffefbcfb184af238431d)
2011-09-09T16:40:19.156 INFO:orchestra.run.err: 1: (MonClient::_send_mon_message(Message*, bool)+0x1b2) [0x496cf2]
2011-09-09T16:40:19.157 INFO:orchestra.run.err: 2: (send_observe_requests(CephToolCtx*)+0x1cf) [0x44b0af]
2011-09-09T16:40:19.157 INFO:orchestra.run.err: 3: (main()+0x62e) [0x4498de]
2011-09-09T16:40:19.157 INFO:orchestra.run.err: 4: (__libc_start_main()+0xfe) [0x7f3c34141d8e]
2011-09-09T16:40:19.157 INFO:orchestra.run.err: 5: /tmp/cephtest/binary/usr/local/bin/ceph() [0x448a29]
2011-09-09T16:40:19.157 INFO:orchestra.run.err: ceph version 0.34-482-g9713666 (commit:9713666c27412a121de4ffefbcfb184af238431d)
2011-09-09T16:40:19.157 INFO:orchestra.run.err: 1: (MonClient::_send_mon_message(Message*, bool)+0x1b2) [0x496cf2]
2011-09-09T16:40:19.157 INFO:orchestra.run.err: 2: (send_observe_requests(CephToolCtx*)+0x1cf) [0x44b0af]
2011-09-09T16:40:19.157 INFO:orchestra.run.err: 3: (main()+0x62e) [0x4498de]
2011-09-09T16:40:19.158 INFO:orchestra.run.err: 4: (__libc_start_main()+0xfe) [0x7f3c34141d8e]
2011-09-09T16:40:19.158 INFO:orchestra.run.err: 5: /tmp/cephtest/binary/usr/local/bin/ceph() [0x448a29]
2011-09-09T16:40:19.158 INFO:orchestra.run.err:terminate called after throwing an instance of 'ceph::FailedAssertion'

Logs from monitors and osds are in vit:~joshd/thrash_ceph_crash. I accidentally overwrote the client log with a manual 'ceph -w'.

Actions

Also available in: Atom PDF