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
Assignee:
Joao Eduardo Luis
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 #1

Updated by Samuel Just almost 10 years ago

  • Assignee set to Joao Eduardo Luis
  • Priority changed from Normal to Urgent
Actions #2

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?

Actions #3

Updated by Joao Eduardo Luis almost 10 years ago

  • Status changed from New to Fix Under Review
Actions #4

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.

Actions #5

Updated by Sage Weil almost 10 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Sage Weil almost 10 years ago

  • Priority changed from Urgent to High
Actions #7

Updated by Sage Weil over 9 years ago

non trivial to backport.. need to get all the rados test refactoring, too!

Actions #8

Updated by Sage Weil over 9 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF