Bug 1855148 - [Ceph-installer]: Set higher override values for rgw
Summary: [Ceph-installer]: Set higher override values for rgw
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Installer
Version: 4.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.2
Assignee: Timothy Asir
QA Contact: Tejas
URL:
Whiteboard:
Depends On:
Blocks: 1890121
TreeView+ depends on / blocked
 
Reported: 2020-07-09 05:28 UTC by Ameena Suhani S H
Modified: 2021-06-09 16:16 UTC (History)
13 users (show)

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`.
Clone Of:
Environment:
Last Closed: 2021-01-12 14:55:59 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage cockpit-ceph-installer pull 72 0 None closed Remove rgw buckets data and index value 2021-01-05 22:21:04 UTC
Red Hat Product Errata RHSA-2021:0081 0 None None None 2021-01-12 14:56:57 UTC

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


Note You need to log in before you can comment on or make changes to this bug.