Bug 1849894 - [GSS] ceph-mgr alerts module fails on setting interval
Summary: [GSS] ceph-mgr alerts module fails on setting interval
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
medium
high
Target Milestone: z2
: 4.1
Assignee: Neha Ojha
QA Contact: Pawan
Aron Gunn
URL:
Whiteboard:
Depends On:
Blocks: 1816167
TreeView+ depends on / blocked
 
Reported: 2020-06-23 06:51 UTC by Karun Josy
Modified: 2023-10-06 20:46 UTC (History)
9 users (show)

Fixed In Version: ceph-14.2.8-100.el8cp, ceph-14.2.8-100.el7cp
Doc Type: Bug Fix
Doc Text:
.Ceph Manager crashes when setting the alerts interval There was a code bug in the alerts module for Ceph Manager, which was causing the Ceph Manager to crash. With this release, this code bug was fixed, and you can set the alerts interval without the Ceph Manager crashing.
Clone Of:
Environment:
Last Closed: 2020-09-30 17:25:42 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 45228 0 None None None 2020-07-08 21:52:54 UTC
Github ceph ceph pull 36104 0 None closed nautilus: mgr/alert: can't set inventory_cache_timeout/service_cache_timeout from CLI 2021-02-18 13:25:38 UTC
Red Hat Knowledge Base (Solution) 5353531 0 None None None 2020-08-27 06:19:03 UTC
Red Hat Product Errata RHBA-2020:4144 0 None None None 2020-09-30 17:26:08 UTC

Description Karun Josy 2020-06-23 06:51:21 UTC
* Description of problem:

Followed the upstream document [1] to configure and enable alert module.
But when trying to send, it fails with error :
---
# ceph alerts send
Error EIO: Module 'alerts' has experienced an error and cannot handle commands: %d format: a number is required, not str
---

[1] https://docs.ceph.com/docs/master/mgr/alerts/

* Version-Release number of selected component (if applicable):
ceph version 14.2.8-59.el8cp

* How reproducible:
Always

* Steps to Reproduce:
Configure and enable alerts module :
# ceph config set mgr mgr/alerts/interval 5
# ceph mgr module enable alerts
# ceph alerts send


* Actual results:
Cannot send email alerts

* Expected results:
alerts send should work

Comment 15 errata-xmlrpc 2020-09-30 17:25:42 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 (Red Hat Ceph Storage 4.1 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/RHBA-2020:4144


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