Project

General

Profile

Actions

Bug #1234

closed

mon: Monitor::handle_command

Added by Wido den Hollander almost 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Monitor
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

I was playing with "injectargs" a bit today and was able to crash my monitor a few times by just doing:

ceph _injectargs

This results in:

root@amd:~# ceph _injectargs
2011-06-28 16:11:59.676011 mon <- [_injectargs]
2011-06-28 16:11:59.727967 7f1664930700 monclient: hunting for new mon
2011-06-28 16:11:59.743268 7f166312d700 -- [2a00:f10:113:1:225:90ff:fe29:5507]:0/26731 >> [2a00:f10:113:1:230:48ff:fed3:b086]:6789/0 pipe(0x10c0030 sd=3 pgs=0 cs=0 l=0).fault first fault
^C
root@amd:~#

I have the core-dump + log available on monitor.ceph.widodh.nl in /root ( core-crash-inject-args-mon & mon.dga.log.inject-args-crash )

This is with version 0.29.1

Actions #1

Updated by Greg Farnum almost 13 years ago

  • Status changed from New to In Progress
  • Assignee set to Greg Farnum
  • Target version set to v0.31
  • Estimated time set to 0:30 h

Yeah, the monitor just doesn't look at what it's doing before it does it with injectargs. Fixing.

Actions #2

Updated by Greg Farnum almost 13 years ago

  • Status changed from In Progress to Resolved

commit: 1446d6de01e5c8b7d0ffd3ed83cd1a602b5768b1

Actions

Also available in: Atom PDF