Bug 1008168

Summary: Uninformative message when trying to import VM while the MAC address pool is depleted
Product: Red Hat Enterprise Virtualization Manager Reporter: tgeft
Component: ovirt-engineAssignee: Moti Asayag <masayag>
Status: CLOSED UPSTREAM QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: acathrow, bazulay, ecohen, iheim, lpeer, masayag, myakove, nobody, Rhev-m-bugs, srevivo, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: is21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-31 16:39:33 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:
Bug Depends On:    
Bug Blocks: 1019461, 1032811    
Attachments:
Description Flags
engine log none

Description tgeft 2013-09-15 12:34:51 UTC
Description of problem:

On a setup where the MAC address pool has been used up, trying to import a VM results in a generic failure message. The message doesn't mention the fact that there are not enough MAC addresses.


Version-Release number of selected component (if applicable):
3.3.0-0.19.master.el6ev

How reproducible:
100%

Steps to Reproduce:
1. Create NICs until the MAC address pool is depleted.
2. Try to import a VM.

Actual results:
The import appears to start but fails a few seconds with the following message in the log:

"Failed to import Vm VM1_Copy to Data Center DC_33, Cluster cluster_33"

Expected results:
There should be a pop up error stating that there are "Not enough MAC addresses left in MAC Address Pool." (the wording that is used in similar cases)

For new NICs on existing VMs, there is an option to specify a custom MAC address if there are not enough MAC addresses. It would be nice to allow entering a custom MAC address in this situation as well instead of blocking the import.


Additional info:

Comment 1 tgeft 2013-09-15 12:36:52 UTC
Created attachment 797882 [details]
engine log

Comment 3 Shai Revivo 2013-10-31 16:39:33 UTC
This bug was fixed and is slated to be in the upcoming version. As we are focusing our testing at this phase on severe bugs, this bug was closed without going through its verification step.