Bug 980043 - quota: regex in logging message
Summary: quota: regex in logging message
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: 2.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: RHGS 3.1.0
Assignee: Vijaikumar Mallikarjuna
QA Contact: Anil Shah
URL:
Whiteboard:
Depends On:
Blocks: 1202842 1212787 1223636
TreeView+ depends on / blocked
 
Reported: 2013-07-01 09:57 UTC by Saurabh
Modified: 2016-09-17 12:39 UTC (History)
9 users (show)

Fixed In Version: gluster-3.7.0-2.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1197585 1212787 (view as bug list)
Environment:
Last Closed: 2015-07-29 04:28:16 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Description Saurabh 2013-07-01 09:57:50 UTC
Description of problem:
in quotad.log,

there is some regex being mentioned as the "I" message
[2013-07-01 02:21:40.071912] I [glusterfsd-mgmt.c:56:mgmt_cbk_spec] 0-mgmt: Volume file changed
[2013-07-01 02:21:40.171843] I [glusterfsd-mgmt.c:56:mgmt_cbk_spec] 0-mgmt: Volume file changed
[2013-07-01 02:21:40.183172] I [dht-shared.c:311:dht_init_regex] 0-dist-rep: using regex rsync-hash-regex = ^\.(.+)\.[^.]+$
[2013-07-01 02:21:40.183403] I [glusterfsd-mgmt.c:1544:mgmt_getspec_cbk] 0-glusterfs: No change in volfile, continuing


Please remove this kind of message

Version-Release number of selected component (if applicable):
[root@quota1 ~]# rpm -qa | grep glusterfs
glusterfs-geo-replication-3.4.0.12rhs.beta1-1.el6rhs.x86_64
glusterfs-3.4.0.12rhs.beta1-1.el6rhs.x86_64
glusterfs-server-3.4.0.12rhs.beta1-1.el6rhs.x86_64
glusterfs-rdma-3.4.0.12rhs.beta1-1.el6rhs.x86_64
glusterfs-fuse-3.4.0.12rhs.beta1-1.el6rhs.x86_64


How reproducible:
seen in the present build

Comment 3 Vivek Agarwal 2013-10-17 09:56:47 UTC
Per bug triage, removing from the u1 list

Comment 4 Amar Tumballi 2013-10-25 08:33:02 UTC
diff --git a/xlators/cluster/dht/src/dht-shared.c b/xlators/cluster/dht/src/dht-
index 70aac77..0ee8177 100644
--- a/xlators/cluster/dht/src/dht-shared.c
+++ b/xlators/cluster/dht/src/dht-shared.c
@@ -307,7 +307,7 @@ dht_init_regex (xlator_t *this, dict_t *odict, char *name,
         }
 
         if (regcomp(re,temp_str,REG_EXTENDED) == 0) {
-                gf_log (this->name, GF_LOG_INFO,
+                gf_log (this->name, GF_LOG_DEBUG,
                         "using regex %s = %s", name, temp_str);
                 *re_valid = _gf_true;
         }

--------

should fix the issue here. But still not sure if removing this log from INFO level is fine for update1 release.

Comment 5 Vijaikumar Mallikarjuna 2015-03-02 07:45:08 UTC
Upstream patch: http://review.gluster.org/#/c/9777/

Comment 7 Anil Shah 2015-06-02 10:13:52 UTC
quota-mount-vol0.log


[2015-06-02 08:54:55.736783] D [quick-read.c:820:check_cache_size_ok] 0-vol0-quick-read: Max cache size is 16694030336
[2015-06-02 08:54:55.736928] D [io-cache.c:1624:check_cache_size_ok] 0-vol0-io-cache: Max cache size is 16694030336
[2015-06-02 08:54:55.737263] D [dht-shared.c:363:dht_init_regex] 0-vol0-dht: using regex rsync-hash-regex = ^\.(.+)\.[^.]+$
[2015-06-02 08:54:55.746950] D [client.c:2371:client_init_grace_timer] 0-vol0-client-3: lk-heal = off

Bug verified successfully on glusterfs 3.7.0 built
Hence marking this bugs as verified.

Comment 9 errata-xmlrpc 2015-07-29 04:28:16 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, 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://rhn.redhat.com/errata/RHSA-2015-1495.html


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