[Bugs] [Bug 1218585] New: [Snapshot] Snapshot scheduler show status disable even when it is enabled

bugzilla at redhat.com bugzilla at redhat.com
Tue May 5 10:06:27 UTC 2015


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

            Bug ID: 1218585
           Summary: [Snapshot] Snapshot scheduler show status disable even
                    when it is enabled
           Product: GlusterFS
           Version: 3.7.0
         Component: snapshot
          Severity: urgent
          Assignee: bugs at gluster.org
          Reporter: rjoseph at redhat.com
                CC: asengupt at redhat.com, ashah at redhat.com,
                    bugs at gluster.org, gluster-bugs at redhat.com
        Depends On: 1216931
            Blocks: 1186580 (qe_tracker_everglades)



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

Description of problem:

Once you enable snapshot scheduler on RHEL 7.1 , and check scheduler status is
show status display.

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

[root at localhost ~]# rpm -qa | grep glusterfs
glusterfs-debuginfo-3.7.0alpha0-0.9.git989bea3.el7.centos.x86_64
glusterfs-cli-3.7.0alpha0-0.17.gited96153.el7.centos.x86_64
glusterfs-api-3.7.0alpha0-0.17.gited96153.el7.centos.x86_64
glusterfs-server-3.7.0alpha0-0.17.gited96153.el7.centos.x86_64
glusterfs-devel-3.7.0alpha0-0.17.gited96153.el7.centos.x86_64
glusterfs-libs-3.7.0alpha0-0.17.gited96153.el7.centos.x86_64
glusterfs-fuse-3.7.0alpha0-0.17.gited96153.el7.centos.x86_64
glusterfs-3.7.0alpha0-0.17.gited96153.el7.centos.x86_64
glusterfs-extra-xlators-3.7.0alpha0-0.17.gited96153.el7.centos.x86_64
glusterfs-geo-replication-3.7.0alpha0-0.17.gited96153.el7.centos.x86_64


How reproducible:

100%

Steps to Reproduce:
1. Initialize snapshot scheduler on each storage Node. snap_scheduler.py init
2. Enable scheduler on each storage Node. e.g snap_scheduler.py enable
3. Check the scheduler status on any once of the storage Node.  e.g
snap_scheduler.py status

Actual results:


[root at localhost ~]# snap_scheduler.py status
snap_scheduler: Snapshot scheduling status: Disabled


Expected results:

Scheduler status should be enable 

Additional info:

[root at localhost ~]# gluster v info testvol

Volume Name: testvol
Type: Distributed-Replicate
Volume ID: 387abce2-3792-4a3b-bb02-ad7c35c40b1a
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.47.143:/rhs/brick1/b1
Brick2: 10.70.47.145:/rhs/brick1/b2
Brick3: 10.70.47.143:/rhs/brick2/b3
Brick4: 10.70.47.145:/rhs/brick2/b4
Options Reconfigured:
features.uss: enable
features.quota-deem-statfs: on
features.quota: on
features.barrier: disable

--- Additional comment from Anand Avati on 2015-04-30 04:46:42 EDT ---

REVIEW: http://review.gluster.org/10464 (snapshot/scheduler: Use
os.path.realpath() for path validation) posted (#1) for review on master by
Avra Sengupta (asengupt at redhat.com)

--- Additional comment from Anand Avati on 2015-05-04 08:32:56 EDT ---

REVIEW: http://review.gluster.org/10464 (snapshot/scheduler: Use
os.path.realpath() for path validation) posted (#2) for review on master by
Avra Sengupta (asengupt at redhat.com)

--- Additional comment from Anand Avati on 2015-05-05 00:58:28 EDT ---

REVIEW: http://review.gluster.org/10464 (snapshot/scheduler: Use
os.path.realpath() for path validation) posted (#3) for review on master by
Avra Sengupta (asengupt at redhat.com)

--- Additional comment from Anand Avati on 2015-05-05 05:44:58 EDT ---

COMMIT: http://review.gluster.org/10464 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 466289f75522c7e6662ccfd17cbe2f000667f77e
Author: Avra Sengupta <asengupt at redhat.com>
Date:   Thu Apr 30 14:14:14 2015 +0530

    snapshot/scheduler: Use os.path.realpath() for path validation

    In order to accomodate systems, where /var/run is a symlink to
    /run, we are using os.path.realpath() for path validations.

    Change-Id: I4eae536867ec6c88f92c762b92f5c1966b622bde
    BUG: 1216931
    Signed-off-by: Avra Sengupta <asengupt at redhat.com>
    Reviewed-on: http://review.gluster.org/10464
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Rajesh Joseph <rjoseph at redhat.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>
    Tested-by: Krishnan Parthasarathi <kparthas at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1186580
[Bug 1186580] QE tracker bug for Everglades
https://bugzilla.redhat.com/show_bug.cgi?id=1216931
[Bug 1216931] [Snapshot] Snapshot scheduler show status disable even when
it is enabled
-- 
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