[ovirt-users] Caused by: java.lang.IllegalStateException: Insufficient amount of free MACs.

Martin Mucha mmucha at redhat.com
Wed Feb 18 15:36:56 UTC 2015


Hi, 

so the syntax of MAC addresses ranges is ok, log confirmed that I was looking at the right place. I tried to do some tests with pool repeatedly depleting all MAC addresses in random order and then putting all of them back, and everytime I got back to empty pool, so it seems that pool itself does not leak. I'll try to find potential problem, but I'll ask first one more question Martin (the other one) suggested. Did you restart your engine prior to these operations? Isn't possible, that you have it configured with some much smaller range and forgot to restart prior to using new range? Also can you give me version of your system? Newer versions do set ranges differently than via engine-config (also without need to restart).

M.

----- Original Message -----
> Hi Martin,
> 
> I am using the below mac address pool ranges :-  http://ur1.ca/jqudg
> 
> Engine Log :- http://ur1.ca/jquep
> 
> I have created almost 8 OS templates and every template has 2 NIC...and for
> the same i have added the mac address pool....the total mac address should
> be 4072 and i have used in my system is about 1580 mac address....but now
> when i create new VM it failed with the error "Insufficient amount of free
> MACs"
> 
> Thanks,
> Punit
> 
> 
> 
> 
> On Tue, Feb 17, 2015 at 7:29 PM, Martin Mucha <mmucha at redhat.com> wrote:
> 
> > Hi,
> >
> > I'm able to track down responsible code using provided error message. I'm
> > not sure what "deploy the VM with Template" is, but I suspect you've
> > imported VM from template. When that happens, for each interface without
> > MAC address is new obtained, or for each of them, when "importing as new".
> > I did not see (so far) anything bad in code. Can you provide me with some
> > details I can verify or work with? Details about that VM (number of it's
> > nics or anything else you think it can be important), defined MAC address
> > range, who else is using this MAC address range, etc.
> >
> > Mar.
> >
> > ----- Original Message -----
> > > Hi,
> > >
> > > I am facing this strange issue if i deploy the VM with Template...
> > >
> > > Caused by: java.lang.IllegalStateException: Insufficient amount of free
> > MACs.
> > >
> > > Actually i have almost 2000 Mac address free in our environment but VM
> > > creation failed with this error :-
> > >
> > > Thanks,
> > > Punit
> > >
> > > _______________________________________________
> > > Users mailing list
> > > Users at ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> >
> 



More information about the Users mailing list