Bug 1039103

Summary: [RHEVM][backend] cannot add vNIC with custom MAC address to VM if there is no adresses left in MAC Address Pool.
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engineAssignee: Mike Kolesnik <mkolesni>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: high Docs Contact:
Priority: high    
Version: 3.3.0CC: acathrow, gklein, iheim, lpeer, masayag, myakove, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: is27 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 1049022    
Attachments:
Description Flags
log_collector none

Description Martin Pavlik 2013-12-06 16:00:40 UTC
Created attachment 833673 [details]
log_collector

Description of problem:
Cannot add vNIC with custom MAC address to VM if there is no addresses left in MAC Address Pool.

Addidng vNIC with _custom_ MAC address should not depend on MAC addresses in pool.

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

How reproducible:
100%

Steps to Reproduce:
1. limit MAC address pool to some small amount of MACs
e.g using engine-config --set MacPoolRanges=XX:XX:XX:XX:XX:00-XX:XX:XX:XX:XX:01
2. exhaust MACs by adding vNICs to VM
3. when exhausted, Virtual Machines -> your VM -> Network Intefaces -> New 
4. add meaningful custom MAC e.g. 00:1A:4A:C0:3F:10

Actual results:
Cannot add vNIC with custom MAC address to VM if there is no addresses left in MAC Address Pool.

Expected results:
Addidng vNIC with _custom_ MAC address should not depend on MAC addresses in pool.

Additional info:
2013-12-06 16:42:32,216 WARN  [org.ovirt.engine.core.bll.network.vm.AddVmInterfaceCommand] (ajp-/127.0.0.1:8702-11) [3ad4249] CanDoAction of action AddVmInterface failed. Reasons:VAR__TYPE__INTERFACE,VAR__ACTION__ADD,MAC_POOL_NOT_ENOUGH_MAC_ADDRESSES

Comment 1 Martin Pavlik 2013-12-13 09:37:07 UTC
works in is27

Comment 2 Itamar Heim 2014-01-21 22:31:29 UTC
Closing - RHEV 3.3 Released

Comment 3 Itamar Heim 2014-01-21 22:31:37 UTC
Closing - RHEV 3.3 Released

Comment 4 Itamar Heim 2014-01-21 22:34:15 UTC
Closing - RHEV 3.3 Released