[Bugs] [Bug 1374630] [geo-replication]: geo-rep Status is not showing bricks from one of the nodes

bugzilla at redhat.com bugzilla at redhat.com
Thu Sep 15 06:48:04 UTC 2016


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15446 committed in release-3.9 by Aravinda VK
(avishwan at redhat.com) 
------
commit bb80a6be93236e5a7cb86abfd80fb57509599089
Author: Aravinda VK <avishwan at redhat.com>
Date:   Wed Sep 7 11:39:39 2016 +0530

    geo-rep: Fix Geo-rep status if monitor.pid file not exists

    If monitor.pid file not exists, gsyncd fails with following traceback

    Traceback (most recent call last):
      File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py",
      line 201, in main
        main_i()
      File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py",
      line 681, in main_i
        brick_status.print_status(checkpoint_time=checkpoint_time)
      File "/usr/libexec/glusterfs/python/syncdaemon/gsyncdstatus.py",
      line 343, in print_status
        for key, value in self.get_status(checkpoint_time).items():
      File "/usr/libexec/glusterfs/python/syncdaemon/gsyncdstatus.py",
      line 262, in get_status
        with open(self.monitor_pid_file, "r+") as f:
    IOError: [Errno 2] No such file or directory: '/var/lib/glusterd/
      geo-replication/master_node_slave/monitor.pid'

    If Georep status command this worker's status will not be displayed
    since not returning expected status output.

    > Reviewed-on: http://review.gluster.org/15416
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Kotresh HR <khiremat at redhat.com>

    BUG: 1374630
    Change-Id: I600a2f5d9617f993d635b9bc6e393108500db5f9
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    (cherry picked from commit c7118a92f52a2fa33ab69f3e3ef1bdabfee847cf)
    Reviewed-on: http://review.gluster.org/15446
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Saravanakumar Arumugam <sarumuga at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=BZ65ihG5Nn&a=cc_unsubscribe


More information about the Bugs mailing list