Bug 1201765 - [New] - Restoring snapshot from UI fails with Unexpected exception
Summary: [New] - Restoring snapshot from UI fails with Unexpected exception
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.6
Hardware: Unspecified
OS: Unspecified
medium
high
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-03-13 13:06 UTC by RamaKasturi
Modified: 2016-02-10 19:29 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-04 13:58:17 UTC
oVirt Team: Gluster
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 39086 0 None None None Never

Description RamaKasturi 2015-03-13 13:06:29 UTC
Description of problem:
When user tries to restore snapshot from UI, it gives a an error message saying "Error while executing action Restore volume snapshot: Unexpected exception"

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-3.6.0-0.0.master.20150312184339.gite45ff6d.el6.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Add a cluster to RHSC.
2. Create a snapshot by running the command "gluster snapshot create <snap> <vol_name>
3. Wait for 5 mins for the snapshot to get synced in UI.
4. Now activate the snapshot.
5. click on the restore button .
6. A popup comes saying "The volume will be brought down and restored to the state of the selected snapshot. Do you want to continue?"
7. Click ok.

Actual results:
It gives an error message saying "error while executing action restore volume snapshot: Unexpected exception" and an event message gets displayed saying "Failed to restore the volume <vol_name> to the state of gluster volume snapshot <UNKNOWN>"

Expected results:
Snapshot should be restored sucessfully.

Additional info:

Comment 1 RamaKasturi 2015-04-14 09:04:42 UTC
Verified and works fine with build ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764.el6.noarch.

User is able to restore a snapshot and following event message gets displayed during restore operation.

1) Gluster volume <vol1> stopped.
2) Detected brick <brick_name> removed from volume <vol_name> of cluster <cluster_name> and removed it from engine DB for all the bricks in the volume.
3) Detected new brick <new brick_name> on volume <vol_name> of cluster <cluster_name> and added it to engine DB.
4) Detected option features.barrier=disable reset on volume <vol_name> of cluster <cluster_name> and removed it from engine DB.
5) Gluster volume <vol_name> started.
6) Restored the volume <vol_name> to the state of gluster volume snapshot <snap_name>

Comment 2 Sandro Bonazzola 2015-11-04 13:58:17 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.