%{_bindir}/ceph_smalliobenchdumb
%{_bindir}/ceph_smalliobenchfs
%{_bindir}/ceph_smalliobenchrbd
-%{_bindir}/ceph_objectstore_tool
+%{_bindir}/ceph-objectstore-tool
%{_bindir}/ceph_streamtest
%{_bindir}/ceph_test_*
%{_bindir}/ceph_tpbench
usr/bin/ceph-coverage
usr/bin/ceph_bench_log
usr/bin/ceph_dupstore
-usr/bin/ceph_objectstore_tool
+usr/bin/ceph-objectstore-tool
usr/bin/ceph_kvstorebench
usr/bin/ceph_multi_stress_watch
usr/bin/ceph_erasure_code
/ceph.conf
/ceph_bench_log
/ceph_dupstore
-/ceph_objectstore_tool
+/ceph-objectstore-tool
/ceph_mon_store_converter
/ceph_multi_stress_watch
/ceph_erasure_code
pid = os.getpid()
TESTDIR = "/tmp/test.{pid}".format(pid=pid)
DATADIR = "/tmp/data.{pid}".format(pid=pid)
- CFSD_PREFIX = "./ceph_objectstore_tool --data-path dev/{osd} --journal-path dev/{osd}.journal "
+ CFSD_PREFIX = "./ceph-objectstore-tool --data-path dev/{osd} --journal-path dev/{osd}.journal "
PROFNAME = "testecprofile"
vstart(new=True)
ERRORS += test_failure(cmd, "Must provide --type (filestore, memstore, keyvaluestore-dev)")
# Don't specify a data-path
- cmd = "./ceph_objectstore_tool --journal-path dev/{osd}.journal --type memstore --op list --pgid {pg}".format(osd=ONEOSD, pg=ONEPG)
+ cmd = "./ceph-objectstore-tool --journal-path dev/{osd}.journal --type memstore --op list --pgid {pg}".format(osd=ONEOSD, pg=ONEPG)
ERRORS += test_failure(cmd, "Must provide --data-path")
# Don't specify a journal-path for filestore
- cmd = "./ceph_objectstore_tool --type filestore --data-path dev/{osd} --op list --pgid {pg}".format(osd=ONEOSD, pg=ONEPG)
+ cmd = "./ceph-objectstore-tool --type filestore --data-path dev/{osd} --op list --pgid {pg}".format(osd=ONEOSD, pg=ONEPG)
ERRORS += test_failure(cmd, "Must provide --journal-path")
# Test --op list and generate json for all objects
if string.find(pg, "{id}.".format(id=REPID)) != 0:
continue
file = os.path.join(dir, pg)
- cmd = "./ceph_objectstore_tool import-rados {pool} {file}".format(pool=NEWPOOL, file=file)
+ cmd = "./ceph-objectstore-tool import-rados {pool} {file}".format(pool=NEWPOOL, file=file)
logging.debug(cmd)
ret = call(cmd, shell=True, stdout=nullfd)
if ret != 0:
if LINUX
ceph_objectstore_tool_LDADD += -ldl
endif # LINUX
-bin_PROGRAMS += ceph_objectstore_tool
+bin_PROGRAMS += ceph-objectstore-tool
monmaptool_SOURCES = tools/monmaptool.cc
monmaptool_LDADD = $(CEPH_GLOBAL) $(LIBCOMMON)
cerr << std::endl;
cerr << "(requires --data, --journal (for filestore type) and --pgid to be specified)" << std::endl;
cerr << "(optional [file] argument will read stdin or write stdout if not specified or if '-' specified)" << std::endl;
- cerr << "ceph_objectstore_tool ... <object> (get|set)-bytes [file]" << std::endl;
- cerr << "ceph_objectstore_tool ... <object> (set-(attr|omap) <key> [file]" << std::endl;
- cerr << "ceph_objectstore_tool ... <object> (set-omaphdr) [file]" << std::endl;
- cerr << "ceph_objectstore_tool ... <object> (get|rm)-(attr|omap) <key>" << std::endl;
- cerr << "ceph_objectstore_tool ... <object> (get-omaphdr)" << std::endl;
- cerr << "ceph_objectstore_tool ... <object> list-attrs" << std::endl;
- cerr << "ceph_objectstore_tool ... <object> list-omap" << std::endl;
- cerr << "ceph_objectstore_tool ... <object> remove" << std::endl;
+ cerr << "ceph-objectstore-tool ... <object> (get|set)-bytes [file]" << std::endl;
+ cerr << "ceph-objectstore-tool ... <object> (set-(attr|omap) <key> [file]" << std::endl;
+ cerr << "ceph-objectstore-tool ... <object> (set-omaphdr) [file]" << std::endl;
+ cerr << "ceph-objectstore-tool ... <object> (get|rm)-(attr|omap) <key>" << std::endl;
+ cerr << "ceph-objectstore-tool ... <object> (get-omaphdr)" << std::endl;
+ cerr << "ceph-objectstore-tool ... <object> list-attrs" << std::endl;
+ cerr << "ceph-objectstore-tool ... <object> list-omap" << std::endl;
+ cerr << "ceph-objectstore-tool ... <object> remove" << std::endl;
cerr << std::endl;
- cerr << "ceph_objectstore_tool import-rados <pool> [file]" << std::endl;
+ cerr << "ceph-objectstore-tool import-rados <pool> [file]" << std::endl;
cerr << std::endl;
exit(1);
}
// Handle completely different operation "import-rados"
if (object == "import-rados") {
if (vm.count("objcmd") == 0) {
- cerr << "ceph_objectstore_tool import-rados <pool> [file]" << std::endl;
+ cerr << "ceph-objectstore-tool import-rados <pool> [file]" << std::endl;
exit(1);
}