Bug 1212936 - [New] - Snapshot creation from UI succeeds even when the bricks are not thinly provisioned.
Summary: [New] - Snapshot creation from UI succeeds even when the bricks are not thinl...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.6.0
Assignee: Shubhendu Tripathi
QA Contact: RamaKasturi
URL:
Whiteboard: gluster
Depends On:
Blocks: rhsc_qe_tracker_everglades
TreeView+ depends on / blocked
 
Reported: 2015-04-17 17:40 UTC by RamaKasturi
Modified: 2016-02-10 19:29 UTC (History)
9 users (show)

Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150514172356.git1f1cc88
Clone Of:
Environment:
Last Closed: 2015-11-04 11:42:35 UTC
oVirt Team: Gluster
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 40407 0 master MERGED gluster: Corrected gluster volume snapshot creation logic Never
oVirt gerrit 40948 0 ovirt-engine-3.5-gluster MERGED gluster: Corrected gluster volume snapshot creation logic Never

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.


Note You need to log in before you can comment on or make changes to this bug.