Actions
Backport #16550
closedhammer:Monitor die if moncommand without "prefix" item
Release:
hammer
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Updated by Xiaoxi Chen almost 8 years ago
- Copied from Bug #16297: Monitor die if moncommand without "prefix" item added
Updated by Kefu Chai almost 8 years ago
- Status changed from Pending Backport to In Progress
- Assignee changed from Joao Eduardo Luis to Kefu Chai
Updated by Nathan Cutler almost 8 years ago
- Description updated (diff)
original description¶
we are using cluster.mon_command() in rados.py to do with perfix="osd pool stats",format="json", monitor will assert
Recheck the code we wrongly make "prefix" to "perfix" :( , and anything other than "prefix"(say "abc") will kill the monitor.
This is dangerous as anyone has access to the rados can take down whole cluster.
[Bug seem in hammer 0.94.6, not tested against other version
Updated by Nathan Cutler almost 8 years ago
- Status changed from In Progress to Resolved
Actions