mirror of
https://github.com/ceph/ceph
synced 2025-01-14 06:53:11 +00:00
08df6e0fd0
Invoke "rbd mirror snapshot schedule ls -R" and "rbd mirror snapshot schedule status" commands on all levels, consistently. In particular, make sure that an image level schedule is listed for a recursive query at the pool level both before and after the schedule kicks in: $ rbd create --size 1G --mirror-image-mode snapshot -p foo bar $ rbd mirror snapshot schedule add -p foo --image bar 1m $ rbd mirror snapshot schedule ls -p foo -R POOL NAMESPACE IMAGE SCHEDULE foo bar every 1m <wait for schedule to become visible in status> $ rbd mirror snapshot schedule ls -p foo -R POOL NAMESPACE IMAGE SCHEDULE foo bar every 1m Also, make sure that pool and image level status queries work: $ rbd mirror snapshot schedule status -p foo SCHEDULE TIME IMAGE 2022-03-04 07:14:00 foo/bar $ rbd mirror snapshot schedule status -p foo --image bar SCHEDULE TIME IMAGE 2022-03-04 07:14:00 foo/bar Both of these issues are fixed by the previous commit. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> |
||
---|---|---|
.. | ||
caps | ||
ceph-tests | ||
cephadm | ||
cephtool | ||
client | ||
cls | ||
direct_io | ||
erasure-code | ||
fs | ||
hadoop | ||
libcephfs | ||
mgr | ||
mon | ||
objectstore | ||
osdc | ||
rados | ||
rbd | ||
rename | ||
rest | ||
restart | ||
rgw | ||
suites | ||
ceph-helpers-root.sh | ||
false.sh | ||
kernel_untar_build.sh | ||
Makefile | ||
post-file.sh | ||
true.sh |