Bug 1212936

Summary: [New] - Snapshot creation from UI succeeds even when the bricks are not thinly provisioned.
Product: [Retired] oVirt Reporter: RamaKasturi <knarra>
Component: ovirt-engine-webadminAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6CC: bugs, dpati, ecohen, gklein, lsurette, mgoldboi, rbalakri, sabose, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: gluster
Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150514172356.git1f1cc88 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 11:42:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1187461    

Description RamaKasturi 2015-04-17 17:40:26 UTC
Description of problem:
When the bricks of a volume are not thinly provisioned snapshot creation suceeds from UI and it displays an event message saying "Snapshot <snap1> created for volume <vol1> but it does not list any snapshots under the snapshots subtab.

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764.el6.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Add a cluster to rhsc and manage it.
2. Now create the volumes by creating the bricks in root directory and adding them.
3. Now try to create a snapshot.

Actual results:
Snapshot creation succeeds with an event message which says "Snapshot <snap1> created for volume <vol1>

Expected results:
Snapshot creation should not suceed and UI should display a message saying "snapshot is supported only for thin provisioned LV. Ensure that all bricks of vol_ec are thinly provisioned LV."

Additional info:

Comment 1 RamaKasturi 2015-04-17 17:41:17 UTC
Snapshot creation suceeds with event message which says "Snapshot <snap1> created for volume <vol1> but does not list any snapshot under snapshots tab.

Comment 3 RamaKasturi 2015-05-20 07:36:23 UTC
Verified and works fine with build ovirt-engine-3.6.0-0.0.master.20150517172245.git089e126.el6.noarch.

When user tries to take snapshot of a volume which does not thinly provisioned bricks, UI displays the following message: 

Error while executing action Create Gluster Volume Snapshot : Snapshot create failed.

Error: Snapshot is supported only for thin provisioned LV_ Ensure that all bricks of vol1 are thinly provisioned LV_ return code : -1.

Comment 4 Sandro Bonazzola 2015-11-04 11:42:35 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.