Bug 861867

Summary: [RHEVM][backend] [template] Interface <UNKNOWN> appears in events on NIC removal
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engineAssignee: Muli Salem <msalem>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, gklein, iheim, ilvovsky, lpeer, masayag, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: SI21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:03:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs for CL 3.0
none
logs for CL 3.1
none
screenshot DC 3.0
none
screenshot DC 3.1 none

Description Martin Pavlik 2012-10-01 08:22:05 UTC
Created attachment 619664 [details]
logs for CL 3.0

Description of problem:
Applies for DC/CL 3.0 as well as foe DC/CL 3.1

When user removes NIC from template following message appears in events:

Interface <UNKNOWN> (Red Hat VirtIO) was removed from Template TestTemp31. (User: admin@internal)

see screenshots


Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Manager Version: '3.1.0-18.el6ev' 

How reproducible:
100%

Steps to Reproduce:
1. Create VM template
2. Add NIC to the template 
3. Remove NIC from the template (observe events)
  
Actual results:
Interface <UNKNOWN> appears in events

Expected results:
<UNKNOWN> is replaced by correct interface name

Additional info:

Comment 1 Martin Pavlik 2012-10-01 08:22:35 UTC
Created attachment 619665 [details]
logs for CL 3.1

Comment 2 Martin Pavlik 2012-10-01 08:23:03 UTC
Created attachment 619666 [details]
screenshot DC 3.0

Comment 3 Martin Pavlik 2012-10-01 08:23:38 UTC
Created attachment 619667 [details]
screenshot DC 3.1

Comment 4 Muli Salem 2012-10-03 14:01:47 UTC
Proposed patch in:

http://gerrit.ovirt.org/#/c/8334/