Project

General

Profile

Actions

Backport #16549

closed

jewel: Monitor die if moncommand without "prefix" item

Added by Xiaoxi Chen almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
Release:
jewel
Pull request ID:
Crash signature (v1):
Crash signature (v2):


Related issues 1 (0 open1 closed)

Copied from Ceph - Bug #16297: Monitor die if moncommand without "prefix" itemResolvedJoao Eduardo Luis06/14/2016

Actions
Actions #1

Updated by Xiaoxi Chen almost 8 years ago

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

Updated by Kefu Chai almost 8 years ago

  • Tracker changed from Bug to Backport
  • Status changed from Pending Backport to In Progress
Actions #3

Updated by Loïc Dachary almost 8 years ago

  • Target version deleted (v10.2.3)

Removing the target version (it is added after the backport is merged).

Actions #4

Updated by Loïc Dachary almost 8 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

Actions #5

Updated by Loïc Dachary over 7 years ago

  • Status changed from In Progress to Resolved
  • Target version set to v10.2.3
Actions

Also available in: Atom PDF