Description of problem: It is common practice to use "watch" cli to monitor the output of any command. I used "watch" command with "gluster volume heal <volume-name> info" and to terminate used "CTRL+c". This shall be more relevant to rolling upgrade scenario, since a user needs to continuously watch the output of heal info. The expected behavior was that I should get a prompt without any error, however, I see traceback from gsyncd.py as reported below. This is not consistent and happens randomly. Version-Release number of selected component (if applicable): glusterfs-server-3.4.0.33rhs-1.el6rhs.x86_64 How reproducible: Randomly. Steps to Reproduce: 1. watch gluster volume heal new-files info 2. CTRL+c to exit Actual results: [root@ninja-rhs1 ~]# watch gluster volume heal new-files info [root@ninja-rhs1 ~]# [2013-10-18 17:08:24.370045] E [syncdutils:207:log_raise_exception] <top>: FAIL: Traceback (most recent call last): File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 133, in main main_i() File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 185, in main_i op.add_option('--local-id', metavar='ID', help=SUPPRESS_HELP, default='') File "/usr/lib64/python2.6/optparse.py", line 1011, in add_option if type(args[0]) in types.StringTypes: KeyboardInterrupt failed with KeyboardInterrupt. watch gluster volume ^C [root@ninja-rhs1 ~]# [root@ninja-rhs1 ~]# watch gluster volume heal new-files info Traceback (most recent call last): File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 21, in <module> from syncdutils import FreeObject, norm, grabpidfile, finalize, log_raise_exception File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line 25, in <module> from urllib import parse as urllib File "/usr/lib64/python2.6/urllib.py", line 30, in <module> [root@ninja-rhs1 ~]# from urlparse import urljoin as basejoin File "/usr/lib64/python2.6/urlparse.py", line 115, in <module> class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin): File "/usr/lib64/python2.6/collections.py", line 87, in namedtuple return tuple(self) \n\n''' % locals() KeyboardInterrupt [root@ninja-rhs1 ~]# Expected results: Traceback should not be displayed. Additional info:
Closing this bug since RHGS 2.1 release reached EOL. Required bugs are cloned to RHGS 3.1. Please re-open this issue if found again.