Merge lp:~mpontillo/maas/fix-map-interfaces-by-mac-failure-with-bond-driver-loaded into lp:~maas-committers/maas/trunk
Proposed by
Mike Pontillo
Status: | Merged |
---|---|
Approved by: | Mike Pontillo |
Approved revision: | no longer in the source branch. |
Merged at revision: | 4025 |
Proposed branch: | lp:~mpontillo/maas/fix-map-interfaces-by-mac-failure-with-bond-driver-loaded |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
28 lines (+7/-4) 1 file modified
etc/maas/templates/deployment-user-data/maas_configure_interfaces.py (+7/-4) |
To merge this branch: | bzr merge lp:~mpontillo/maas/fix-map-interfaces-by-mac-failure-with-bond-driver-loaded |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | Approve | ||
Review via email: mp+262154@code.launchpad.net |
Commit message
Make map_interfaces_
Description of the change
The unit tests fail as follows when the bonding driver is loaded, and no bond interfaces are configured:
http://
I'm not certain, but I think this may fail in production if the bonding driver is loaded. If so, this is a critical bug that should be backported to 1.8.
To post a comment you must log in.
Looks good, defensive programming FTW. Can you confirm that this is indeed a critical bug? Tweak the preseed to load the bonding driver and make sure the deploy fails. If it fails (and this fixes the problem), let's file a critical bug, add a mention to the 1.8.0 changelog and backport this to 1.8.