[Bugs] [Bug 1145068] New: [SNAPSHOT]: In mixed cluster with RHS 2.1 U2 & RHS 3.0, newly created volume should not contain snapshot related options displayed in 'gluster volume info'
bugzilla at redhat.com
bugzilla at redhat.com
Mon Sep 22 10:20:55 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1145068
Bug ID: 1145068
Summary: [SNAPSHOT]: In mixed cluster with RHS 2.1 U2 & RHS
3.0, newly created volume should not contain snapshot
related options displayed in 'gluster volume info'
Product: GlusterFS
Version: 3.6.0
Component: glusterd
Severity: medium
Assignee: gluster-bugs at redhat.com
Reporter: spandit at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com,
nlevinki at redhat.com, nsathyan at redhat.com,
sasundar at redhat.com, ssaha at redhat.com,
ssamanta at redhat.com, vbellur at redhat.com,
vmallika at redhat.com
Depends On: 1113852, 1122816
+++ This bug was initially created as a clone of Bug #1122816 +++
+++ This bug was initially created as a clone of Bug #1113852 +++
Description of problem:
-----------------------
Gluster volumes created in a hybrid(mixed) cluster of RHS 2.1U2 & RHS 3.0, has
snapshot related options shown up in 'gluster volume info' output
Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHS 3.0 ( glusterfs-3.6.0.22-1.el6rhs )
How reproducible:
-----------------
Always
Steps to Reproduce:
-------------------
1. Peer probe a Denali Node (RHS 3.0) from Corbett ( RHS 2.1 U2 )
(or)
Create a cluster of 2 Nodes with RHS 2.1U2 and upgrade one node to RHS 3.0
2. Create a new volume ( of any type )
3. Check 'gluster volume info' output
Actual results:
---------------
gluster volume snapshot related options are shown in 'gluster volume info'
output
Expected results:
-----------------
op-version of the cluster is set to 2 ( since one of the node is in RHS 2.1U2),
so snapshot related options should not be made available on the volume
Additional info:
----------------
1. 'gluster volume info' on RHS 3.0 shows the volume snapshot related options
[root at rhss3 ~]# gluster v i
Volume Name: dvol
Type: Distribute
Volume ID: 761e4c4c-76f3-4b37-af04-1e465a0a4139
Status: Started
Snap Volume: no
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: 10.70.37.136:/rhs/brick1/b1
Options Reconfigured:
snap-max-hard-limit: 256
snap-max-soft-limit: 90
auto-delete: disable
2. 'gluster volume info' on RHS 2.1U2 doesn't have volume snapshot related
options
[root at corbett ~]# gluster v i
Volume Name: dvol
Type: Distribute
Volume ID: 761e4c4c-76f3-4b37-af04-1e465a0a4139
Status: Started
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: 10.70.37.136:/rhs/brick1/b1
--- Additional comment from Sayan Saha on 2014-06-29 22:04:21 EDT ---
This is only relevant if we see it while upgrading from 2.1 to 3.0 not between
2 intermediate QE builds of 3.0.
--- Additional comment from Vijaikumar Mallikarjuna on 2014-07-24 03:15:47 EDT
---
With the patch http://review.gluster.org/#/c/8191/.
snap-max-hard-limit, snap-max-soft-limit and auto-delete values will not be
shown if they are not set explicitly.
Currently we get below error message when one of the node in cluster is running
glusterd version less than 3.6:
root at rh1:~/workspace/git/glusterfs # gluster snapshot create snap1 vol1
snapshot create: failed: Another transaction is in progress Please try again
after sometime.
Snapshot command failed
I will submit another patch to display correct error message when snapshot
operation is performed on a cluster with op-version less than 3.6
--- Additional comment from Anand Avati on 2014-07-24 03:21:51 EDT ---
REVIEW: http://review.gluster.org/8371 (glusterd/snapshot: Print correct error
message on cli for snapshot operation performed on a cluster with op-version
less than 30600) posted (#1) for review on master by Vijaikumar Mallikarjuna
(vmallika at redhat.com)
--- Additional comment from Anand Avati on 2014-07-24 08:03:44 EDT ---
COMMIT: http://review.gluster.org/8371 committed in master by Kaushal M
(kaushal at redhat.com)
------
commit ddd132a3b20d650edbda318c773b6d54a04f6675
Author: Vijaikumar M <vmallika at redhat.com>
Date: Thu Jul 24 12:47:04 2014 +0530
glusterd/snapshot: Print correct error message on cli
for snapshot operation performed on a cluster with
op-version less than 30600
Currently we get error message as on cli 'Another transaction is in
progress
Please try again after sometime' when a snapshot operation is performed
on a cluster with op-version less than 30600.
We need to print the correct error message in this case.
Change-Id: I5f144428d928393c3796bde96ce6e3a40fca8141
BUG: 1122816
Signed-off-by: Vijaikumar M <vmallika at redhat.com>
Reviewed-on: http://review.gluster.org/8371
Reviewed-by: Avra Sengupta <asengupt at redhat.com>
Reviewed-by: Sachin Pandit <spandit at redhat.com>
Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Kaushal M <kaushal at redhat.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1113852
[Bug 1113852] [SNAPSHOT]: In mixed cluster with RHS 2.1 U2 & RHS 3.0,
snapshot commands should fail with proper error instead of "Another
Transaction in progress"
https://bugzilla.redhat.com/show_bug.cgi?id=1122816
[Bug 1122816] [SNAPSHOT]: In mixed cluster with RHS 2.1 U2 & RHS 3.0, newly
created volume should not contain snapshot related options displayed in
'gluster volume info'
--
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=F0T3lQJB8B&a=cc_unsubscribe
More information about the Bugs
mailing list