Bug 1906305
| Summary: | pg_autoscale_mode should be a choice between on/off/warn and not ture/false | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Osama Elswah <oelswah> |
| Component: | Ceph-Ansible | Assignee: | Guillaume Abrioux <gabrioux> |
| Status: | CLOSED ERRATA | QA Contact: | Manasa <mgowri> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1 | CC: | amsyedha, aschoen, ceph-eng-bugs, gmeno, nthomas, tserlin, ykaul |
| Target Milestone: | --- | ||
| Target Release: | 4.2z2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-ansible-4.0.54-1.el8cp, ceph-ansible-4.0.54-1.el7cp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-15 17:13:09 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: | |||
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity. 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:2445 |
Description of problem: Defining pools in ceph-ansible, there is no way to set the pg_autoscale mode on warn and at the same time define a target size ratio. There are only two options: 1) pg_autoscale_mode: true - And set target_size_ratio. 2) pg_autoscale_mode: false - target_size_ratio will be ignored - This will cause the cluster to be in a HEALTH_WARN state Version-Release number of selected component (if applicable): 4.0.31 How reproducible: Always Steps to Reproduce: 1. Define in all.yml the openstack pools, example: openstack_glance_pool: name: "images" pg_num: "{{ osd_pool_default_pg_num }}" pgp_num: "{{ osd_pool_default_pg_num }}" rule_name: "replicated_rule" type: 1 erasure_profile: "" expected_num_objects: "" application: "rbd" size: "{{ osd_pool_default_size }}" min_size: "{{ osd_pool_default_min_size }}" pg_autoscale_mode: False target_size_ratio: 0.1 2. create the cluster. Actual results: pool images will be created, and cluster will be in HEALTH_WARN state. As target_size_ratio was not set Expected results: There should be the possibility to set pg_autoscaler mode in warn mode and be able to define target_size_ratio Additional info: