Feature #19381
ceph_objectstore_tool,rados tool: add commands to both for exporting and importing a specified object to and from a common format
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
The motivation for this is a case where a radosgw index object has become inaccessible, unfound, corrupted, w/e on the live ceph cluster, but we know of an OSD store which contains a version of the object which will work. Ideally, one could
ceph_objectstore_tool --op export-object --object <foo> --pgid <pgid> --outfile <file>
and then
rados -p <pool> import-object <foo> <infile>
The existing commands are inadequate mostly because you'd need to invoke ceph_objectstore_tool once for each omap entry to export and rados once for each omap entry to import. This seems like functionality which should be built in.
History
#1 Updated by Chang Liu almost 7 years ago
has anyone worked on this? if no, assign it to me please.