Bug 1228785 - Cannot add brick without manually setting op-version
Summary: Cannot add brick without manually setting op-version
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-05 17:43 UTC by Joe Julian
Modified: 2018-11-20 05:45 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-20 05:45:49 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Joe Julian 2015-06-05 17:43:02 UTC
Description of problem:
# gluster volume add-brick test replica 2 questor:/tmp/gluster/test/2
volume add-brick: failed: One or more nodes do not support the required op-version. Cluster op-version must atleast be 30600.

Version-Release number of selected component (if applicable):
glusterfs-3.6.3-1.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. gluster volume create test questor:/tmp/gluster/test/1
2. gluster volume start test
3. mount -t glusterfs localhost:test /mnt
4. gluster volume add-brick test replica 2 questor:/tmp/gluster/test/2

Actual results:
volume add-brick: failed: One or more nodes do not support the required op-version. Cluster op-version must atleast be 30600.

Expected results:
volume add-brick: success

Additional info:

Comment 1 Atin Mukherjee 2015-06-09 12:16:04 UTC
I believe this has happened because of an upgrade. Probably the cluster was earlier running with a version < 3.6 and the upgrade happened. Until and unless we manually bump up the op-version this is expected and not a bug. Could you re-confirm?

Comment 2 Mohammed Rafi KC 2015-06-30 12:26:45 UTC
Based on comment 1, closing this bug as "not a bug". Please feel free to reopen it, if you still able to reproduce it.

Comment 3 Joe Julian 2015-10-20 20:54:11 UTC
This is a bug according to the feature page:
http://www.gluster.org/community/documentation/index.php/Features/Opversion

When no features of a higher op-version are being used, the cluster should drop down to the lowest common op-version for the feature set that is implemented.

Adding a brick has been supported since glusterd first was implemented. The lowest op-version possible should be sufficient for that feature.

This is still a problem as of 3.7.4

Comment 4 Kaushal 2017-03-08 11:04:53 UTC
This bug is getting closed because GlusteFS-3.7 has reached its end-of-life.

Note: This bug is being closed using a script. No verification has been performed to check if it still exists on newer releases of GlusterFS.
If this bug still exists in newer GlusterFS releases, please reopen this bug against the newer release.

Comment 5 Atin Mukherjee 2017-03-08 17:49:17 UTC
I think this limitation was brought in due to some AFR changes. Ravi, can you please confirm?

Comment 6 Ravishankar N 2017-03-09 02:13:24 UTC
Yes I think it was introduced by https://review.gluster.org/#/c/7122/ for glusterfs-3.6. I don't think this issue would occur in any of the currently supported (i.e. non EOL'ed) versions of gluster.

Comment 7 Ravishankar N 2017-03-09 04:12:04 UTC
Joe/ Atin, can we close the bug if the issue does not occur in 3.8 or 3.10?

Comment 8 Atin Mukherjee 2017-03-09 04:40:37 UTC
I think we can, will leave it to Joe for his final call.

Comment 9 Ravishankar N 2018-11-20 05:45:49 UTC
Closing this bug based on comment#6. Please re-open if issue persists in a currently supported gluster version.


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