Actions
Bug #57191
closed[cephadm] os tuned profile setting names are not validated from cephadm side
Status:
Resolved
Priority:
Normal
Assignee:
Category:
cephadm
Target version:
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
By setting wrong setting name which is not exist in sysctl option,
still cephadm tuned-profile apply command executed successfully
It should throw an error for the wrong setting name.
Tested in
ceph version 17.0.0-14295-g042ca579 (042ca579c2e4fece1853503d982b6afc0a0478dc) quincy (dev)
[ceph: root@magna086 /]# cat test-os-profile.yaml
profile_name: test-os-profile
placement:
hosts:
- magna086
- magna087
settings:
fs.file-max: 1000000
vm.swappiness: '30'
fs.aio-max-nr: 1048576
kernel.threads-max: 35511
wrong.dummy: 100
[ceph: root@magna086 /]# ceph orch tuned-profile apply -i test-os-profile.yaml
Saved tuned profile test-os-profile
wrong.dummy is not a valid os setting-name but ceph orch saved that profile.
Actions