Project

General

Profile

Actions

Bug #8670

closed

Cache tiering parameters can not be displayed for a pool

Added by Jean-Charles Lopez almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
High
Category:
Monitor
Target version:
-
% Done:

0%

Source:
Support
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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:~$

Actions

Also available in: Atom PDF