Bug 1203454

Summary: [New] - Message in the Restore Popup is not correct when volume is online and snapshot is deactivatedt
Product: [Retired] oVirt Reporter: RamaKasturi <knarra>
Component: ovirt-engine-webadminAssignee: Karnan <kchidamb>
Status: CLOSED CURRENTRELEASE QA Contact: Stanislav Graf <sgraf>
Severity: low Docs Contact:
Priority: low    
Version: 3.6CC: bugs, ecohen, gklein, lsurette, mgoldboi, rbalakri, sabose, sankarshan, sgraf, 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.20150515172356.git426b5a1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 11:35:08 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-03-18 21:09:28 UTC
Description of problem:
As of now when the volume is up and snapshot is deactivated when user tries to restore the volume the message which gets is displayed in "Restore Snapshot on Volume" is "Volume will be restored to the state of selected snapshot.
Do you want to continue?" Where as it should be like "The volume will be brought down and restored to the state of the selected snapshot.
Do you want to continue?"

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

How reproducible:
Always.

Steps to Reproduce:
1. Create a volume.
2. Take a snapshot of the volume by running the command "gluster snapshot create <snap_name> <vol_name>"
3. Now click on the restore button.

Actual results:
The message below comes 
Whenever the volume is up and the snapshot is deactivated 
The confirmation says "Volume will be restored to the selected snapshot, Do you want to continue"?

Expected results:
The confirmation pop up should say "The volume will be brought down and restored to the state of the selected snapshot.
Do you want to continue?"

Additional info:

Comment 1 Stanislav Graf 2015-05-18 20:26:34 UTC
Reproduced the issue according to comment 0, message now says:
~~~	
Restore Snapshot on volume - volume1
The volume will be brought down and restored to the state of the selected snapshot.
Do you want to continue?
~~~

ovirt-engine-3.6.0-0.0.master.20150517172245.git089e126.el6.noarch

--> VERIFIED

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