# test with dirty objects in the tier pool
# tier pool currently set to 'writeback'
rados -p cache put /etc/passwd /etc/passwd
- ceph tell osd.* flush_pg_stats || true
+ ceph tell osd.\* flush_pg_stats || true
# 1 dirty object in pool 'cache'
ceph osd tier cache-mode cache forward
expect_false ceph osd tier cache-mode cache none
# remove object from tier pool
rados -p cache rm /etc/passwd
rados -p cache cache-flush-evict-all
- ceph tell osd.* flush_pg_stats || true
+ ceph tell osd.\* flush_pg_stats || true
# no dirty objects in pool 'cache'
ceph osd tier cache-mode cache forward
ceph osd tier cache-mode cache none
rados -p cache4 put foo1 $tmpfile
rados -p cache4 put foo2 $tmpfile
rm -f $tmpfile
- ceph tell osd.* flush_pg_stats || true
+ ceph tell osd.\* flush_pg_stats || true
ceph df | grep cache4 | grep ' 2 '
local max_objects=1
ceph osd pool set cache4 target_max_objects $max_objects
touch "${crushtool_path}"
chmod +x "${crushtool_path}"
local crushtool_path_old=`ceph-conf --show-config-value crushtool`
- ceph tell mon.* injectargs --crushtool "${crushtool_path}"
+ ceph tell mon.\* injectargs --crushtool "${crushtool_path}"
printf "%s\n" \
"#!/bin/sh
expect_false ceph osd setcrushmap -i $map 2> $TMPFILE
check_response "Error EINVAL: Failed to parse crushmap: ${crushtool_path}: timed out (${mon_lease} sec)"
- ceph tell mon.* injectargs --crushtool "${crushtool_path_old}"
+ ceph tell mon.\* injectargs --crushtool "${crushtool_path_old}"
rm -f "${crushtool_path}"
}
ceph ping mon.b
expect_false ceph ping mon.foo
- ceph ping mon.*
+ ceph ping mon.\*
}
function test_mon_deprecated_commands()