Created attachment 1010059 [details] engine logs Description of problem:Already Set a range of MAC addresses(About 8000) for use by using engine-config -s MacPoolRanges ...but when deploy the VM with predefined OS template with 2 Network card attached..upto 893 VM's can be deployed but after that VM failed with "Insufficient amount of free MACs".. [root@ccr01 ~]# engine-config -g MacPoolRanges MacPoolRanges: 00:1A:4A:FA:F1:00-00:1A:4A:FA:F1:FC,00:1A:4A:FB:F2:00-00:1A:4A:FB:F2:FC,00:1A:4A:FC:F3:00-00:1A:4A:FC:F3:FC,00:1A:4A:FD:F4:00-00:1A:4A:FD:F4:FC,00:1A:4A:FE:F5:00-00:1A:4A:FE:F5:FC,00:1A:4A:FF:F6:00-00:1A:4A:FF:F6:FC,00:1A:4A:EA:F7:00-00:1A:4A:EA:F7:FC,00:1A:4A:EB:F8:00-00:1A:4A:EB:F8:FC,00:1A:4A:97:5A:00-00:1A:4A:97:5A:FD,00:1A:4A:97:5B:00-00:1A:4A:97:5B:FE,00:1A:4A:97:5C:00-00:1A:4A:97:5C:FE,00:1A:4A:97:5D:00-00:1A:4A:97:5D:FE,00:1A:4A:97:6A:00-00:1A:4A:97:6A:FE,00:1A:4A:97:6B:00-00:1A:4A:97:6B:FE,00:1A:4A:97:6C:00-00:1A:4A:97:6C:FE,00:1A:4A:97:6D:00-00:1A:4A:97:6D:FD version: general [root@ccr01 ~]# Inside the Engine the free mac address :- --------------- -bash-4.2$ psql -h localhost -U engine -d engine Password for user engine: psql (9.2.7) Type "help" for help. engine=> select count(*) from vm_interface where mac_addr is not NULL; count ------- 1834 (1 row) engine=> ----------------- Upto 893 VM can be deployed with the same OS templates but after 893 can not be deployed with 2 Network card... Version-Release number of selected component (if applicable): 3.5.1.1-1.el7 How reproducible:100% Steps to Reproduce: 1. Create one VM with two Network card attached..once all done...make an template with it.. 2. Set MAC Pool Range to a known(like 4000 mac address) range using engine-config (and restart ovirt-engine service) 3. Attempt to create 893 VM from this mac address pool range.. 4. 894th VM will fail with the error "Insufficient amount of free MACs" Actual results:-VM failed to create through OS template with error "Insufficient amount of free MACs"..actually there are lots of Macs are free.. Expected results:- Should allow 2 NICs to be created with auto-assigned MACs.. Additional Info :- The VM can be create either i will remove both the network card from the template or remove one network card from template... Screen Shots :- http://postimg.org/image/ilieryr9n/ http://postimg.org/image/ibbgw1gz1/ http://postimg.org/image/5clxdtpdf/
Let's fix it for 3.6 before we decide if it needs backporting. Punit, while your patch seems to fix *a* bug, mmucha tells me it doesn't fix *the* bug you encountered (and described here) - as that would yield a different error message.
Moving back to 3.5.z to ease tracking.
Can you please try to recreate this scale issue in 3.6?
Meni, can you try reproduce this issue?
It's a scale issue.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
can you specify on which version this defect was found ?
(In reply to Eldad Marciano from comment #7) > can you specify on which version this defect was found ? done
(In reply to Eldad Marciano from comment #7) > can you specify on which version this defect was found ? commit 0 says it was 3.5.1.1-1.el7
setting needinfo on QE (and lowering priority), as devel fails to reproduce the issue.
we ran 900 vms with no MACs errors at all on top of 3.6.0. we had issue with that mac ranges due to the new configuration flow, in 3.6 we must to set new mac ranges via the engine UI > configure (right upper cornr) > MAC Address pool.
by saying: "we had issue with that mac ranges due to the new configuration flow" are you saying that you had to move from using engine-config, or that you did encounter some issues with rest? (~ as mac pools should be manageable through rest as well)
Can you please try to recreate with latest 3.6?
(In reply to Martin Mucha from comment #12) > by saying: "we had issue with that mac ranges due to the new configuration > flow" are you saying that you had to move from using engine-config, or that > you did encounter some issues with rest? (~ as mac pools should be > manageable through rest as well) we had to move from using engine-config and change the mac ranges via the UI.
Hi, Didn't try with ovirt 3.6...i will try and update..
Thank you punit! Please reopen this bug if it reproduces.