[Bugs] [Bug 1240607] New: [geo-rep]: UnboundLocalError: local variable 'fd' referenced before assignment

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 7 11:14:00 UTC 2015


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

            Bug ID: 1240607
           Summary: [geo-rep]: UnboundLocalError: local variable 'fd'
                    referenced before assignment
           Product: GlusterFS
           Version: 3.7.0
         Component: geo-replication
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: khiremat at redhat.com
                CC: aavati at redhat.com, avishwan at redhat.com,
                    bugs at gluster.org, csaba at redhat.com,
                    gluster-bugs at redhat.com, nlevinki at redhat.com,
                    nsathyan at redhat.com, rhinduja at redhat.com,
                    storage-qa-internal at redhat.com
        Depends On: 1232216, 1233411



+++ This bug was initially created as a clone of Bug #1233411 +++

+++ This bug was initially created as a clone of Bug #1232216 +++

Description of problem:
=======================

Happened to see the below traceback in the geo-rep log with the use of
meta_volume.

[2015-06-16 20:11:43.911356] I
[master(/bricks/brick1/master_brick2):528:crawlwrap] _GMaster: crawl interval:
1 seconds
[2015-06-16 20:11:43.912364] I
[master(/bricks/brick0/master_brick0):519:crawlwrap] _GMaster: primary master
with volume id a6de699b-83c5-4747-95a7-81c36f5d79c6 ...
[2015-06-16 20:11:43.917547] I
[master(/bricks/brick0/master_brick0):528:crawlwrap] _GMaster: crawl interval:
1 seconds
[2015-06-16 20:11:43.918723] I
[master(/bricks/brick1/master_brick2):455:mgmt_lock] _GMaster: Creating geo-rep
directory in meta volume...
[2015-06-16 20:11:43.923168] I
[master(/bricks/brick0/master_brick0):455:mgmt_lock] _GMaster: Creating geo-rep
directory in meta volume...
[2015-06-16 20:11:43.938770] E
[syncdutils(/bricks/brick0/master_brick0):276:log_raise_exception] <top>: FAIL: 
Traceback (most recent call last):
  File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 165, in main
    main_i()
  File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 659, in
main_i
    local.service_loop(*[r for r in [remote] if r])
  File "/usr/libexec/glusterfs/python/syncdaemon/resource.py", line 1438, in
service_loop
    g3.crawlwrap(oneshot=True)
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 531, in
crawlwrap
    crawl = self.should_crawl()
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 485, in
should_crawl
    return self.mgmt_lock()
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 469, in
mgmt_lock
    os.close(fd)
UnboundLocalError: local variable 'fd' referenced before assignment
[2015-06-16 20:11:43.941852] I
[syncdutils(/bricks/brick0/master_brick0):220:finalize] <top>: exiting.
[2015-06-16 20:11:43.945887] I [repce(agent):92:service_loop] RepceServer:
terminating on reaching EOF.
[2015-06-16 20:11:43.946471] I [syncdutils(agent):220:finalize] <top>: exiting.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1232216
[Bug 1232216] [geo-rep]: UnboundLocalError: local variable 'fd' referenced
before assignment
https://bugzilla.redhat.com/show_bug.cgi?id=1233411
[Bug 1233411] [geo-rep]: UnboundLocalError: local variable 'fd' referenced
before assignment
-- 
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