Bug 1098200

Summary: [SNAPSHOT]: Stale options (Snap volume) needs to be removed from volume info
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rahul Hinduja <rhinduja>
Component: snapshotAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED ERRATA QA Contact: Rahul Hinduja <rhinduja>
Severity: low Docs Contact:
Priority: low    
Version: rhgs-3.0CC: asengupt, mzywusko, rhs-bugs, rjoseph, senaik, smohan, storage-qa-internal, vmallika
Target Milestone: ---   
Target Release: RHGS 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: SNAPSHOT
Fixed In Version: glusterfs-3.7.0-3.el6rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1098910 (view as bug list) Environment:
Last Closed: 2015-07-29 04:31:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1098910, 1202842, 1223636    

Description Rahul Hinduja 2014-05-15 13:15:26 UTC
Description of problem:
=======================

With initial design where the snap volume used to be displayed in gluster volume info , we used "Snap Volume: yes/on" to distinguish the volume whether its a snap volume or the original volume. But with new design the snap volumes are not listed in the volume info, hence this entry (snap volume:) doesn't make sense to show.

For example:

root@snapshot09 ~]# gluster v i 
 
Volume Name: vol0
Type: Distributed-Replicate
Volume ID: d666aeaa-58bc-4e5a-9542-d98d1d095cdb
Status: Started
Snap Volume: no
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: snapshot09.lab.eng.blr.redhat.com:/brick0/b0
Brick2: snapshot10.lab.eng.blr.redhat.com:/brick0/b0
Brick3: snapshot11.lab.eng.blr.redhat.com:/brick0/b0
Brick4: snapshot12.lab.eng.blr.redhat.com:/brick0/b0
Options Reconfigured:
features.barrier: disable
nfs.drc: off



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

glusterfs-3.6.0.1-1.el6rhs.x86_64


How reproducible:
=================
1/1


Steps to Reproduce:
===================
1. Create a volume
2. list the volume using "gluster volume info"


Actual results:
===============
Snap Volume: no



Expected results:
==================

This particular option is not required anymore.

Comment 2 Vijaikumar Mallikarjuna 2014-05-30 07:58:39 UTC
Patch https://code.engineering.redhat.com/gerrit/26011 posted

Comment 6 senaik 2015-06-23 08:08:17 UTC
Version : glusterfs-3.7.1-4.el6rhs.x86_64

Snap volume entry removed from gluster v info. Marking the bug 'Verified'

gluster v info 
 
Volume Name: vol1
Type: Distributed-Replicate
Volume ID: d0122a4a-ed80-481e-b5d3-6491f3fa7ae6
Status: Started
Number of Bricks: 5 x 2 = 10
Transport-type: tcp
Bricks:
Brick1: rhs-arch-srv3.lab.eng.blr.redhat.com:/rhs/brick6/b6
Brick2: inception.lab.eng.blr.redhat.com:/rhs/brick11/b11
Brick3: inception.lab.eng.blr.redhat.com:/rhs/brick7/b7
Brick4: rhs-arch-srv2.lab.eng.blr.redhat.com:/rhs/brick7/b7
Brick5: rhs-arch-srv3.lab.eng.blr.redhat.com:/rhs/brick7/b7
Brick6: rhs-arch-srv4.lab.eng.blr.redhat.com:/rhs/brick7/b7
Brick7: inception.lab.eng.blr.redhat.com:/rhs/brick8/b8
Brick8: rhs-arch-srv2.lab.eng.blr.redhat.com:/rhs/brick8/b8
Brick9: rhs-arch-srv3.lab.eng.blr.redhat.com:/rhs/brick8/b8
Brick10: inception.lab.eng.blr.redhat.com:/rhs/brick9/b9
Options Reconfigured:
features.barrier: disable
features.quota-deem-statfs: on
features.inode-quota: on
features.quota: on
features.uss: enable
performance.readdir-ahead: on
snap-max-soft-limit: 90
snap-max-hard-limit: 3

Comment 8 errata-xmlrpc 2015-07-29 04:31:45 UTC
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.

https://rhn.redhat.com/errata/RHSA-2015-1495.html