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:~$
Updated by Samuel Just almost 10 years ago
- Assignee set to Joao Eduardo Luis
- Priority changed from Normal to Urgent
Updated by Joao Eduardo Luis almost 10 years ago
funny thing, those parameters can be set on any pool regardless of their nature.
Is this by design or a bug?
Updated by Joao Eduardo Luis almost 10 years ago
- Status changed from New to Fix Under Review
Updated by Joao Eduardo Luis almost 10 years ago
- Category changed from ceph cli to Monitor
Talked this over with Sam and not checking the nature of each pool when setting some of these variables is indeed a bug.
Bug #8696 has been created to address this.
Updated by Sage Weil almost 10 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Sage Weil almost 10 years ago
non trivial to backport.. need to get all the rados test refactoring, too!
Updated by Sage Weil over 9 years ago
- Status changed from Pending Backport to Resolved