Project

General

Profile

Actions

Bug #5776

closed

ceph: passing -1 osd id

Added by Sage Weil over 10 years ago. Updated over 10 years ago.

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

0%

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

Description

i fixed librados to not assert, but still:

root@plana11:~# ./ceph tell osd.* status
./osdc/Objecter.h: In function 'int Objecter::osd_command(int, std::vector<std::basic_string<char> >&, ceph::bufferlist&, tid_t*, ceph::bufferlist*, std::string*, Context*)' thread 7fb49ae46700 time 2013-07-26 17:26:23.499406
./osdc/Objecter.h: 1263: FAILED assert(osd >= 0)
 ceph version 0.67-rc2-75-g6faf8b6 (6faf8b680d1474b0f47fc87cde8e406ce985d60f)
 1: (librados::RadosClient::osd_command(int, std::vector<std::string, std::allocator<std::string> >&, ceph::buffer::list&, ceph::buffer::list*, std::string*)+0x3a3) [0x7fb49bdca843]
 2: (rados_osd_command()+0x155) [0x7fb49bdb7055]
 3: (ffi_call_unix64()+0x4c) [0x7fb49cfa0ea4]
 4: (ffi_call()+0x1e5) [0x7fb49cfa08c5]
 5: (_ctypes_callproc()+0x4d2) [0x7fb49cf912c2]
 6: (()+0xbaa2) [0x7fb49cf91aa2]
 7: (PyObject_Call()+0x36) [0x4e9f36]
 8: (PyEval_EvalFrameEx()+0x1fc0) [0x499bc0]
 9: (PyEval_EvalFrameEx()+0xa02) [0x498602]
 10: (PyEval_EvalFrameEx()+0xa02) [0x498602]
 11: (PyEval_EvalCodeEx()+0x1a0) [0x49f1c0]
 12: /usr/bin/python() [0x4a8960]
 13: (PyObject_Call()+0x36) [0x4e9f36]
 14: /usr/bin/python() [0x4ec11a]
 15: (PyObject_Call()+0x36) [0x4e9f36]
 16: (PyEval_CallObjectWithKeywords()+0x36) [0x4ea396]
 17: /usr/bin/python() [0x4b0bc8]
 18: (()+0x7e9a) [0x7fb49ece4e9a]
 19: (clone()+0x6d) [0x7fb49dad1ccd]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
terminate called after throwing an instance of 'ceph::FailedAssertion'

root@plana11:~# ceph osd ls

0
1
2

this btw was cuttlefish mon and next cli/libs

Actions #1

Updated by Sage Weil over 10 years ago

  • Status changed from 12 to Can't reproduce
Actions

Also available in: Atom PDF