[Bugs] [Bug 1167734] New: Enhancement: command that failed with cli-timeout should be logged in CMD_LOG_HISTORY file

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 25 10:31:41 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1167734

            Bug ID: 1167734
           Summary: Enhancement: command that failed with cli-timeout
                    should be logged in CMD_LOG_HISTORY file
           Product: GlusterFS
           Version: mainline
         Component: glusterd
          Severity: low
          Assignee: bugs at gluster.org
          Reporter: sasundar at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:
-----------------------
As of today, when the cli timesout for a gluster command, the error message -
"Error: Request timed out". But this corresponding error message was not
available in /var/log/glusterfs/.cmd_log_history file.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
mainline

How reproducible:
-----------------
NA as this is a enhancement requirement

Steps to Reproduce:
-------------------
1. Simulate a cli timeout for a command, by blocking another glusterd in gdb or
using iptables
2. Execute 'gluster volume status' or any other command that operates
cluster-wide
3. Once the cli times out, check for error message in
/var/log/glusterfs/.cmd_log_history

Actual results:
----------------
There is no corresponding cli-timed out error message available in
/var/log/glusterfs/cmd_log_history


Expected results:
----------------
cli-timeout error message when available in cmd_log_history would help a lot in
debugging


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list