Project

General

Profile

Backport #16550

hammer:Monitor die if moncommand without "prefix" item

Added by Xiaoxi Chen about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
Release:
hammer
Crash signature:


Related issues

Copied from Ceph - Bug #16297: Monitor die if moncommand without "prefix" item Resolved 06/14/2016

History

#1 Updated by Xiaoxi Chen about 4 years ago

  • Copied from Bug #16297: Monitor die if moncommand without "prefix" item added

#2 Updated by Kefu Chai about 4 years ago

  • Tracker changed from Bug to Backport

#3 Updated by Kefu Chai about 4 years ago

  • Status changed from Pending Backport to In Progress
  • Assignee changed from Joao Eduardo Luis to Kefu Chai

#4 Updated by Nathan Cutler about 4 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

#5 Updated by Nathan Cutler about 4 years ago

  • Status changed from In Progress to Resolved

#6 Updated by Nathan Cutler about 4 years ago

  • Target version set to v0.94.8

Also available in: Atom PDF