Bug 1066594
| Summary: | [RFE] Prevent RHEV from immediately re-using MAC addresses freed by destroyed guests into newly created guests | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Julio Entrena Perez <jentrena> |
| Component: | RFEs | Assignee: | Martin Mucha <mmucha> |
| Status: | CLOSED ERRATA | QA Contact: | Meni Yakove <myakove> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.2.0 | CC: | danken, iheim, jentrena, lpeer, mburman, melewis, michal.skrivanek, myakove, nyechiel, pdwyer, pep, pstehlik, rbalakri, sbonazzo, sherold, srevivo, ylavi |
| Target Milestone: | ovirt-4.0.0-alpha | Keywords: | FutureFeature, Triaged |
| Target Release: | 4.0.0 | Flags: | nyechiel:
Triaged+
gklein: testing_plan_complete- |
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
With the update, the order in which MAC addresses are obtained from the MAC address pool has been altered. Previously, the leftmost available MAC address was returned from the MAC address pool when requested. This caused issues in certain environments when MAC addresses returned to MAC address pool were immediately queried from the MAC address pool by another process and confused some devices on the network as a device now has the MAC address that had been recently used by a different device. Now, the MAC address pool remembers that last returned MAC address for each address in its MAC address range and will return the first available MAC address following the most recently returned. If there is no further addresses left in the range the search starts from the beginning of the range. If there are multiple MAC address ranges with available MAC addresses they take turns in serving incoming requests in the same way available MAC addresses are selected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-23 20:20:34 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: | 1269301 | ||
| Bug Blocks: | |||
|
Description
Julio Entrena Perez
2014-02-18 16:56:10 UTC
As a temporary workaround, if the customer is interested in allocating the MAC address to the VM's in a proprietary way he can use the custom MAC address field in the VNIC. By using this field the customer could guarantee the MACs won't be reused until the QIP is updated. Michal - doesn't look like a very hard task to achieve (random allocation from the pool) - can I mark as a StudentProject and target 4.0? there were some considerations/complications regarding the mac pool, not sure it was that simple(keeping a list of recently used MACs). Random would perhaps work good enough, though ultimately this is a network's group decision Per mmucha, randomization is indeed simple. (In reply to Dan Kenigsberg from comment #13) > Per mmucha, randomization is indeed simple. no, randomization would be ineffective and would not produce 'stable' behavior. Better approach was used, required behavior is already implemented. We're waiting for code review & possible merge. Check following for more information: https://gerrit.ovirt.org/#/c/49502/ Why was this moved to 3.6.z? (In reply to Yaniv Dary from comment #17) > Why was this moved to 3.6.z? My product manager told me that this bug annoys many customers, and should be fixed early if it is not too risky. Can you ack\nack this for 3.6.5? Is the solution working well in the case of a single range, which I believe many customers have? (In reply to Yaniv Kaul from comment #20) > Is the solution working well in the case of a single range, which I believe > many customers have? Yes, each range maintains its own startingLocationWhenSearchingForUnusedMac to make sure that an address is reused only after all its range peers have been reused. there are obvious early reuse if one of the ranges is almost full, though) Verified on - 3.6.5.1-0.1.el6 no need to clone this bug, as it was already fixed upstream and verified in comment 22. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-1743.html |