Bug 2247061
| Summary: | Ceph deployment couldn't set 'target_size_ratio' for pools | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Manoj Katari <mkatari> |
| Component: | tripleo-ansible | Assignee: | Manoj Katari <mkatari> |
| Status: | CLOSED ERRATA | QA Contact: | Alfredo <alfrgarc> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 17.1 (Wallaby) | CC: | alfrgarc, fpantano, johfulto, mariel, nm-s, sapaul |
| Target Milestone: | z4 | Keywords: | Triaged |
| Target Release: | 17.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tripleo-ansible-3.3.1-17.1.20231107000822.8debef3.el9ost | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-11-21 09:38: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: | |||
|
Description
Manoj Katari
2023-10-30 14:01:16 UTC
After the updates to pool creation task https://review.opendev.org/c/openstack/tripleo-ansible/+/884555/20/tripleo_ansible/roles/tripleo_cephadm/tasks/pools.yaml Which will not use ceph_pool python module and runs the pool creation command direclty. The command run at https://opendev.org/openstack/tripleo-ansible/src/branch/stable/wallaby/tripleo_ansible/roles/tripleo_cephadm/tasks/pools.yaml#L28 doesn't support the option target_size_ratio. Hi Saumik, This patch sets `target_size_ratio` during pool_creation. As a WA for z3, it can be manually set after the pool creation using the command below , you can refer [1] for more details. #sudo cephadm shell -- ceph osd pool set <pool-name> target_size_ratio <ratio_value> [1] https://docs.redhat.com/en/documentation/red_hat_ceph_storage/5/html/storage_strategies_guide/placement_groups_pgs#specifying-target-size-using-the-total-cluster-capacity Hello Manoj, Thanks a lot. Regards 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 (RHOSP 17.1.4 bug fix and enhancement advisory), 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/RHBA-2024:9974 |