On a machine slow enough, the tiering agent can be activated while
testing border cases where the cache is almost full. Prevent that
by deactivating the tiering agent.
http://tracker.ceph.com/issues/11359 Fixes: #11359
Signed-off-by: Loic Dachary <ldachary@redhat.com>
ceph osd pool delete datapool datapool --yes-i-really-really-mean-it
## check health check
+ ceph osd set notieragent
ceph osd pool create datapool 2
ceph osd pool create cache4 2
ceph osd tier add-cache datapool cache4 1024000
ceph osd tier remove datapool cache4
ceph osd pool delete cache4 cache4 --yes-i-really-really-mean-it
ceph osd pool delete datapool datapool --yes-i-really-really-mean-it
+ ceph osd unset notieragent
# make sure 'tier remove' behaves as we expect