Bug 2213873 - [cee/sd][cephadm] osd_memory_target_autotune feature is not applying the tuned memory target.
Summary: [cee/sd][cephadm] osd_memory_target_autotune feature is not applying the tune...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 5.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 6.1z3
Assignee: Adam Kupczyk
QA Contact: Harsh Kumar
Disha Walvekar
URL:
Whiteboard:
Depends On:
Blocks: 2247624
TreeView+ depends on / blocked
 
Reported: 2023-06-09 17:25 UTC by Milind
Modified: 2024-03-22 04:11 UTC (History)
16 users (show)

Fixed In Version: ceph-17.2.6-160.el9cp
Doc Type: Bug Fix
Doc Text:
Cause: The osd_memory_target_autotune option when enabled applies the memory target at the host level. This is done by using host mask when auto-tuning the memory. But the code that applies the memory target did not determine the correct crush location of the parent host for the change to be propagated to the OSD(s) of the host. Consequence: Since the correct crush location of the OSDs parent (host) is not determined using the host mask, none of the OSDs hosted by the machine get notified via the config observer. This resulted in the osd_memory_target to remain unchanged for those set of OSDs. Fix: The fix involves determining the correct crush location of the OSDs parent (host) based on the host mask. This allows the change to propagate to the OSDs on the host. Result: After applying the fix, all the OSDs hosted by the machine get notified whenever the auto-tuner applies a new osd_memory_target and the change is reflected accordingly.
Clone Of:
Environment:
Last Closed: 2023-12-12 13:55:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 52088 0 None open mon/ConfigMonitor: update crush_location from osd entity 2023-07-12 14:20:43 UTC
Github ceph ceph pull 52467 0 None open quincy: mon/ConfigMonitor: update crush_location from osd entity 2023-09-06 15:50:19 UTC
Github ceph ceph pull 52468 0 None open pacific: mon/ConfigMonitor: update crush_location from osd entity 2023-07-28 16:59:36 UTC
Red Hat Issue Tracker RHCEPH-6814 0 None None None 2023-06-09 17:28:46 UTC
Red Hat Product Errata RHSA-2023:7740 0 None None None 2023-12-12 13:55:44 UTC

Internal Links: 2244604

Description Milind 2023-06-09 17:25:09 UTC
Description of problem:

Setting the osd_memory_target_autotune to true does show the tuned memory target in the cephadm logs, but actually not applying on the OSDs.

Version-Release number of selected component (if applicable):
RHCS 5.3z3

Actual results:
The autotuned memory target is not setting on the OSD node

Expected results:
The autotuned memory target should set on the OSD node

Comment 31 Scott Ostapovicz 2023-07-12 12:34:52 UTC
Missed the 6.1 z1 window.  Retargeting to 6.1 z2.

Comment 53 errata-xmlrpc 2023-12-12 13:55:39 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 6.1 security, enhancements, 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-2023:7740


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