Bug 2028693 - RHCS 4.x to 5.x upgrade - Cephadm adopt should choose the correct value for autotune_memory_target_ratio
Summary: RHCS 4.x to 5.x upgrade - Cephadm adopt should choose the correct value for a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.2
Assignee: Guillaume Abrioux
QA Contact: Rajendra Khambadkar
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2102272
TreeView+ depends on / blocked
 
Reported: 2021-12-02 23:25 UTC by Vikhyat Umrao
Modified: 2022-08-09 17:37 UTC (History)
10 users (show)

Fixed In Version: ceph-ansible-6.0.27.0-1.el8cp
Doc Type: Bug Fix
Doc Text:
.Correct value is set for `autotune_memory_target_ratio` when migrating to `cephadm` Previously, when migrating to `cephadm`, nothing would set a proper value for `autotune_memory_target_ratio` depending on the kind of deployment, HCI or non_HCI. Due to this, no ratio was set and there would be no difference between the two deployments. With this fix, the `cephadm-adopt playbook` sets the right ratio depending on the kind of deployment and the right value is set for `autotune_memory_target_ratio` parameter.
Clone Of:
Environment:
Last Closed: 2022-08-09 17:36:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 7183 0 None Merged cephadm_adopt: set autotune_memory_target_ratio 2022-05-30 14:45:10 UTC
Github ceph ceph-ansible pull 7192 0 None Merged cephadm_adopt: set autotune_memory_target_ratio (backport #7183) 2022-05-30 14:45:31 UTC
Red Hat Issue Tracker RHCEPH-2491 0 None None None 2021-12-02 23:27:28 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:37:10 UTC

Description Vikhyat Umrao 2021-12-02 23:25:19 UTC
Description of problem:

RHCS 4.x to 5.x upgrade - Cephadm adopt should choose the correct value for autotune_memory_target_ratio

With ceph-ansible[1] feature we have a method to choose HCI and non-HCI ratio we need to make sure similarly we set the correct when the ceph clusters will be upgraded.

When the HCI cluster is being upgraded please set the correct value for autotune_memory_target_ratio as 0.2 during cephadm adopt and if the non-HCI cluster is being upgraded I hope the default is non-hci so it should be fine.

[1] https://github.com/ceph/ceph-ansible/pull/3113

Comment 16 errata-xmlrpc 2022-08-09 17:36:46 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 (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement 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-2022:5997


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