Project

General

Profile

Bug #57192

[cephadm] os tuned profile placement hosts are not validated

Added by Sunil Angadi over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
Target version:
% Done:

0%

Source:
Q/A
Tags:
backport_processed
Backport:
quincy
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.


Related issues

Copied to Orchestrator - Backport #57524: quincy: [cephadm] os tuned profile placement hosts are not validated Resolved

History

#1 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

#2 Updated by Adam King over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to quincy

#3 Updated by Backport Bot over 1 year ago

  • Copied to Backport #57524: quincy: [cephadm] os tuned profile placement hosts are not validated added

#4 Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed

#5 Updated by Adam King over 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF