Actions
Bug #57405
closedcephadm: tuned-profiles with dashes in name are automatically removed.
% Done:
0%
Source:
Tags:
backport_processed
Backport:
quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Description
cephadm checks the name of the profiles on the host to see if they match what should be there via
for file in found_files: if '-cephadm-tuned-profile.conf' not in file: continue if not any(file.split('-')[0] in p.keys() for p in profiles): logger.info(f'Removing stray tuned profile file {file}')
the idea was since we always add "-cephadm-tuned-profile.conf" to the name we could split on the dashes to get the actual profile name, but this fails terribly if the names have dashes in them and we end up not properly matching the name and the profile is removed.
Actions