.Cockpit installer produces incorrect values for number of buckets in `rgws.yml`
Previously, using the Cockpit installer to generate the `rgws.yml` file produced incorrect values for `defaults.rgw.buckets.data:pgnum` and `rgw_override_bucket_index_max_shards`.
With this release, the Cockpit installer creates correct values in `rgws.yml`.
DescriptionAmeena Suhani S H
2020-07-09 05:28:18 UTC
Description of problem:
The "defaults.rgw.buckets.data:pgnum: 16" is very less. It is expected to be set a considerably higher value.
Also, the "rgw_override_bucket_index_max_shards: 1" overrides the default value of the RGW system which is 11 shards which is not expected.
cat project/group_vars/rgws.yml
---
radosgw_frontend_port: '8080'
radosgw_frontend_type: beast
rgw_create_pools:
defaults.rgw.buckets.data:
pgnum: 16
defaults.rgw.buckets.index:
pgnum: 32
rgw_override_bucket_index_max_shards: 1
Version-Release number of selected component (if applicable):
cockpit-ceph-installer-1.2-0.el7cp.noarch and
ceph-ansible-4.0.25-1.el7cp.noarch
ansible-2.8.12-1.el7ae.noarch
How reproducible:
3/3
Steps to Reproduce:
1. Use the installer to create the yml files (no need to deploy)
2. On the deploy page click save
3. review the contents of rgw.yml in /usr/share/ceph-ansible/group_vars
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: Red Hat Ceph Storage 4.2 Security and Bug Fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2021:0081
Description of problem: The "defaults.rgw.buckets.data:pgnum: 16" is very less. It is expected to be set a considerably higher value. Also, the "rgw_override_bucket_index_max_shards: 1" overrides the default value of the RGW system which is 11 shards which is not expected. cat project/group_vars/rgws.yml --- radosgw_frontend_port: '8080' radosgw_frontend_type: beast rgw_create_pools: defaults.rgw.buckets.data: pgnum: 16 defaults.rgw.buckets.index: pgnum: 32 rgw_override_bucket_index_max_shards: 1 Version-Release number of selected component (if applicable): cockpit-ceph-installer-1.2-0.el7cp.noarch and ceph-ansible-4.0.25-1.el7cp.noarch ansible-2.8.12-1.el7ae.noarch How reproducible: 3/3 Steps to Reproduce: 1. Use the installer to create the yml files (no need to deploy) 2. On the deploy page click save 3. review the contents of rgw.yml in /usr/share/ceph-ansible/group_vars