https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2016-06-30T03:29:44ZCeph Ceph - Backport #16549: jewel: Monitor die if moncommand without "prefix" itemhttps://tracker.ceph.com/issues/16549?journal_id=736642016-06-30T03:29:44ZXiaoxi Chenxiaoxchen@ebay.com
<ul><li><strong>Copied from</strong> <i><a class="issue tracker-1 status-3 priority-6 priority-high2 closed" href="/issues/16297">Bug #16297</a>: Monitor die if moncommand without "prefix" item</i> added</li></ul> Ceph - Backport #16549: jewel: Monitor die if moncommand without "prefix" itemhttps://tracker.ceph.com/issues/16549?journal_id=736672016-06-30T04:03:25ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Backport</i></li><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>In Progress</i></li></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/10036">https://github.com/ceph/ceph/pull/10036</a></p> Ceph - Backport #16549: jewel: Monitor die if moncommand without "prefix" itemhttps://tracker.ceph.com/issues/16549?journal_id=736712016-06-30T05:28:20ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Target version</strong> deleted (<del><i>v10.2.3</i></del>)</li></ul><p>Removing the target version (it is added after the backport is merged).</p> Ceph - Backport #16549: jewel: Monitor die if moncommand without "prefix" itemhttps://tracker.ceph.com/issues/16549?journal_id=736722016-06-30T05:29:00ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Subject</strong> changed from <i>jewel:Monitor die if moncommand without "prefix" item</i> to <i>jewel: Monitor die if moncommand without "prefix" item</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/73672/diff?detail_id=70072">diff</a>)</li></ul><a name="original-description"></a>
<h3 >original description<a href="#original-description" class="wiki-anchor">¶</a></h3>
<p>we are using cluster.mon_command() in rados.py to do with *perfix*="osd pool stats",format="json", monitor will assert</p>
<p>Recheck the code we wrongly make "prefix" to "perfix" :( , and anything other than "prefix"(say "abc") will kill the monitor.</p>
<p>This is dangerous as anyone has access to the rados can take down whole cluster.</p>
<p>[Bug seem in hammer 0.94.6, not tested against other version</p> Ceph - Backport #16549: jewel: Monitor die if moncommand without "prefix" itemhttps://tracker.ceph.com/issues/16549?journal_id=760112016-08-08T08:20:24ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>Target version</strong> set to <i>v10.2.3</i></li></ul>