Bug 1855148

Summary: [Ceph-installer]: Set higher override values for rgw
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ameena Suhani S H <amsyedha>
Component: Ceph-InstallerAssignee: Timothy Asir <tjeyasin>
Status: CLOSED ERRATA QA Contact: Tejas <tchandra>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1CC: aschoen, ceph-eng-bugs, gmeno, jefbrown, kdreyer, knortema, nthomas, pasik, tjeyasin, tserlin, vashastr, vereddy, ykaul
Target Milestone: ---   
Target Release: 4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ceph-installer-1.3-0.el8cp, cockpit-ceph-installer-1.3-0.el7cp Doc Type: Bug Fix
Doc Text:
.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`.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-12 14:55:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1890121    

Description Ameena 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

Comment 1 Timothy Asir 2020-08-04 05:09:26 UTC
Shall we remove the pgnum setting to use the default value ?

Comment 3 Yaniv Kaul 2020-08-12 15:46:12 UTC
This looks like a nice improvement, but I'd be happy if it'll be deferred to 4.2, to reduce 4.1z2 content.

Comment 13 Ameena Suhani S H 2020-11-12 02:45:28 UTC
Verified using
cockpit-ceph-installer-1.3-0.el8cp.noarch



Additional info:

$ cat group_vars/rgws.yml
---
radosgw_frontend_port: '8080'
radosgw_frontend_type: beast

Comment 15 errata-xmlrpc 2021-01-12 14:55:59 UTC
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