Bug 1319261 - Calamari messages spammed admin01 salt-minion: {'jid': '12345678910111213', 'return': None, 'success': True, 'pid': 39743, 'fun': 'ceph.heartbeat', 'id': 'admin01'}
Summary: Calamari messages spammed admin01 salt-minion: {'jid': '12345678910111213', '...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Calamari
Version: 1.3.2
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: rc
: 1.3.4
Assignee: Boris Ranto
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-18 16:20 UTC by Mike Hackett
Modified: 2019-12-16 05:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-20 21:00:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Mike Hackett 2016-03-18 16:20:54 UTC
Description of problem:

Every 10 seconds Salt Minion logs the following event into /var/log/messages filling the log:

admin01 salt-minion: {'jid': '12345678910111213', 'return': None, 'success': True, 'pid': 39743, 'fun': 'ceph.heartbeat', 'id': 'admin01

It seems salt-minion writes this to stdout/stderr (and systemd puts it in /var/log/messages).

Can this heartbeat be relocated to /var/log/salt/minion directory to prevent spamming the /var/log/messages?

[root@admin01 salt]# rpm -qa|grep salt
salt-master-2014.1.5-3.el7cp.noarch
salt-minion-2014.1.5-3.el7cp.noarch
salt-2014.1.5-3.el7cp.noarch

Version-Release number of selected component (if applicable):
Red Hat Ceph 1.3.1 and 1.3.2
salt-2014.1.5-3.el7cp.noarch

Comment 4 Christina Meno 2016-04-08 17:48:53 UTC
We should be able to tweak it by changing either the location of log_file or at least setting log_level up from warning

https://docs.saltstack.com/en/latest/ref/configuration/minion.html#minion-logging-settings

Comment 5 Ken Dreyer (Red Hat) 2016-08-02 16:36:46 UTC
Patch not available yet, re-targeting to 1.3.4.


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