Project

General

Profile

Actions

Feature #47666

open

Ceph pool history

Added by Stefan Kooman over 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

Introduce a "ceph pool $pool history" command to obtain historic information that modified pool state. I.e. changing CRUSH rules, enabling compression, change pg(p)_num, creating / deleting rbd images, taking / deleting (cephfs) snapshots, etc. Similar to the "zpool history" command in zfs. As opposed to "zpool history", which lists all events chronologically, a distinction can be made to display "administrative" commands and "operational" events (like regular creation and deletion of images).

Historic information regaring configuration changes are already stored (since Mimic) and can be obtained by "ceph config log". To keep it consistent, the pool history command could be made: "ceph pool <$pool> log"

Actions #1

Updated by Anthony D'Atri over 3 years ago

I second this, having benefited from ZFS history in my Solaris 10 days.

For years we've relied on shell history for this sort of info, which really isn't the best approach.

For extra credit log the real user who executes commands, if available. eg. SUDO_USER, SUDO_UID

Actions #2

Updated by Greg Farnum almost 3 years ago

  • Project changed from Ceph to RADOS

Much of this is also maintained in the audit log, but that's not easily digestible back in by Ceph.

Actions

Also available in: Atom PDF