1 pool(s) have non-power-of-two pg_num
atselitan
21 Posts
January 27, 2021, 3:00 pmQuote from atselitan on January 27, 2021, 3:00 pmHello!
After update from 2.5.3 to 2.7.1 i have:
health: HEALTH_WARN
1 pool(s) have non-power-of-two pg_num
According this: https://docs.ceph.com/en/latest/rados/operations/health-checks/#pool-pg-num-not-power-of-two
i have to add key "mon_warn_on_pool_pg_num_not_power_of_two false" to ceph configuration.
But i can't find it in list of available keys in WEB.
How can i add it?
Hello!
After update from 2.5.3 to 2.7.1 i have:
health: HEALTH_WARN
1 pool(s) have non-power-of-two pg_num
According this: https://docs.ceph.com/en/latest/rados/operations/health-checks/#pool-pg-num-not-power-of-two
i have to add key "mon_warn_on_pool_pg_num_not_power_of_two false" to ceph configuration.
But i can't find it in list of available keys in WEB.
How can i add it?
Last edited on January 27, 2021, 3:02 pm by atselitan · #1
admin
2,930 Posts
January 27, 2021, 5:10 pmQuote from admin on January 27, 2021, 5:10 pmceph config set mon.* mon_warn_on_pool_pg_num_not_power_of_two false
ceph config set mon.* mon_warn_on_pool_pg_num_not_power_of_two false
atselitan
21 Posts
January 28, 2021, 4:42 amQuote from atselitan on January 28, 2021, 4:42 amThanks!
I have this key in my configuration now:
root@sds-osd-101:~# ceph daemon /var/run/ceph/ceph-mon.*.asok config show |grep mon_warn_on_pool_pg
"mon_warn_on_pool_pg_num_not_power_of_two": "false",
root@sds-osd-101:~#
But i still have HEALTH_WARN in cluster:
root@sds-osd-101:~# ceph health detail
HEALTH_WARN 1 pool(s) have non-power-of-two pg_num
POOL_PG_NUM_NOT_POWER_OF_TWO 1 pool(s) have non-power-of-two pg_num
pool 'rbd' pg_num 10240 is not a power of two
How else can i fix it?
Thanks!
I have this key in my configuration now:
root@sds-osd-101:~# ceph daemon /var/run/ceph/ceph-mon.*.asok config show |grep mon_warn_on_pool_pg
"mon_warn_on_pool_pg_num_not_power_of_two": "false",
root@sds-osd-101:~#
But i still have HEALTH_WARN in cluster:
root@sds-osd-101:~# ceph health detail
HEALTH_WARN 1 pool(s) have non-power-of-two pg_num
POOL_PG_NUM_NOT_POWER_OF_TWO 1 pool(s) have non-power-of-two pg_num
pool 'rbd' pg_num 10240 is not a power of two
How else can i fix it?
Last edited on January 28, 2021, 4:44 am by atselitan · #3
Ste
125 Posts
February 1, 2021, 12:43 pmQuote from Ste on February 1, 2021, 12:43 pmSame for me. By the way, is it normal that this parameter appears 4 times in the configuration ?
UPDATE: now the health is OK, maybe some time is needed after changing parameter from true to false.
Same for me. By the way, is it normal that this parameter appears 4 times in the configuration ?
UPDATE: now the health is OK, maybe some time is needed after changing parameter from true to false.
Last edited on February 1, 2021, 2:44 pm by Ste · #4
1 pool(s) have non-power-of-two pg_num
atselitan
21 Posts
Quote from atselitan on January 27, 2021, 3:00 pmHello!
After update from 2.5.3 to 2.7.1 i have:
health: HEALTH_WARN
1 pool(s) have non-power-of-two pg_numAccording this: https://docs.ceph.com/en/latest/rados/operations/health-checks/#pool-pg-num-not-power-of-two
i have to add key "mon_warn_on_pool_pg_num_not_power_of_two false" to ceph configuration.But i can't find it in list of available keys in WEB.
How can i add it?
Hello!
After update from 2.5.3 to 2.7.1 i have:
health: HEALTH_WARN
1 pool(s) have non-power-of-two pg_num
According this: https://docs.ceph.com/en/latest/rados/operations/health-checks/#pool-pg-num-not-power-of-two
i have to add key "mon_warn_on_pool_pg_num_not_power_of_two false" to ceph configuration.
But i can't find it in list of available keys in WEB.
How can i add it?
admin
2,930 Posts
Quote from admin on January 27, 2021, 5:10 pmceph config set mon.* mon_warn_on_pool_pg_num_not_power_of_two false
ceph config set mon.* mon_warn_on_pool_pg_num_not_power_of_two false
atselitan
21 Posts
Quote from atselitan on January 28, 2021, 4:42 amThanks!
I have this key in my configuration now:
root@sds-osd-101:~# ceph daemon /var/run/ceph/ceph-mon.*.asok config show |grep mon_warn_on_pool_pg
"mon_warn_on_pool_pg_num_not_power_of_two": "false",
root@sds-osd-101:~#But i still have HEALTH_WARN in cluster:
root@sds-osd-101:~# ceph health detail
HEALTH_WARN 1 pool(s) have non-power-of-two pg_num
POOL_PG_NUM_NOT_POWER_OF_TWO 1 pool(s) have non-power-of-two pg_num
pool 'rbd' pg_num 10240 is not a power of twoHow else can i fix it?
Thanks!
I have this key in my configuration now:
root@sds-osd-101:~# ceph daemon /var/run/ceph/ceph-mon.*.asok config show |grep mon_warn_on_pool_pg
"mon_warn_on_pool_pg_num_not_power_of_two": "false",
root@sds-osd-101:~#
But i still have HEALTH_WARN in cluster:
root@sds-osd-101:~# ceph health detail
HEALTH_WARN 1 pool(s) have non-power-of-two pg_num
POOL_PG_NUM_NOT_POWER_OF_TWO 1 pool(s) have non-power-of-two pg_num
pool 'rbd' pg_num 10240 is not a power of two
How else can i fix it?
Ste
125 Posts
Quote from Ste on February 1, 2021, 12:43 pmSame for me. By the way, is it normal that this parameter appears 4 times in the configuration ?
UPDATE: now the health is OK, maybe some time is needed after changing parameter from true to false.
Same for me. By the way, is it normal that this parameter appears 4 times in the configuration ?
UPDATE: now the health is OK, maybe some time is needed after changing parameter from true to false.