Manual changes made on `cephfs pools` are reverting back after stack update
Issue
-
Changes made on
cephfs pools
manually by executing ceph commands are reverting back while performing stack updateNote : In this document we are taking pg_autoscale mode of
cephfs pools
as an example. -
Let the names of
cephfs pools
be cephfs_data and cephfs_metadata -
Manually set the pg_autoscale mode of
cephfs pools
to true using below command# ceph osd pool set cephfs_data pg_autoscale_mode on # ceph osd pool set cephfs_metadata pg_autoscale_mode on
-
The pg_autoscale_mode of
cephfs pools
set toon
after executing above commands. The output will look like below,root@server1 ~]# ceph osd pool autoscale-status | grep cephfs POOL SIZE TARGET SIZE RATE RAW CAPACITY RATIO TARGET RATIO EFFECTIVE RATIO BIAS PG_NUM NEW PG_NUM AUTOSCALE cephfs_data 4590G 2.0 119.2T 0.0752 1.0 512 on cephfs_metadata 9082M 2.0 119.2T 0.0001 4.0 16 on
-
On stack update, ceph changes made got reverted back to
off
[root@server1 ~]# ceph osd pool autoscale-status | grep cephfs POOL SIZE TARGET SIZE RATE RAW CAPACITY RATIO TARGET RATIO EFFECTIVE RATIO BIAS PG_NUM NEW PG_NUM AUTOSCALE cephfs_data 4590G 2.0 119.2T 0.0752 1.0 512 off cephfs_metadata 9082M 2.0 119.2T 0.0001 4.0 16 off
Environment
RHOSP 16.2
RHCS 4.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.