Actions
Bug #20245
closedPyFormatter aborts dumping PGMapDigest (missing dump_format_va)
Status:
Duplicate
Priority:
Urgent
Assignee:
-
Category:
python interface
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Looks like something changed in PGMap that now requires this type of dumping -- need to go implement it in PyFormatter to avoid seeing the mgr abort out like this:
ceph version 12.0.3-1426-g126cd32 (126cd3259333e7e0d69d8b142d5a11849e87b97e) luminous (dev) 1: (ceph::BackTrace::BackTrace(int)+0x2d) [0x5603b0938915] 2: (()+0x131f93b) [0x5603b093793b] 3: (()+0x10430) [0x7efd49cba430] 4: (gsignal()+0x38) [0x7efd48c539c8] 5: (abort()+0x16a) [0x7efd48c5565a] 6: (PyFormatter::dump_pyobject(char const*, _object*)+0) [0x5603b0785b70] 7: (ceph::Formatter::dump_format_unquoted(char const*, char const*, ...)+0xd9) [0x5603b0c24a29] 8: (PGMapDigest::dump_object_stat_sum(TextTable&, ceph::Formatter*, object_stat_sum_t const&, unsigned long, float, bool, pg_pool_t const*)+0x218) [0x5603b0687da0] 9: (PGMapDigest::dump_pool_stats_full(OSDMap const&, std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >*, ceph::Formatter*, bool) const+0xca0) [0x5603b068703e] 10: (PGMap::dump_pool_stats_full(OSDMap const&, std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >*, ceph::Formatter*, bool) const+0x58) [0x5603b06ad0c2]
Updated by Chang Liu almost 7 years ago
https://github.com/ceph/ceph/commit/159dc9ae4e5d7e1fac22935afbb280f46c88cbfc uses dump_format_unquoted, and breaks PyFormatter
Updated by Chang Liu almost 7 years ago
- Status changed from New to Fix Under Review
Updated by Nathan Cutler almost 7 years ago
- Status changed from Fix Under Review to Duplicate
Updated by Nathan Cutler almost 7 years ago
- Is duplicate of Bug #20249: ceph-mgr crashes in cephtool-test-mon.sh constantly on jenkins added
Actions