Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1501439 - [GSS][Tracker] glusterfs plugin logs Warning|Info|Error messages even when --log-level=ERROR
[GSS][Tracker] glusterfs plugin logs Warning|Info|Error messages even when -...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: kubernetes (Show other bugs)
3.0
Unspecified Unspecified
unspecified Severity medium
: ---
: CNS 3.10
Assigned To: Humble Chirammal
Neha Berry
:
Depends On: 1544451
Blocks: 1568861 1573420
  Show dependency treegraph
 
Reported: 2017-10-12 11:01 EDT by Nicolas Nosenzo
Modified: 2018-09-12 08:27 EDT (History)
20 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Even though glusterfs fuse client log level has been set to ERROR, due to an issue in glusterfs client, it logs Info|Warn|Error messages regardless of the log level value set in the client process. This issue has been fixed with latest glusterfs client release.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-12 08:27:13 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3486791 None None None 2018-06-18 14:52 EDT
Red Hat Product Errata RHEA-2018:2697 None None None 2018-09-12 08:27 EDT

  None (edit)
Description Nicolas Nosenzo 2017-10-12 11:01:54 EDT
Description of problem:
I have configured a glusterfs volumes in OCP. The plugin clients are running with the following parameters:

[root@ocplab ~]# ps -ef | grep gluster
root       3185      1  0 10:41 ?        00:00:00 /usr/sbin/glusterfs --log-level=ERROR --log-file=/var/lib/origin/openshift.local.volumes/plugins/kubernetes.io/glusterfs/pvc-6740a83a-8e42-11e7-84b7-2cc26032ab56/gluster-pod1-glusterfs.log --volfile-server=10.0.2.14 --volfile-id=vol_4819b368e1daa9bf79068e0728938780 /var/lib/origin/openshift.local.volumes/pods/82041e51-8e43-11e7-84b7-2cc26032ab56/volumes/kubernetes.io~glusterfs/pvc-6740a83a-8e42-11e7-84b7-2cc26032ab56
root       3587      1  0 10:41 ?        00:00:00 /usr/sbin/glusterfs --log-level=ERROR --log-file=/var/lib/origin/openshift.local.volumes/plugins/kubernetes.io/glusterfs/gluster-pv/gluster-pod1-glusterfs.log --volfile-server=10.0.2.15 --volfile-id=/HadoopVol /var/lib/origin/openshift.local.volumes/pods/6ec2f4f3-88bb-11e7-b38f-2cc26032ab56/volumes/kubernetes.io~glusterfs/gluster-pv
root       4814   2615  0 10:44 pts/0    00:00:00 grep --color=auto gluster
[root@ocplab ~]# 

As you can see, all glusterfs clients run with --log-level=ERROR. Even though, within the log we can see Info and Warn messages also:

[root@ocplab ~]# grep " I " /var/lib/origin/openshift.local.volumes/plugins/kubernetes.io/glusterfs/pvc-6740a83a-8e42-11e7-84b7-2cc26032ab56/gluster-pod1-glusterfs.log | wc -l
144
[root@ocplab ~]# grep " W " /var/lib/origin/openshift.local.volumes/plugins/kubernetes.io/glusterfs/pvc-6740a83a-8e42-11e7-84b7-2cc26032ab56/gluster-pod1-glusterfs.log | wc -l
18
[root@ocplab ~]# grep " E " /var/lib/origin/openshift.local.volumes/plugins/kubernetes.io/glusterfs/pvc-6740a83a-8e42-11e7-84b7-2cc26032ab56/gluster-pod1-glusterfs.log | wc -l
2
[root@ocplab ~]#

Version-Release number of selected component (if applicable):
OCP 3.6
# rpm -qa | grep gluster
glusterfs-client-xlators-3.7.9-12.el7.x86_64
glusterfs-libs-3.7.9-12.el7.x86_64
glusterfs-3.7.9-12.el7.x86_64
glusterfs-fuse-3.7.9-12.el7.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Install OCP
2. Configure glusterFS plugin


Actual results:

Glusterfs client logs Info|Warn|Error messages no matter which --log-level it runs with.
It eventually causes that the /var FS run out of space.
Expected results:


Additional info:
Comment 16 Humble Chirammal 2018-07-02 23:42:35 EDT
As an additional info there is also a KCS getting published to mitigate/workaround the issue we are seeing with this bug report.
Comment 22 Michael Adam 2018-08-23 01:18:24 EDT
Should be fixed in the latest RHGS gluster client update.
Comment 25 Anjana 2018-09-07 13:32:05 EDT
Updated the Doc Text field. kindly review
Comment 26 John Mulligan 2018-09-07 15:13:19 EDT
Doc Text looks OK
Comment 28 errata-xmlrpc 2018-09-12 08:27:13 EDT
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, 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/RHEA-2018:2697

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