Bug 1115441 - [RHS-LOGGING]: Some of the log messages are not printing the log-level in the logs
Summary: [RHS-LOGGING]: Some of the log messages are not printing the log-level in th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: rhgs-3.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: RHGS 3.0.3
Assignee: Nithya Balachandran
QA Contact: shylesh
URL:
Whiteboard:
Depends On:
Blocks: 1116797 1162694
TreeView+ depends on / blocked
 
Reported: 2014-07-02 11:18 UTC by shylesh
Modified: 2015-05-13 17:41 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.6.0.32-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1116797 (view as bug list)
Environment:
Last Closed: 2015-01-15 13:38:19 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0038 0 normal SHIPPED_LIVE Red Hat Storage 3.0 enhancement and bug fix update #3 2015-01-15 18:35:28 UTC

Description shylesh 2014-07-02 11:18:02 UTC
Description of problem:
Some of the messages doesn't print the log-level like "W" etc in the logs

Version-Release number of selected component (if applicable):
3.6.0.22-1.el6rhs.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Created a distribute volume and was doing some operations like add-brick , rebalance, create some data on mount point 

2. Check the mount logs
 
Actual results:
[2014-07-02 05:11:19.094700] W [client-rpc-fops.c:679:client3_3_rmdir_cbk] 5-red-client-2: remote operation failed: Directory not empty


[2014-07-02 05:11:19.095245] W [client-rpc-fops.c:306:client3_3_mkdir_cbk] 5-red-client-1: remote operation failed: File exists. Path: /1/selinux/targeted/modules/active/modules

[2014-07-02 05:11:19.095310]  [MSGID: 109005] [dht-selfheal.c:574:dht_selfheal_dir_mkdir_cbk] 5-red-dht: Directory selfheal failed: path = /1/selinux/targeted/modules/active/modules, gfid = 00000000-0000-0000-0000-000000000000 [File exists]

[2014-07-02 05:11:19.095398] W [client-rpc-fops.c:306:client3_3_mkdir_cbk] 5-red-client-2: remote operation failed: File exists. Path: /1/selinux/targeted/modules/active/modules

[2014-07-02 05:11:42.287228] W [client-rpc-fops.c:679:client3_3_rmdir_cbk] 5-red-client-2: remote operation failed: Directory not empty


[2014-07-02 05:11:42.287762] W [client-rpc-fops.c:306:client3_3_mkdir_cbk] 5-red-client-1: remote operation failed: File exists. Path: /1/2/3/4/5/6/7/8/9/10/selinux/targeted/modules/active/modules


[2014-07-02 05:11:42.287823]  [MSGID: 109005] [dht-selfheal.c:574:dht_selfheal_dir_mkdir_cbk] 5-red-dht: Directory selfheal failed: path = /1/2/3/4/5/6/7/8/9/10/selinux/targeted/modules/active/modules, gfid = 00000000-0000-0000-0000-000000000000 [File exists]


[2014-07-02 05:11:42.287924] W [client-rpc-fops.c:306:client3_3_mkdir_cbk] 5-red-client-2: remote operation failed: File exists. Path: /1/2/3/4/5/6/7/8/9/10/selinux/targeted/modules/active/modules


[2014-07-02 05:11:19.095428]  [MSGID: 109005] [dht-selfheal.c:574:dht_selfheal_dir_mkdir_cbk] 5-red-dht: Directory selfheal failed: path = /1/selinux/targeted/modules/active/modules, gfid = 00000000-0000-0000-0000-000000000000 [File exists]

[2014-07-02 05:11:42.287955]  [MSGID: 109005] [dht-selfheal.c:574:dht_selfheal_dir_mkdir_cbk] 5-red-dht: Directory selfheal failed: path = /1/2/3/4/5/6/7/8/9/10/selinux/targeted/modules/active/modules, gfid = 00000000-0000-0000-0000-000000000000 [File exists]


[2014-07-02 05:17:23.223863] W [client-rpc-fops.c:679:client3_3_rmdir_cbk] 5-red-client-2: remote operation failed: Directory not empty

[2014-07-02 05:17:23.224356] W [client-rpc-fops.c:306:client3_3_mkdir_cbk] 5-red-client-1: remote operation failed: File exists. Path: /1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/selinux/targeted/modules/active/modules

[2014-07-02 05:17:23.224418]  [MSGID: 109005] [dht-selfheal.c:574:dht_selfheal_dir_mkdir_cbk] 5-red-dht: Directory selfheal failed: path = /1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/selinux/targeted/modules/active/modules, gfid = 00000000-0000-0000-0000-000000000000 [File exists]

[2014-07-02 05:17:23.224526] W [client-rpc-fops.c:306:client3_3_mkdir_cbk] 5-red-client-2: remote operation failed: File exists. Path: /1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/selinux/targeted/modules/active/modules

[2014-07-02 05:17:23.224559]  [MSGID: 109005] [dht-selfheal.c:574:dht_selfheal_dir_mkdir_cbk] 5-red-dht: Directory selfheal failed: path = /1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/selinux/targeted/modules/active/modules, gfid = 00000000-0000-0000-0000-000000000000 [File exists]




In the above logs , some of the lines are missing the log-levels.

Comment 5 Vivek Agarwal 2014-07-03 06:16:18 UTC
Pe discussion, Not a blocker for denali.

Comment 9 shylesh 2014-11-28 18:06:14 UTC
Verified on 3.6.0.34-1.el6rhs.x86_64

Now log-level is visible in the logs 


[2014-11-28 18:05:01.627090] W [MSGID: 109005] [dht-selfheal.c:1132:dht_selfheal_directory] 8-lenovo-dht: Directory selfheal failed: 1 subvolumes down.Not fixing. path 
= /dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/dir10/dir11/dir12/dir13/dir14/dir15/dir16/dir17/dir18/dir19/dir20/dir21/dir22/dir23/dir24/dir25/dir26/dir27/dir28/dir29/
dir30/dir31/dir32/dir33/dir34/dir35/dir36/dir37/dir38/dir39/dir40/dir41/dir42/dir43/dir44/dir45/dir46/dir47/dir48/dir49/dir50/dir51/dir52/dir53/dir54/dir55/dir56/dir57/
dir58/dir59/dir60/dir61/dir62/dir63/dir64/dir65/dir66/dir67/dir68/dir69/dir70/dir71/dir72/dir73/dir74/dir75/dir76/dir77/dir78/dir79/dir80/dir81/dir82/dir83/dir84/dir85/
dir86/dir87/dir88/dir89/dir90/dir91/dir92/dir93/dir94/dir95/dir96/dir97/dir98/dir99/dir100, gfid = 495f7200-cc51-4c67-b249-14eb067962d8

Comment 11 errata-xmlrpc 2015-01-15 13:38:19 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/RHBA-2015-0038.html


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