Bug 1216315

Summary: [New] - Snapshot creation is successful even after the snap-max-hard-limit is reached.
Product: [Retired] oVirt Reporter: RamaKasturi <knarra>
Component: ovirt-engine-webadminAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED CURRENTRELEASE QA Contact: Arthy Loganathan <aloganat>
Severity: high Docs Contact:
Priority: medium    
Version: 3.6CC: aloganat, bugs, dpati, ecohen, gklein, lsurette, mgoldboi, rbalakri, shtripat, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: gluster
Fixed In Version: ovirt-3.6.0-alpha1.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 11:36:41 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-29 06:01:43 UTC
Description of problem:
When snap-max-hard-limit is reached user should not be allowed to take any more snapshots of the volume. Snapshot creation is sucessful but there are no snaps available.

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

How reproducible:
Always

Steps to Reproduce:
1. create a volume.
2. set the snap-max-hard-limit to 2.
3. Now take more than 2 snapshots.

Actual results:
snapshot creation is successful but ui does not list any snapshots in the snapshot sub tab.

Expected results:
snapshot creation should not be successful once the snap-max-hard-limit is reached. 

Additional info:

Comment 1 Arthy Loganathan 2015-05-21 13:48:03 UTC
Verified the fix in build,
ovirt-engine-3.6.0-0.0.master.20150520172338.git652fdb6.el6.noarch

It works fine.

Comment 2 Sandro Bonazzola 2015-11-04 11:36:41 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.