Bug 2107849

Summary: [cephadm] Setting osd_memory_target with osd/host does not succeed
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Adam King <adking>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact: Eliska <ekristov>
Priority: unspecified    
Version: 6.0CC: cephqe-warriors, ekristov, kdreyer, msaini, vereddy
Target Milestone: ---   
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.3-12.el9cp Doc Type: Bug Fix
Doc Text:
.`cephadm` no longer removes `osd_memory_target` config settings at host level Previously, if `osd_memory_target_autotune` was turned off globally, `cephadm` would remove the values that the user set for `osd_memory_target` at the host level. Additionally, for hosts with FQDN name, even though the crush map uses a short name, `cephadm` would still set the configuration option using the FQDN. Due to this, users could not manually set `osd_memory_target` at the host level and `osd_memory_target` auto tuning would not work with FQDN hosts. With this fix, the `osd_memory_target` config settings is not removed from `cephadm` at the host level if `osd_memory_target_autotune` is set to `false`. It also always uses a short name for hosts when setting host level `osd_memory_target`. If at the host level `osd_memory_target_autotune` is set to `false`, users can manually set the `osd_memory_target` and have the options not be removed by `cephadm`. Additionally, autotuning should now work with hosts added to `cephadm` with FQDN names.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 18:57:08 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:    
Bug Blocks: 2126050    

Comment 1 RHEL Program Management 2022-07-16 19:39:01 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 15 errata-xmlrpc 2023-03-20 18:57:08 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 (Red Hat Ceph Storage 6.0 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/RHBA-2023:1360