Bug 1973155

Summary: Enable autotune for osd_memory_target
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vikhyat Umrao <vumrao>
Component: CephadmAssignee: Melissa Li <mingkli>
Status: CLOSED ERRATA QA Contact: Sunil Kumar Nagaraju <sunnagar>
Severity: high Docs Contact: Ranjini M N <rmandyam>
Priority: unspecified    
Version: 5.0CC: adking, epuertat, gsitlani, nojha, rmandyam, sunnagar, tserlin, vereddy, vimishra
Target Milestone: ---Flags: sunnagar: needinfo-
sunnagar: needinfo-
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.7-67.el8cp Doc Type: Enhancement
Doc Text:
.`cephadm` enables automated adjustment of `osd_memory_target` by default With this release, `cephadm` enables automated adjustment of `osd_memory_target` by default.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-04 10:21:12 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: 2003776    
Bug Blocks: 2031073    

Description Vikhyat Umrao 2021-06-17 10:48:38 UTC
Description of problem:

Enable autotune for osd_memory_target

cephadm brings the support for osd_memory_target with the help of this bug - https://bugzilla.redhat.com/show_bug.cgi?id=1939354 but in RHCS5 we have the autotune feature disabled. This bug will bring the support for autotune of osd_memory_target!

Comment 2 Vikhyat Umrao 2021-09-22 15:14:43 UTC
Moving to 5.0.z2 because of this bug https://bugzilla.redhat.com/show_bug.cgi?id=2003776

Comment 3 Vikhyat Umrao 2021-10-06 15:40:18 UTC
(In reply to Vikhyat Umrao from comment #2)
> Moving to 5.0.z2 because of this bug
> https://bugzilla.redhat.com/show_bug.cgi?id=2003776

Bug 2003776 is verified now in 5.0.z1 and `autotune` works perfectly fine in 5.0.z1.

Comment 6 Sebastian Wagner 2021-11-04 15:51:21 UTC
Upstream probably does not want to enable this by default, as autotune expects to have the hardware exclusively used by Ceph, which is not a safe default for upstream.

https://github.com/ceph/ceph/pull/43807

Comment 14 Sebastian Wagner 2021-11-26 12:45:57 UTC
Created a clone for the doc-only solution for 5.1

Comment 17 Sebastian Wagner 2021-12-03 10:42:11 UTC
There is no particular action required from OSP. See https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/cephadm.html#scenario-deploy-hyperconverged-ceph

Comment 24 Sebastian Wagner 2022-01-18 12:42:08 UTC
backport pr https://github.com/ceph/ceph/pull/44633

Comment 34 errata-xmlrpc 2022-04-04 10:21:12 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 5.1 Security, Enhancement, 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-2022:1174