[Bugs] [Bug 1144978] New: glusterd operating version falls back to the operating version of an invalid friend

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 22 07:27:13 UTC 2014


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

            Bug ID: 1144978
           Summary: glusterd operating version falls back to the operating
                    version of an invalid friend
           Product: GlusterFS
           Version: 3.6.0
         Component: glusterd
          Severity: high
          Assignee: kaushal at redhat.com
          Reporter: kaushal at redhat.com
                CC: bugs at gluster.org
        Depends On: 1109741
            Blocks: 1117822 (glusterfs-3.6.0)



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

Description of problem:
During glusterd handshake if one of the glusterd has a lower operating version
we move the entire cluster operating version to the lower value irrespective
whether the new glusterd is a valid friend or not.


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


How reproducible:
Always


Steps to Reproduce:
1. Create a cluster of two or more node. (The op-version of the cluster should
be 4 or less)
2. Clean everything (including peer details) from one node and re-install
latest glusterd on this node having op-version 30600.
3. Start glusterd on this node.

Actual results:
Logs and glusterd.info file will show that the cluster op-version is 4. And
peer status will not show other nodes on the new node.


Expected results:
op-version should only be changed if we are accepting the node in the cluster.


Additional info:

During glusterd start I am seeing this log:

[2014-06-16 09:36:57.718526] I
[glusterd-store.c:1936:glusterd_restore_op_version] 0-glusterd: retrieved
op-version: 30600
...
[2014-06-16 09:36:58.029183] I
[glusterd-handshake.c:985:__glusterd_mgmt_hndsk_versions_ack] 0-management:
using the op-version 4

--- Additional comment from Anand Avati on 2014-06-20 15:42:04 IST ---

REVIEW: http://review.gluster.org/8126 (glusterd: Authenticate management
handshake requests) posted (#1) for review on master by Kaushal M
(kaushal at redhat.com)

--- Additional comment from Anand Avati on 2014-08-19 15:21:39 IST ---

REVIEW: http://review.gluster.org/8126 (glusterd: Authenticate management
handshake requests) posted (#2) for review on master by Kaushal M
(kaushal at redhat.com)

--- Additional comment from Anand Avati on 2014-08-26 13:08:56 IST ---

REVIEW: http://review.gluster.org/8126 (glusterd: Authenticate management
handshake requests) posted (#3) for review on master by Kaushal M
(kaushal at redhat.com)

--- Additional comment from Anand Avati on 2014-09-22 11:43:55 IST ---

REVIEW: http://review.gluster.org/8126 (glusterd: Authenticate management
handshake requests) posted (#4) for review on master by Kaushal M
(kaushal at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1109741
[Bug 1109741] glusterd operating version falls back to the operating
version of an invalid friend
https://bugzilla.redhat.com/show_bug.cgi?id=1117822
[Bug 1117822] Tracker bug for GlusterFS 3.6.0
-- 
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=6Q2oX6NMTX&a=cc_unsubscribe


More information about the Bugs mailing list