Merge lp:~rvb/maas/bug-1456892 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: | 3920 |
Proposed branch: | lp:~rvb/maas/bug-1456892 |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
39 lines (+18/-0) 2 files modified
src/maasserver/utils/osystems.py (+5/-0) src/maasserver/utils/tests/test_osystems.py (+13/-0) |
To merge this branch: | bzr merge lp:~rvb/maas/bug-1456892 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+259737@code.launchpad.net |
Commit message
Do not break the computation of the initial distro series if the OS associated with a node isn't part of the list of supported OS.
Description of the change
This is simple defensive programming: avoid breaking when the OS associated with a node isn't part of the list of supported OSes. Note that this may be indicative of a bigger problem… and the deployment might fail but things should obviously break in get_distro_
To post a comment you must log in.