Caused by: java.lang.IllegalStateException: Insufficient amount of free MACs.

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

--Apple-Mail=_98A9D946-A02A-4D77-B65F-7FDD5F306282 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Punit, we will need some logs in order to analyse, best would be if you could = collect log collector (run engine-log-collector on engine machine). Based on what you know that you have 2000MACs available? What does engine-config -g MacPoolRanges say? M.
On 17 Feb 2015, at 11:12, Punit Dambiwal <hypunit@gmail.com> wrote: =20 Hi, =20 I am facing this strange issue if i deploy the VM with Template... =20 Caused by: java.lang.IllegalStateException: Insufficient amount of = free MACs. =20 Actually i have almost 2000 Mac address free in our environment but VM = creation failed with this error :- =20 Thanks, Punit
--Apple-Mail=_98A9D946-A02A-4D77-B65F-7FDD5F306282 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJU4x3DAAoJENsSVGhnNZo+wJAIAI5eUMm2WJgFkrs1Ui+ps1kW oGRYrxzSWODMlkVYZGuAFamggMhmVUdCZ+URfl8KGHHmg1dm8kIp2Ja97/4g4kcc 9l2KAZ2b8qGdDmHI69DOSPh8INmW5cg+Tkw5dyjWvXtVSMqbdZGKe5Nsw5iSa4Is LrAudb053e7qKDvRLrKEdZ3fIK8Cu4a2XtZMYUigiOLuoC9IWtZLFNx7ubsB0IwJ cZeILLHzwPGhTIP9zWZ5pzhZookN9iZ7oHdHrMcdaKqQT9grifAAb67nbLwwimRY SclyLpabwea2zd4FBQDtKmO+iUGWDKxKbzMTnkFu/8nBxIaJf8SWYpdYgNA2cBw= =DX42 -----END PGP SIGNATURE----- --Apple-Mail=_98A9D946-A02A-4D77-B65F-7FDD5F306282--

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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Martin, Did you restart your engine prior to these operations? Yes...and i restarted after the modifications... Isn't possible, that you have it configured with some much smaller range and forgot to restart prior to using new range? No.....I configured with big range at first and after that there was no modifications.. Also can you give me version of your system? I am using the ovirt 3.5.1.1 Thanks, punit On Wed, Feb 18, 2015 at 11:36 PM, Martin Mucha <mmucha@redhat.com> wrote:
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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi All, Still i am facing the same issue... Thanks, Punit On Tue, Feb 24, 2015 at 11:58 AM, Punit Dambiwal <hypunit@gmail.com> wrote:
Hi Martin,
Did you restart your engine prior to these operations? Yes...and i restarted after the modifications...
Isn't possible, that you have it configured with some much smaller range and forgot to restart prior to using new range? No.....I configured with big range at first and after that there was no modifications..
Also can you give me version of your system? I am using the ovirt 3.5.1.1
Thanks, punit
On Wed, Feb 18, 2015 at 11:36 PM, Martin Mucha <mmucha@redhat.com> wrote:
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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Martin Mucha
-
Martin Pavlík
-
Punit Dambiwal