Bug 1305735 - Improve error message for unsupported clients
Improve error message for unsupported clients
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterd (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: RHGS 3.1.3
Assigned To: Atin Mukherjee
: ZStream
Depends On: 1302205
Blocks: 1299184 1302521
  Show dependency treegraph
Reported: 2016-02-08 22:53 EST by Atin Mukherjee
Modified: 2016-09-17 12:44 EDT (History)
6 users (show)

See Also:
Fixed In Version: glusterfs-3.7.9-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1302205
Last Closed: 2016-06-23 01:07:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Atin Mukherjee 2016-02-08 22:53:21 EST
+++ This bug was initially created as a clone of Bug #1302205 +++

Description of problem:

When a volume set is executed and if there are already connected clients which are incompatible w.r.t op-version the error message doesn't point out which first client needs to be upgraded first.

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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

--- Additional comment from Vijay Bellur on 2016-01-27 02:13:36 EST ---

REVIEW: http://review.gluster.org/11831 (glusterd: improve error logs for unsupported clients) posted (#5) for review on master by Atin Mukherjee (amukherj@redhat.com)

--- Additional comment from Vijay Bellur on 2016-01-27 22:50:53 EST ---

COMMIT: http://review.gluster.org/11831 committed in master by Atin Mukherjee (amukherj@redhat.com) 
commit fd16186b403e38763b1d0b39c8c7ce14ffc508ba
Author: Atin Mukherjee <amukherj@redhat.com>
Date:   Wed Aug 5 16:02:49 2015 +0530

    glusterd: improve error logs for unsupported clients
    Change-Id: I90be46a7b25cc3efd0e61c9a145852e9027f5f64
    BUG: 1302205
    Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
    Reviewed-on: http://review.gluster.org/11831
    Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
    Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
    Smoke: Gluster Build System <jenkins@build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
    Reviewed-by: Prashanth Pai <ppai@redhat.com>
    Reviewed-by: Kaushal M <kaushal@redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Comment 3 Atin Mukherjee 2016-03-22 08:01:46 EDT
The fix is now available in rhgs-3.1.3 branch, hence moving the state to Modified.
Comment 5 Byreddy 2016-04-06 01:55:08 EDT
Verified this bug using the build "glusterfs-3.7.9-1"

Fix is working properly, when volume is mounted on unsupported clients and volume set was done, it will through error message saying which client need to be update first.

#gluster volume set  Dis performance.readdir-ahead off
volume set: failed: One of the client is running with op-version 30703 and doesn't support the required op-version 30707. This client needs to be upgraded or disconnected before running this command again

with this details, moving bug to next state.
Comment 7 errata-xmlrpc 2016-06-23 01:07:06 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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