Merge lp:~jtv/maas/1.2-bug-1070775 into lp:maas/1.2
Proposed by
Jeroen T. Vermeulen
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1277 |
Proposed branch: | lp:~jtv/maas/1.2-bug-1070775 |
Merge into: | lp:maas/1.2 |
Diff against target: |
156 lines (+124/-0) 2 files modified
src/maasserver/forms.py (+26/-0) src/maasserver/tests/test_forms.py (+98/-0) |
To merge this branch: | bzr merge lp:~jtv/maas/1.2-bug-1070775 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+132054@code.launchpad.net |
Commit message
Disallow nodegroup (DNS zone) name changes while allocated nodes are still using that zone name.
Description of the change
This fixes bug 1070775, after discussion with Raphaël: changing a NodeGroup.name will confuse Juju when it has nodes in use in that nodegroup — at least if we're managing DNS for that nodegroup. If we're not managing DNS, we can only assume that the admin knows what they're doing.
I'll be forward-porting this to trunk as well.
Jeroen
To post a comment you must log in.