[Bugs] [Bug 1320377] New: Setting of any option using volume set fails when the clients are in older version.

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 23 04:48:11 UTC 2016


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

            Bug ID: 1320377
           Summary: Setting of any option using volume set fails when the
                    clients are in older version.
           Product: GlusterFS
           Version: 3.7.9
         Component: glusterd
          Severity: high
          Priority: urgent
          Assignee: kaushal at redhat.com
          Reporter: kaushal at redhat.com
                CC: amukherj at redhat.com, asriram at redhat.com,
                    bugs at gluster.org, rhinduja at redhat.com,
                    rhs-bugs at redhat.com, rwheeler at redhat.com,
                    storage-doc at redhat.com, vbellur at redhat.com
        Depends On: 1004332
            Blocks: 1318376 (glusterfs-3.7.10)



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

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

Describe the issue: 
===================

When Servers are in higher version than client the volume set operation fails,
this was observed when the servers were in bigbend(3.4.0) base and client was
in anshi(3.3.0) base. In field customers can have both 3.4.0 and 3.3.0 client
accessing the same RHS servers(3.4.0)


Server: glusterfs-server-3.4.0.24rhs-1.el6rhs.x86_64 and 
client: glusterfs-3.3.0.11rhs-1.el6.x86_64

Try to set any volume option, it fails with below message. 

[root at rhs-client11 ~]# gluster volume set help | grep client-log
Option: diagnostics.client-log-level
[root at rhs-client11 ~]# gluster volume set vol-dr client-log-level DEBUG
volume set: failed: One or more connected clients cannot support the feature
being set. These clients need to be upgraded or disconnected before running
this command again
[root at rhs-client11 ~]# 
[root at rhs-client11 ~]# gluster volume set vol-dr cluster.metadata-self-heal off
volume set: failed: One or more connected clients cannot support the feature
being set. These clients need to be upgraded or disconnected before running
this command again
[root at rhs-client11 ~]# gluster volume set vol-dr cluster.data-self-heal off
volume set: failed: One or more connected clients cannot support the feature
being set. These clients need to be upgraded or disconnected before running
this command again
[root at rhs-client11 ~]# 
[root at rhs-client11 ~]# gluster volume set vol-dr cluster.entry-self-heal off
volume set: failed: One or more connected clients cannot support the feature
being set. These clients need to be upgraded or disconnected before running
this command again
[root at rhs-client11 ~]# 

The above behaviour needs to be documented.


--- Additional comment from Divya on 2013-09-03 14:31:35 IST ---

Amar,

Kindly review and sign-off the following known issue:

Issue: When Red Hat Storage Servers are of higher version and one of the client
is of glusterfs-3.3.0.11rhs-1.el6.x86_64 or older version, the Volume Set
operation fails.

Work Around: Upgrade your client to the latest version and ensure that all the
clients are of same version.

Also, let me know if I have to clone this bug to create an eng bug? 

Thanks,
Divya

--- Additional comment from Anand Avati on 2013-09-04 18:10:39 IST ---

REVIEW: http://review.gluster.org/5786 (glusterd: Fix connected clients check
during 'volume set') posted (#1) for review on master by Kaushal M
(kaushal at redhat.com)

--- Additional comment from Anand Avati on 2013-09-04 19:01:12 IST ---

REVIEW: http://review.gluster.org/5786 (glusterd: Fix connected clients check
during 'volume set') posted (#2) for review on master by Kaushal M
(kaushal at redhat.com)

--- Additional comment from Anand Avati on 2013-09-06 12:35:12 IST ---

REVIEW: http://review.gluster.org/5829 (glusterd: Fix connected clients check
during 'volume set') posted (#1) for review on release-3.4 by Kaushal M
(kaushal at redhat.com)

--- Additional comment from Anand Avati on 2015-05-26 17:07:56 IST ---

REVIEW: http://review.gluster.org/5786 (glusterd: Fix connected clients check
during 'volume set') posted (#3) for review on master by Kaushal M
(kaushal at redhat.com)

--- Additional comment from Vijay Bellur on 2015-11-21 19:33:39 IST ---

REVIEW: http://review.gluster.org/5786 (glusterd: Fix connected clients check
during 'volume set') posted (#4) for review on master by Kaushal M
(kaushal at redhat.com)

--- Additional comment from Vijay Bellur on 2015-11-23 23:26:05 IST ---

REVIEW: http://review.gluster.org/5786 (glusterd: Fix connected clients check
during 'volume set') posted (#5) for review on master by Vijay Bellur
(vbellur at redhat.com)

--- Additional comment from Vijay Bellur on 2015-11-23 23:26:24 IST ---

REVIEW: http://review.gluster.org/5786 (glusterd: Fix connected clients check
during 'volume set') posted (#6) for review on master by Vijay Bellur
(vbellur at redhat.com)

--- Additional comment from Vijay Bellur on 2016-01-27 20:26:33 IST ---

REVIEW: http://review.gluster.org/5786 (glusterd: Fix connected clients check
during 'volume set') posted (#7) for review on master by Kaushal M
(kaushal at redhat.com)

--- Additional comment from Vijay Bellur on 2016-03-04 12:27:12 IST ---

REVIEW: http://review.gluster.org/5786 (glusterd: Fix connected clients check
during 'volume set') posted (#8) for review on master by Kaushal M
(kaushal at redhat.com)

--- Additional comment from Vijay Bellur on 2016-03-22 12:48:55 IST ---

REVIEW: http://review.gluster.org/5786 (glusterd: Fix connected clients check
during 'volume set') posted (#9) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Vijay Bellur on 2016-03-22 17:12:06 IST ---

COMMIT: http://review.gluster.org/5786 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit 2eb8758bbc88b182bf0e33506b8352cd82c7ec2e
Author: Kaushal M <kaushal at redhat.com>
Date:   Wed Sep 4 16:19:01 2013 +0530

    glusterd: Fix connected clients check during 'volume set'

    Use the volume's newly calulatedclient-op-version for the connected
    clients check. This prevents rejection of server options of higher
    op-version when clients of lower op-version are connected. Also,
    initialize the variables of the newly calculated volume op-version and
    client-op-version with the current values, instead of the cluster
    op-version.

    Change-Id: Ieb36f97c677a5457feba54bef20e154c0456e70e
    BUG: 1004332
    Signed-off-by: Kaushal M <kaushal at redhat.com>
    Reviewed-on: http://review.gluster.org/5786
    Tested-by: Atin Mukherjee <amukherj at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1004332
[Bug 1004332] Setting of any option using volume set fails when the clients
are in older version.
https://bugzilla.redhat.com/show_bug.cgi?id=1318376
[Bug 1318376] Tracker for glusterfs-3.7.10
-- 
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=yRivFwwqRZ&a=cc_unsubscribe


More information about the Bugs mailing list