hammer:Monitor die if moncommand without "prefix" item
#4 Updated by Nathan Cutler about 4 years ago
- Description updated (diff)
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