.The alerts module of Ceph manager works as expected with no health warnings
Previously, Ceph manager would override some module specific config options with default values resulting in the failure of the module with `ALERTS_SMTP_ERROR unable to send alert email` as it continued to use the default value `smtp_ssl=true`. With this release, the default value handling of the Ceph manager is fixed and the alerts module works as expected with no health warnings.
Created attachment 1714560[details]
ceph logs for alerts
Description of problem:
ceph-mgr alerts module fails to send email: ALERTS_SMTP_ERROR unable to send alert email
Command ceph -s shows health warning:
# ceph -s
cluster:
id: d14fc394-17bb-4694-99b2-49adc67bed4e
health: HEALTH_WARN
unable to send alert email
Version-Release number of selected component (if applicable):
ceph version 14.2.8-107.el7cp
How reproducible:
Steps to Reproduce:
Configure and enable alerts module :
# ceph config set mgr mgr/alerts/interval 5
# ceph mgr module enable alerts
# ceph alerts send
# ceph -s
Actual results:
email alerts are not being sent
Expected results:
Email alerts should be sent successfully
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: Red Hat Ceph Storage 4.2 Security and Bug Fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2021:0081
Created attachment 1714560 [details] ceph logs for alerts Description of problem: ceph-mgr alerts module fails to send email: ALERTS_SMTP_ERROR unable to send alert email Command ceph -s shows health warning: # ceph -s cluster: id: d14fc394-17bb-4694-99b2-49adc67bed4e health: HEALTH_WARN unable to send alert email Version-Release number of selected component (if applicable): ceph version 14.2.8-107.el7cp How reproducible: Steps to Reproduce: Configure and enable alerts module : # ceph config set mgr mgr/alerts/interval 5 # ceph mgr module enable alerts # ceph alerts send # ceph -s Actual results: email alerts are not being sent Expected results: Email alerts should be sent successfully Additional info: