[MAAS 2.1.2] Issue with adding routes to hosts via maas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Medium
|
Unassigned | ||
curtin |
Fix Released
|
Medium
|
Unassigned | ||
curtin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned |
Bug Description
==== Begin SRU Template ========
[Impact]
System configuration of networking with static routes did not
work properly. Systems where static routes were necessary would
install but not come up with the desired networking.
[Test Case]
Run curtin vmtest on tests/vmtests/
These tests show the failure without a patched curtin,
and passing verifies the fix.
[Regression Potential]
Likeliest path to regression would be in failure of other network
configurations.
[Other Info]
==== End SRU Template ========
I'm trying to set routes for a subnet and have them be passed to a host during provision.
This fails due to formatting issues in the /etc/network/
I've attached both /etc/network/
roaksoax suggested this was a curtin issue, but would still be tracked here.
Please let me know if you need anymore information.
Thanks,
Brandon
Related branches
- Server Team CI bot: Approve (continuous-integration)
- Ryan Harper (community): Approve
- Wesley Wiedenmeier (community): Needs Fixing
-
Diff: 190 lines (+148/-1)5 files modifiedcurtin/net/__init__.py (+1/-1)
examples/tests/network_static_routes.yaml (+27/-0)
tests/unittests/test_net.py (+47/-0)
tests/vmtests/test_network.py (+23/-0)
tests/vmtests/test_network_static_routes.py (+50/-0)
- cloud-init Commiters: Pending requested
-
Diff: 57 lines (+46/-0)1 file modifiedtests/unittests/test_net.py (+46/-0)
Changed in maas: | |
status: | Confirmed → Triaged |
Changed in maas: | |
status: | Triaged → Invalid |
tags: | added: maas |
Changed in curtin: | |
status: | Confirmed → In Progress |
Changed in curtin: | |
status: | In Progress → Fix Committed |
Changed in curtin (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Changed in curtin (Ubuntu Xenial): | |
status: | New → Confirmed |
description: | updated |
Changed in curtin (Ubuntu Yakkety): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in curtin (Ubuntu Xenial): | |
importance: | Undecided → Medium |
tags: |
added: verification-done-xenial verification-needed-yakkety removed: verification-done |
I doubt that it's the correct fix, but I've attached the change I've made to my local install to get this working again.
Thanks!