Bug 969193 - "gluster volume getspec" is broken (op_version problem)
Summary: "gluster volume getspec" is broken (op_version problem)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Kaushal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-30 21:12 UTC by Jeff Darcy
Modified: 2013-07-24 17:30 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:30:50 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Jeff Darcy 2013-05-30 21:12:37 UTC
The CLI code for getspec isn't setting min-op-version or max-op-version, so they're defaulting to one in glusterd.  Therefore, if a volume uses version-two features then getspec will fail even though the CLI issuing it does in fact support all necessary features (and might even be *more* recent than the server).

Comment 1 Anand Avati 2013-05-30 21:22:08 UTC
REVIEW: http://review.gluster.org/5119 (cli: set min-op-version and max-op-version for getspec) posted (#1) for review on master by Jeff Darcy (jdarcy)

Comment 2 Anand Avati 2013-05-31 06:47:11 UTC
COMMIT: http://review.gluster.org/5119 committed in master by Vijay Bellur (vbellur) 
------
commit 1afbd1e8998a949695f008fd1403ea228eb42bd1
Author: Jeff Darcy <jdarcy>
Date:   Thu May 30 17:21:05 2013 -0400

    cli: set min-op-version and max-op-version for getspec
    
    Change-Id: I2185df5d6b560d9367ae404c91812048e1655180
    BUG: 969193
    Signed-off-by: Jeff Darcy <jdarcy>
    Reviewed-on: http://review.gluster.org/5119
    Reviewed-by: Kaushal M <kaushal>
    Tested-by: Gluster Build System <jenkins.com>

Comment 3 Anand Avati 2013-07-10 08:31:36 UTC
REVIEW: http://review.gluster.org/5307 (cli: set min-op-version and max-op-version for getspec) posted (#1) for review on release-3.4 by Vijay Bellur (vbellur)

Comment 4 Anand Avati 2013-07-11 21:14:30 UTC
COMMIT: http://review.gluster.org/5307 committed in release-3.4 by Anand Avati (avati) 
------
commit 97594853f258d4e4ea0a71b41ba20fdc899af55c
Author: Jeff Darcy <jdarcy>
Date:   Thu May 30 17:21:05 2013 -0400

    cli: set min-op-version and max-op-version for getspec
    
    Change-Id: I2185df5d6b560d9367ae404c91812048e1655180
    BUG: 969193
    Signed-off-by: Jeff Darcy <jdarcy>
    Reviewed-on: http://review.gluster.org/5119
    Reviewed-by: Kaushal M <kaushal>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-on: http://review.gluster.org/5307


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