ceph/qa/workunits
Ilya Dryomov 08df6e0fd0 qa/workunits/rbd: expand LevelSpec parsing coverage
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>
2022-03-05 11:20:33 +01:00
..
caps
ceph-tests
cephadm qa/dashboard: ensure node 16 is installed 2022-01-14 18:08:25 +01:00
cephtool qa/workunits/cephtool: modified test.sh 2021-12-20 21:46:37 +00:00
client
cls qa/rgw: run ceph_test_cls_rgw_gc in rgw/verify suite 2021-12-09 11:07:03 -05:00
direct_io
erasure-code
fs Merge pull request #43297 from yongseokoh/test-dir-max-entries 2021-12-01 09:34:54 +05:30
hadoop
libcephfs
mgr
mon Merge PR #44054 into master 2022-01-06 08:54:45 -05:00
objectstore
osdc
rados qa: add object-dedup test 2021-12-14 13:49:45 +09:00
rbd qa/workunits/rbd: expand LevelSpec parsing coverage 2022-03-05 11:20:33 +01:00
rename
rest
restart
rgw rgw: in bucket reshard list, clarify new num shards is tentative 2022-01-28 12:05:54 -05:00
suites
ceph-helpers-root.sh
false.sh
kernel_untar_build.sh
Makefile
post-file.sh
true.sh