Merge lp:~blake-rouse/maas/fix-1516722 into lp:~maas-committers/maas/trunk
Proposed by
Blake Rouse
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Blake Rouse | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 4507 | ||||
Proposed branch: | lp:~blake-rouse/maas/fix-1516722 | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
98 lines (+67/-13) 1 file modified
src/maasserver/migrations/0182_initial_networking_layout.py (+67/-13) |
||||
To merge this branch: | bzr merge lp:~blake-rouse/maas/fix-1516722 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andres Rodriguez (community) | Approve | ||
Review via email: mp+277877@code.launchpad.net |
Commit message
Modify the initial networking migration to use the orm only from the migration, instead of using the current node model from source.
Description of the change
I have tested this on upgrade from 1.8 to 1.9. This fixes the issue as previous the upgrade broke.
This does not have unit tests because they would have to be skipped anyway because the model is now different.
To post a comment you must log in.
lgtm!
So when this lands we need to test in real deployments
upgrade from 1.7 to 1.9
upgrade from 1.8 to 1.9
upgrade from 1.9 to 1.9
I'll prepare rc2 and test some of this later today.
Thanks.