Bug 1128239

Summary: Clone VM: wrong name is shown in event log when cloning a VM
Product: [Retired] oVirt Reporter: Pavel Novotny <pnovotny>
Component: ovirt-engine-coreAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: low    
Version: 3.5CC: amureini, ecohen, gklein, iheim, lsvaty, michal.skrivanek, rbalakri, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: ovirt-3.5.0_rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:42:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1058832    
Bug Blocks:    
Attachments:
Description Flags
engine.log and screenshot none

Description Pavel Novotny 2014-08-08 16:28:57 UTC
Created attachment 925217 [details]
engine.log and screenshot

Description of problem:
When cloning VM named 'original-vm' as new VM 'clone-vm', the main event log in Webadmin (at the bottom) says 'VM original-vm creation was initiated by admin.' but there should be 'clone-vm' instead.

Version-Release number of selected component (if applicable):
ovirt-engine-3.5.0-0.0.master.20140804172041.git23b558e.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. In Webadmin, have a VM named 'original-vm'.
2. Clone it as new VM named 'clone-vm'.
3. Check the main event log at the bottom.

Actual results:
The events are (from latest to oldest):

2014-Aug-08, 17:53    VM clone-vm creation has been completed.
2014-Aug-08, 17:53    VM original-vm creation was initiated by admin.


Expected results:

2014-Aug-08, 17:53    VM clone-vm creation has been completed.
2014-Aug-08, 17:53    VM clone-vm creation was initiated by admin.


Additional info:
Attached screenshot and engine.log.

Comment 1 Lukas Svaty 2014-09-16 13:24:14 UTC
verified in vt3

Comment 2 Sandro Bonazzola 2014-10-17 12:42:30 UTC
oVirt 3.5 has been released and should include the fix for this issue.