Unable to apply netplan configuration in ephemeral environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Lee Trager | ||
2.6 |
Fix Released
|
Critical
|
Lee Trager | ||
maas-images |
Fix Released
|
Critical
|
Lee Trager | ||
systemd |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
During ephemeral deployments and network validation testing MAAS boots into an Ubuntu ephemeral environment and applies user provided network configuration. Because the system is booting from the standard Ubuntu cloud image[1]. The system boots, cloud-init creates a stock DHCP network config, and MAAS applies custom network configuration when user_data is proceed by cloud-init.
While basic network configuration such as DHCP and setting a static IP address works, bonds[2] and aliases[3] never come up. Additionally netplan apply returns 0 so this is not detected as a failure(LP:1701434).
netplan apply --debug gives no additional information
[1] http://
[2] http://
[3] http://
Related branches
- MAAS Maintainers: Pending requested
-
Diff: 3421 lines (+1314/-676) (has conflicts)36 files modified.eslintrc.js (+3/-0)
Makefile (+7/-0)
debian/changelog (+11/-1)
debian/copyright (+0/-4)
dev/null (+0/-631)
jest.config.js (+6/-0)
package.json (+16/-0)
src/maasserver/models/signals/scriptresult.py (+6/-0)
src/maasserver/models/signals/tests/test_scriptresult.py (+13/-0)
src/maasserver/static/js/angular/controllers/pods_list.js (+5/-0)
src/maasserver/static/js/angular/controllers/settings.js (+114/-0)
src/maasserver/static/js/angular/controllers/tests/test_pods_list.js (+5/-0)
src/maasserver/static/js/angular/controllers/tests/test_settings.js (+264/-0)
src/maasserver/static/js/angular/controllers/tests/test_zones_list.js (+4/-0)
src/maasserver/static/js/angular/directives/machines_table.js (+31/-9)
src/maasserver/static/js/angular/directives/script_status.js (+3/-0)
src/maasserver/static/js/angular/directives/tests/test_machines_table.js (+30/-0)
src/maasserver/static/js/angular/entry.js (+1/-7)
src/maasserver/static/js/bundle/maas-min.js (+4/-0)
src/maasserver/static/js/bundle/maas-min.js.map (+5/-1)
src/maasserver/static/js/bundle/vendor-min.js (+4/-0)
src/maasserver/static/js/bundle/vendor-min.js.map (+5/-1)
src/maasserver/static/partials/dashboard.html (+1/-1)
src/maasserver/static/partials/machines-table.html (+24/-2)
src/maasserver/static/partials/networks-list.html (+2/-2)
src/maasserver/static/partials/node-events.html (+1/-1)
src/maasserver/static/partials/nodes-list.html (+66/-2)
src/maasserver/static/partials/pods-list.html (+5/-0)
src/maasserver/static/partials/subnet-details.html (+1/-1)
src/maasserver/static/partials/switches-table.html (+1/-1)
src/maasserver/static/partials/zones-list.html (+6/-0)
src/maasserver/testing/html-loader.js (+0/-0)
src/metadataserver/user_data/templates/snippets/maas_run_remote_scripts.py (+8/-0)
src/metadataserver/user_data/templates/snippets/tests/test_maas_run_remote_scripts.py (+20/-0)
src/provisioningserver/utils/version.py (+4/-0)
yarn.lock (+638/-12)
- Lee Trager (community): Approve
-
Diff: 256 lines (+77/-18)3 files modifiedsrc/metadataserver/tests/test_api.py (+3/-4)
src/metadataserver/tests/test_vendor_data.py (+53/-12)
src/metadataserver/vendor_data.py (+21/-2)
- Newell Jensen (community): Approve
-
Diff: 256 lines (+77/-18)3 files modifiedsrc/metadataserver/tests/test_api.py (+3/-4)
src/metadataserver/tests/test_vendor_data.py (+53/-12)
src/metadataserver/vendor_data.py (+21/-2)
summary: |
- Ephemeral deployment does not apply bonds + Unable to apply netplan configuration in ephemeral environment |
description: | updated |
description: | updated |
Changed in maas: | |
status: | Invalid → Fix Committed |
Changed in maas: | |
milestone: | none → 2.7.0b1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
A file exists in /run/netplan which marks the PXE boot interface as critical. Removing this file and running netplan apply does not allow a bond to be created.