Bug 1812144

Summary: Add a warning message during volume expansion or resize on volume with snapshots
Product: [Community] GlusterFS Reporter: Mohammed Rafi KC <rkavunga>
Component: snapshotAssignee: bugs <bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-12 11:27:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mohammed Rafi KC 2020-03-10 15:48:28 UTC
This bug was initially created as a copy of Bug #1730019

I am copying this bug because: 



Description of problem:
Create a snapshot of a volume and then grow the volume. It works. Yet this can cause instability and it is documented should never be done.


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


How reproducible:
100%

Steps to Reproduce:
1. create snapshot on volume
2. grow volume

Actual results:
It works


Expected results:
It should fail because we dont want a volume which has snapshots to be expanded or grown.


Additional info:

Comment 1 Worker Ant 2020-03-10 17:38:53 UTC
REVIEW: https://review.gluster.org/24213 (glusterd/snapshot: Add a warning message when a volume config changes) posted (#1) for review on master by mohammed rafi  kc

Comment 2 Worker Ant 2020-03-12 11:27:50 UTC
REVIEW: https://review.gluster.org/24213 (glusterd/snapshot: Add a warning message when a volume config changes) merged (#2) on master by Sunny Kumar