Bug 1009298

Summary: [RHEVM] [backend] it is not possible to create new VM without vNIC
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engine-webadmin-portalAssignee: Lior Vernia <lvernia>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, bazulay, ecohen, gklein, iheim, lpeer, lvernia, masayag, myakove, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: is18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:18:11 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:
Bug Depends On: 1003779    
Bug Blocks:    
Attachments:
Description Flags
log_collector none

Description Martin Pavlik 2013-09-18 07:17:23 UTC
Created attachment 799137 [details]
log_collector

Description of problem:
If blank template has no vNIC and a new VM is created based on the blank template the new VM always has vNIC.

Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Manager Version: 3.3.0-0.22.master.el6ev 

How reproducible:
100%

Steps to Reproduce:
1.remove all vNIC cards from blank template
2.create new VM

Actual results:
VM has vNIC with empty network attached

Expected results:
VM has no vNIC

Additional info:
2013-09-18 09:02:28,912 INFO  [org.ovirt.engine.core.bll.network.vm.AddVmInterfaceCommand] (pool-5-thread-49) [4383dc38] Running command: AddVmInterfaceCommand internal: false. Entities affected :  ID: 6fe052f7-08d5-4e87-ac6c-26116b00eb6a Type: VM
2013-09-18 09:02:29,010 INFO  [org.ovirt.engine.core.bll.network.vm.ActivateDeactivateVmNicCommand] (pool-5-thread-49) Running command: ActivateDeactivateVmNicCommand internal: true. Entities affected :  ID: 6fe052f7-08d5-4e87-ac6c-26116b00eb6a Type: VM
2013-09-18 09:02:29,070 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (pool-5-thread-49) Correlation ID: 121b4bbb, Call Stack: null, Custom Event ID: -1, Message: Network Interface nic1 (VirtIO) was plugged to VM abcd. (User: admin@internal)

Comment 2 Martin Pavlik 2013-09-18 13:42:43 UTC
Also if blank template has multiple vNICs in rhevm network, upon creation of new VM "empty" network is preselected for all vNICs.

Comment 3 Einav Cohen 2013-09-19 14:08:20 UTC
related to / duplicate of bug 1009407?
[note that one is ovirt and one is rhevm]

Comment 4 Lior Vernia 2013-09-19 15:03:04 UTC
Related, but not a duplicate. In my opinion Bug 1009407 is not a bug. This, however, is surely a bug. And it will be possible to solve after Bug 1003779 is solved.

Comment 6 Meni Yakove 2013-10-10 07:58:08 UTC
rhevm-3.3.0-0.25.beta1.el6ev.noarch

Comment 7 Itamar Heim 2014-01-21 22:18:11 UTC
Closing - RHEV 3.3 Released

Comment 8 Itamar Heim 2014-01-21 22:24:35 UTC
Closing - RHEV 3.3 Released