ceph/qa/workunits
Theofilos Mouratidis b9e4aa94b7 rbd trash: replace cli delay option, add rbd trash purge command
Replaced the delay argument for the trash move
command with a string acceptable by /bin/date, e.g.:

$ rbd trash move --pool foo --image bar --expires-in "2 weeks"

Added a "rbd trash purge" command that deletes any expired
image from the trash, has also a command to alter the current
expiration date with the "--older-than" argument which accepts
again a valid argument for /bin/date, e.g.:

$rbd trash purge mypool --older-than "2017-08-20"

There is also the "threshold" argument which tries to remove the
oldest trashed images (by deferment end time) until the pool space
is freed up to a percentage point, e.g.:

$ rbd trash purge mypool --threshold 0.9

If mypool uses 1GB it will try to remove trashed images until the
pool usage becomes equal to or lower than 900MB.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
2018-01-23 11:41:54 +01:00
..
caps
ceph-disk qa/ceph-disk: enlarge the simulated SCSI disk 2017-11-28 14:55:33 +08:00
ceph-tests
cephtool test: reduce the chance to have degraded PGs 2018-01-22 21:24:58 +08:00
cls qa: add ceph_test_cls_log to cls workunit 2017-10-30 15:31:03 -04:00
direct_io
erasure-code
fs
hadoop
libcephfs
libcephfs-java
mgr
mon qa/workunits/rest/test.py: stop trying to test obsolete 'mds *' commands 2017-10-26 11:22:20 -05:00
objectstore
osdc
rados qa/workunits/rados/test_rados_tool: remove stray |, fix race 2018-01-14 10:35:14 -06:00
rbd rbd trash: replace cli delay option, add rbd trash purge command 2018-01-23 11:41:54 +01:00
rename
rest qa/restful: Test pg_num/pgp_num modifications 2017-11-27 14:35:26 +01:00
restart
rgw
suites
ceph-helpers-root.sh
false.sh
kernel_untar_build.sh
Makefile
post-file.sh
true.sh