Bug 1878145 - ceph-mgr alerts module fails to send email: ALERTS_SMTP_ERROR
Summary: ceph-mgr alerts module fails to send email: ALERTS_SMTP_ERROR
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Mgr Plugins
Version: 4.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 4.2
Assignee: Neha Ojha
QA Contact: Pawan
Amrita
URL:
Whiteboard:
Depends On:
Blocks: 1890121
TreeView+ depends on / blocked
 
Reported: 2020-09-11 13:17 UTC by Pawan
Modified: 2023-12-15 19:21 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
.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.
Clone Of:
Environment:
Last Closed: 2021-01-12 14:57:01 UTC
Embargoed:


Attachments (Terms of Use)
ceph logs for alerts (925.03 KB, application/zip)
2020-09-11 13:17 UTC, Pawan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-8073 0 None None None 2023-12-15 19:21:40 UTC
Red Hat Product Errata RHSA-2021:0081 0 None None None 2021-01-12 14:57:34 UTC

Description Pawan 2020-09-11 13:17:30 UTC
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:

Comment 11 errata-xmlrpc 2021-01-12 14:57:01 UTC
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


Note You need to log in before you can comment on or make changes to this bug.