Bug #57192
closed[cephadm] os tuned profile placement hosts are not validated
0%
Description
By setting wrong hostname name which is not a part of ceph cluster,
still cephadm tuned-profile apply command executed successfully
It should throw an error for the wrong host 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
- magna083
settings:
fs.file-max: 1000000
vm.swappiness: '30'
fs.aio-max-nr: 1048576
kernel.threads-max: 35511
wrong.dummy: 100
---
In the above magna083 is not part of ceph cluster but orch apply executed successfully.
[ceph: root@magna086 /]# ceph orch tuned-profile apply -i test-os-profile.yaml
Saved tuned profile test-os-profile
It should validate host name which are part of ceph cluster and able to communicate it's OS.
Updated by Redouane Kachach Elhichou over 1 year ago
- Status changed from New to Fix Under Review
- Assignee set to Redouane Kachach Elhichou
- Pull request ID set to 47786
Updated by Adam King over 1 year ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to quincy
Updated by Backport Bot over 1 year ago
- Copied to Backport #57524: quincy: [cephadm] os tuned profile placement hosts are not validated added
Updated by Adam King over 1 year ago
- Status changed from Pending Backport to Resolved