Merge lp:~ltrager/maas/otheros_qwerks into lp:~maas-committers/maas/trunk
Status: | Merged |
---|---|
Approved by: | Lee Trager |
Approved revision: | no longer in the source branch. |
Merged at revision: | 4429 |
Proposed branch: | lp:~ltrager/maas/otheros_qwerks |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
376 lines (+152/-23) 11 files modified
docs/networking.rst (+2/-1) docs/storage.rst (+5/-4) src/maasserver/preseed.py (+16/-3) src/maasserver/static/js/angular/controllers/node_details.js (+14/-0) src/maasserver/static/js/angular/controllers/tests/test_node_details.js (+18/-0) src/maasserver/static/partials/node-details.html (+16/-2) src/maasserver/testing/factory.py (+16/-0) src/maasserver/tests/test_forms_commissioning.py (+1/-5) src/maasserver/tests/test_preseed.py (+31/-3) src/maasserver/utils/osystems.py (+9/-2) src/maasserver/utils/tests/test_osystems.py (+24/-3) |
To merge this branch: | bzr merge lp:~ltrager/maas/otheros_qwerks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Review via email: mp+276043@code.launchpad.net |
Commit message
Only pass custom storage and networking options to curtin if the OS is supported
Description of the change
When generating the preseed data to pass to curtin check if the osystem is Ubuntu. If it isn't warn the user and pass no storage and networking data. In the absence of data this tells curtin to use a flat storage layout and the OS networking default configuration.
In the UI we also display a warning to the user in both the networking and storage section telling them that the shown configuration was not used on the due to an OS other than Ubuntu being used. We currently have no way of informing CLI users this so I added a note in the documentation.
I also came across a bug where when deploying a non Ubuntu OS with min_hwe_kernel set we were deploying with the commissioning OS(trusty) and the default kernel(hwe-t). This patch also ensures that when a non-Ubuntu OS is deployed min_hwe_kernel is respected during deployment.
Looks good. Got some comments that need to be addressed. Not going to block you on landing this branch because of the issues. just fix them before landing. Mainly the extra MockNeverCalled? Don't know if that is any different than MockNotCalled.