Backport #16549
jewel: Monitor die if moncommand without "prefix" item
Release:
jewel
Crash signature:
Related issues
History
#1 Updated by Xiaoxi Chen over 4 years ago
- Copied from Bug #16297: Monitor die if moncommand without "prefix" item added
#2 Updated by Kefu Chai over 4 years ago
- Tracker changed from Bug to Backport
- Status changed from Pending Backport to In Progress
#3 Updated by Loic Dachary over 4 years ago
- Target version deleted (
v10.2.3)
Removing the target version (it is added after the backport is merged).
#4 Updated by Loic Dachary over 4 years ago
- Subject changed from jewel:Monitor die if moncommand without "prefix" item to jewel: Monitor die if moncommand without "prefix" item
- 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
#5 Updated by Loic Dachary over 4 years ago
- Status changed from In Progress to Resolved
- Target version set to v10.2.3