Bug 1020860 - Traceback detected in console while terminating "watch gluster volume heal <vol-name> info" with "Ctrl+c".
Traceback detected in console while terminating "watch gluster volume heal <v...
Status: CLOSED EOL
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: geo-replication (Show other bugs)
2.1
Unspecified Unspecified
low Severity unspecified
: ---
: ---
Assigned To: Bug Updates Notification Mailing List
Matt Zywusko
usability
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-18 07:50 EDT by Gowrishankar Rajaiyan
Modified: 2015-11-25 03:50 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-25 03:48:38 EST
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)

  None (edit)
Description Gowrishankar Rajaiyan 2013-10-18 07:50:10 EDT
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:
Comment 4 Aravinda VK 2015-11-25 03:48:38 EST
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.
Comment 5 Aravinda VK 2015-11-25 03:50:36 EST
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.

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