Actions
Bug #9007
closedCeph Firefly 0.80.4 : Unable to get some pool values
% Done:
0%
Source:
Q/A
Tags:
ceph osd pool set
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Hello Developers¶
I am curious to know if there is something missing from the code for Ceph pool values.
As mentioned in the documentation there are several pool values that we can set and get for any pool.
http://ceph.com/docs/master/rados/operations/pools/#set-pool-values
Here is my observation :
- I am able to set pool values like cache_target_dirty_ratio , target_max_bytes , cache_min_flush_age etc. But unable to get it.
- ceph osd pool get ? -- Does not contain these values in the help. The values that are mentioned in the help are only gettable.
Below is the output from my Ceph setup , if you think this needs to be fixed , you can take necessary actions , else you can close this issue.
# ceph osd pool get ? Invalid command: missing required parameter var(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 parameter <var> Error EINVAL: invalid command # # # # ceph osd pool get cache-pool hit_set_type hit_set_type: bloom # ceph osd pool get cache-pool hit_set_period hit_set_period: 300 # ceph osd pool get cache-pool hit_set_count hit_set_count: 1 # ceph osd pool get cache-pool hit_set_fpp hit_set_fpp: 0.05 # # # ceph osd pool get cache-pool 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_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 parameter <var> Error EINVAL: invalid command # # # # ceph osd pool set cache-pool target_max_bytes 10000000000 set pool 24 target_max_bytes to 10000000000 # # # ceph osd pool get cache-pool 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 parameter <var> Error EINVAL: invalid command # # # ceph osd pool set cache-pool cache_min_flush_age 300 set pool 24 cache_min_flush_age to 300 # # ceph osd pool get cache-pool cache_min_flush_age Invalid command: cache_min_flush_age 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 parameter <var> Error EINVAL: invalid command # #
Actions