Bug 1269301
| Summary: | RFE: Do not recycle MAC addresses immediately | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Daniel Helgenberger <daniel.helgenberger> |
| Component: | RFEs | Assignee: | Scott Herold <sherold> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Meni Yakove <myakove> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.5.4 | CC: | bugs, danken, jiri.slezka, mburman, mmucha, myakove, sbonazzo, ylavi |
| Target Milestone: | ovirt-3.6.5 | Keywords: | FutureFeature |
| Target Release: | 3.6.5 | Flags: | rule-engine:
ovirt-3.6.z+
ylavi: planning_ack+ danken: devel_ack+ rule-engine: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
Feature:
Reason:
In environment, where VMs are created and removed quickly, acquiring MAC addresses in smallest MAC available order may lead to situation, where there's MAC still used on network, but device using it is different than expected — other devices expects, that this MAC address belongs to some device which was here just moment ago.
Result: MAC addresses are acquired in cycle. When getting MAC address from pool, pool marks position of last returned MAC, and next time will search for available MAC from this position. This will cause all other available MAC address are 'used' before reusing MAC address returned back to pool.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-21 14:40:40 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: | 1066594 | ||
|
Description
Daniel Helgenberger
2015-10-06 23:02:45 UTC
I remember in the past we've discussed the option of looking up the next MAC in a range once from the start and once from the end of the range. that will not work if there's no mac left, and will work unpredictably if there's very few mac left. (notice that you can acquire multiple macs at once). replaceMAC and replaceMACs is better approach I believe, since this is different usecase than acquiring them for the first time. Verified on - 3.6.5-0.1.el6 Maybe this should be a new RFE but could it be possible also generate first MAC pool somehow randomly? We are using RHEV for production and oVirt for testing but with the same vlans on booth of them and both installations uses by default the same MAC pool. It was really nice debugging to find-out why one (two) of our vms has strange connectivity issues... (In reply to Jiří Sléžka from comment #4) > Maybe this should be a new RFE but could it be possible also generate first > MAC pool somehow randomly? We are using RHEV for production and oVirt for > testing but with the same vlans on booth of them and both installations uses > by default the same MAC pool. It was really nice debugging to find-out why > one (two) of our vms has strange connectivity issues... we can do that. But I'm worried, that allocating first mac in random fashion will solve your problem only with some probability. I think it should be solved in a way, where it's impossible to have unexpected problems due to MAC address conflicts. Can you elaborate more about your problem? Why it's not possible to use REST call to alter mac pool ranges of one deployment? Ie. why you have to use default setting on both deployments? |