Project

General

Profile

Actions

Bug #21300

closed

"ceph osd df" crashes ceph-mon if mgr is offline

Added by Artemy Kapitula over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Category:
Monitor
Target version:
-
% Done:

0%

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

Description

ceph-mon crashes when calling "ceph osd df" if no ceph-mgr is running:

сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 2017-09-07 14:32:28.543543 7fe69f24b700 0 mon.dpr-2a1713-063-crd@0(leader) e1 handle_command mon_command({"prefix": "df", "format": "json"} v
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 2017-09-07 14:32:28.543583 7fe69f24b700 0 log_channel(audit) log [DBG] : from='client.? 10.118.63.11:0/33089080' entity='client.admin' cmd=[{
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 2017-09-07 14:32:28.547544 7fe69f24b700 0 mon.dpr-2a1713-063-crd@0(leader) e1 handle_command mon_command({"prefix": "osd df", "format": "json
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 2017-09-07 14:32:28.547574 7fe69f24b700 0 log_channel(audit) log [DBG] : from='client.? 10.118.63.11:0/4177904687' entity='client.admin' cmd=
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: ** Caught signal (Aborted) *
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: in thread 7fe69f24b700 thread_name:ms_dispatch
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 1: (()+0x8c6e21) [0x56080d4f7e21]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 2: (()+0xf130) [0x7fe6a6ad1130]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 3: (gsignal()+0x37) [0x7fe6a50715d7]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 4: (abort()+0x148) [0x7fe6a5072cc8]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 5: (()+0x4427b9) [0x56080d0737b9]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 6: (print_osd_utilization(OSDMap const&, PGStatService const*, std::ostream&, ceph::Formatter*, bool)+0x1a7) [0x56080d2eb287]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 7: (OSDMonitor::preprocess_command(boost::intrusive_ptr<MonOpRequest>)+0x105d) [0x56080d148ddd]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 8: (OSDMonitor::preprocess_query(boost::intrusive_ptr<MonOpRequest>)+0x3d6) [0x56080d150e86]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 9: (PaxosService::dispatch(boost::intrusive_ptr<MonOpRequest>)+0x811) [0x56080d1014a1]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 10: (Monitor::handle_command(boost::intrusive_ptr<MonOpRequest>)+0x1cb1) [0x56080cfdfff1]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 11: (Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>)+0x8b9) [0x56080cfe5789]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 12: (Monitor::_ms_dispatch(Message*)+0x7eb) [0x56080cfe6a3b]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 13: (Monitor::ms_dispatch(Message*)+0x23) [0x56080d011263]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 14: (DispatchQueue::entry()+0x792) [0x56080d4b3102]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 15: (DispatchQueue::DispatchThread::entry()+0xd) [0x56080d2b64cd]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 16: (()+0x7df5) [0x7fe6a6ac9df5]
сен 07 14:32:28 dpr-2a1713-063-crd ceph-custom-daemon1839: 17: (clone()+0x6d) [0x7fe6a51321ad]


Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #22079: luminous: "ceph osd df" crashes ceph-mon if mgr is offlineResolvedJoao Eduardo LuisActions
Actions

Also available in: Atom PDF