Merge lp:~rvb/maas/maas-ip-assign-bug-1438218 into lp:~maas-committers/maas/trunk
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3756 |
Proposed branch: | lp:~rvb/maas/maas-ip-assign-bug-1438218 |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
67 lines (+17/-6) 3 files modified
src/maasserver/models/staticipaddress.py (+5/-5) src/maasserver/models/tests/test_staticipaddress.py (+12/-0) src/maasserver/utils/orm.py (+0/-1) |
To merge this branch: | bzr merge lp:~rvb/maas/maas-ip-assign-bug-1438218 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | Approve | ||
Blake Rouse (community) | Approve | ||
Review via email: mp+254746@code.launchpad.net |
Commit message
When acquiring a static IP address before deployment, leverage the retry mechanism to grab another IP address if it's been snatched from under us by another transaction.
Description of the change
Without this change, the whole transaction would fail to grab a second IP address because it would have been broken by the first error encountered (the IntegrityError).
To post a comment you must log in.
Damn it... the whack-a-mole begins.