Bug #8670
closedCache tiering parameters can not be displayed for a pool
0%
Description
Hi,
ceph version 0.80.1 (a38fe1169b6d2ac98b427334c12d7cf81f809b74)
When creation a cache tiering scheme, some parameters set on the cache tool can not be displayed.
ceph@firefly1:~$ ceph osd pool get hotpool cache_target_dirty_ratio
Invalid command: cache_target_dirty_ratio not in size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_f
pp|auid
osd pool get <poolname> size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid : get pool parame
ter <var>
Error EINVAL: invalid command
ceph@firefly1:~$ ceph osd pool get hotpool cache_target_full_ratio
Invalid command: cache_target_full_ratio not in size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fp
p|auid
osd pool get <poolname> size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid : get pool parame
ter <var>
Error EINVAL: invalid command
ceph@firefly1:~$ ceph osd pool get hotpool target_max_bytes
Invalid command: target_max_bytes not in size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid
osd pool get <poolname> size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid : get pool parame
ter <var>
Error EINVAL: invalid command
ceph@firefly1:~$ ceph osd pool get hotpool target_max_objects
Invalid command: target_max_objects not in size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid
osd pool get <poolname> size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid : get pool parame
ter <var>
Error EINVAL: invalid command
typo in http://ceph.com/docs/master/dev/cache-pool cache sizing section objets rather than objects
As opposed to the display of these parameters that can be correctly displayed.
ceph@firefly1:~$ ceph osd pool get hotpool hit_set_type
hit_set_type: bloom
ceph@firefly1:~$ ceph osd pool get hotpool hit_set_count
hit_set_count: 1
ceph@firefly1:~$ ceph osd pool get hotpool hit_set_period
hit_set_period: 3600
ceph@firefly1:~$ exit
Script done on Wed 25 Jun 2014 03:18:38 PM PDT
ceph@firefly1:~$