Bug 1201742

Summary: [New] - snap name is "UNKNOWN" in the event message when snapshot is activated or deactivated.
Product: [Retired] oVirt Reporter: RamaKasturi <knarra>
Component: ovirt-engine-webadminAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED CURRENTRELEASE QA Contact: Stanislav Graf <sgraf>
Severity: low Docs Contact:
Priority: medium    
Version: 3.6CC: bugs, ecohen, gklein, knarra, lsurette, mgoldboi, rbalakri, rnachimu, sabose, sgraf, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: gluster
Fixed In Version: ovirt-engine-3.5.3-0.0.master Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 13:50:15 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-13 12:03:12 UTC
Description of problem:
When user tries to activate or deactivate the snapshot, snap name in event message gets generated as UNKNOWN.

"Activated the gluster volume snapshot <UNKNOWN>" and "De-activated the gluster volume snapshot <UNKNOWN> on volume <vol_name>".

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 ovirt.
2. Now create snapshot from command line by running the command "gluster snapshot create <snapname> <vol_name>
3. wait for 5 mins for the snapshots to get synced to UI.
4. Now try activating and deactivating the snapshot.

Actual results:
while activating and deactivating the snapshot the Event message displays unknown in the message for the snap name.

Expected results:
Snap name in the event message should not say "UNKNOWN" , instead it should give the proper snap name.

Additional info:

Comment 1 Shubhendu Tripathi 2015-04-13 12:58:05 UTC
Kasturi,
With latest upstream master build, this seems to be working. I am able to see the name of snapshot properly while activate/de-activate actions.
Can you please verify the same.

Comment 2 RamaKasturi 2015-05-04 05:57:21 UTC
Verified and works fine with build ovirt-engine-3.6.0-0.0.master.20150429182702.git939c2e8.el6.noarch.

When ever a snapshot is activated / deactivated the following message appears. "Activated the gluster volume snapshot <snapName> on volume <vol_name>"

Comment 3 RamaKasturi 2015-05-04 05:58:37 UTC
The following message displays when snapshot is deactivated.

 "De-activated the gluster volume snapshot <snap_name> on volume <vol_name> "

Comment 4 Sandro Bonazzola 2015-11-04 13:50:15 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.