Bug 2123609

Summary: [Cephadm] [RFE] [OS Tuning Profiles ] Cephadm not returning any error/warning while applying invalid and missing data in YAML spec file.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mohit Bisht <mobisht>
Component: CephadmAssignee: Redouane Kachach Elhichou <rkachach>
Status: CLOSED ERRATA QA Contact: Mohit Bisht <mobisht>
Severity: high Docs Contact: Eliska <ekristov>
Priority: unspecified    
Version: 6.0CC: adking, cephqe-warriors, ekristov, rkachach, sostapov, vdas
Target Milestone: ---Keywords: FutureFeature
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.3-35.el9cp Doc Type: Bug Fix
Doc Text:
.Proper errors are raised if invalid `tuned-profile` specification is detected by `cephadm` Previously, `cephadm` would not validate YAML specification for `tuned-profile` and consequently did not return any error or warning while applying invalid and missing data in invalid `tuned-profile` specification. With this fix, several checks are added to validate the `tuned-profile` specifications. Proper errors are now raised when invalid `tuned-profile` specification is detected by `cephadm`: * Invalid tunable is mentioned under “settings” in YAML specification. * “settings” section in YAML specification is empty. * Invalid placement is detected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 18:58:05 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 7 Redouane Kachach Elhichou 2022-09-19 10:53:44 UTC
doc text updated accordingly

Comment 12 Redouane Kachach Elhichou 2022-09-28 11:54:14 UTC
Hello Eliska,

Doc text looks good to me

Thanks,
Redouane.

Comment 22 errata-xmlrpc 2023-03-20 18:58:05 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