Bug 1319261

Summary: Calamari messages spammed admin01 salt-minion: {'jid': '12345678910111213', 'return': None, 'success': True, 'pid': 39743, 'fun': 'ceph.heartbeat', 'id': 'admin01'}
Product: Red Hat Ceph Storage Reporter: Mike Hackett <mhackett>
Component: CalamariAssignee: Boris Ranto <branto>
Calamari sub component: Minions QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Status: CLOSED WONTFIX Docs Contact:
Severity: low    
Priority: low CC: anharris, ceph-eng-bugs, kdreyer, nlevine
Version: 1.3.2   
Target Milestone: rc   
Target Release: 1.3.4   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-20 21:00:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.