Merge ~mpontillo/maas:commissioning-prevent-ip-creation-on-same-subnet--bug-1803188--2.4 into maas:2.4
Proposed by
Mike Pontillo
on 2018-12-11
Status: | Merged |
---|---|
Approved by: | Mike Pontillo on 2018-12-11 |
Approved revision: | cb149591de8a698dd578e041b25a1a7bbbd7b13d |
Merged at revision: | fab931122fd159f31eba70ea52618dfee715c6d9 |
Proposed branch: | ~mpontillo/maas:commissioning-prevent-ip-creation-on-same-subnet--bug-1803188--2.4 |
Merge into: | maas:2.4 |
Diff against target: |
94 lines (+51/-8) 2 files modified
src/maasserver/models/interface.py (+33/-8) src/maasserver/models/tests/test_interface.py (+18/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mike Pontillo (community) | Approve on 2018-12-11 | ||
MAAS Lander | unittests | Pending | |
Review via email:
|
Commit message
Backport 594f8f8bb: LP #1803188: Prevent creation of multiple IPs (per subnet, per interface) during commissioning.
In some situations, the IP address from the preboot environment differs
from the IP address acquired by the DHCP client during commissioning. This
results in MAAS linking the interface to the subnet twice, which is
unexpected and can cause problems for future usage of the machine.
To post a comment you must log in.
Self-approve backport.