-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mgr/cephadm: fix issue with missing prometheus alerts
Files passed as configuration to the cephadm binary had not been created and mapped to the container, if those files weren't included in the required files section inside cephadm. This prevented optional file includes in the configuration. The configuration file for the Prometheus default alerts is not mandatory and hence wasn't included in the required files section, still it needs to be added to the container by cephadm. This change enables optional files to be included in the configuration for monitoring components, so that those files are created and mapped within the container. Note that a `required_files` variable has been removed at one position in these changes, though it wasn't used to ensure that required files were included in the configuration at that point anyway. The test which ensures that all required files are passed is somewhere else. Fixes: https://tracker.ceph.com/issues/49856 Signed-off-by: Patrick Seidensal <[email protected]>
- Loading branch information
Showing
2 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters