# check health check
ceph osd pool create cache4 2
+ ceph osd tier add data cache4
ceph osd pool set cache4 target_max_objects 5
ceph osd pool set cache4 target_max_bytes 1000
for f in `seq 1 5` ; do
ceph health | grep WARN | grep cache4
ceph health detail | grep cache4 | grep 'target max' | grep objects
ceph health detail | grep cache4 | grep 'target max' | grep 'B'
+ ceph osd tier remove data cache4
ceph osd pool delete cache4 cache4 --yes-i-really-really-mean-it
# make sure 'tier remove' behaves as we expect