MAAS generates netplan with illegal autoconf and accept_ra flags for 22.04
Bug #2018149 reported by
Boris Lukashev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Committed
|
Medium
|
Alberto Donato |
Bug Description
When configuring bonds through the CLI (API), we normally add accept_ra=false autoconf=false parameters - produces:
```
version: 2
vlans:
bond0.223:
```
Turns out, this is illegal on 22.04:
```
/var/log/
```
which prevents nodes from completing provisioning.
Might be worth implementing a filter for the parameter to exclude it from OS' which don't support it as it completely cuts the node off from comms until placed into rescue mode by maas.
Related branches
~ack/maas:2018149-netplan-bool
- MAAS Lander: Approve
- Christian Grabowski: Approve
- Anton Troyanov: Approve
-
Diff: 342 lines (+68/-60)3 files modifiedsrc/maasserver/models/tests/test_node.py (+1/-1)
src/maasserver/preseed_network.py (+54/-58)
src/maasserver/tests/test_preseed_network.py (+13/-1)
~ack/maas:drop-interface-autoconf-param
- Björn Tillenius: Approve
- MAAS Lander: Approve
- Alexsander de Souza: Approve
-
Diff: 234 lines (+30/-34)6 files modifiedsrc/maasserver/api/interfaces.py (+0/-15)
src/maasserver/forms/interface.py (+0/-2)
src/maasserver/forms/tests/test_interface.py (+3/-14)
src/maasserver/migrations/maasserver/0304_interface_params_no_autoconf.py (+27/-0)
src/maasserver/models/tests/test_node.py (+0/-1)
src/maasserver/tests/test_preseed_network.py (+0/-2)
summary: |
- MAAS generates netplan with illegal accept_ra flag for 22.04 + MAAS generates netplan with illegal autoconf and accept_ra flags for + 22.04 |
Changed in maas: | |
assignee: | nobody → Alberto Donato (ack) |
Changed in maas: | |
milestone: | none → 3.4.0 |
Changed in maas: | |
status: | Incomplete → Fix Committed |
Changed in maas: | |
status: | Fix Committed → In Progress |
importance: | Undecided → Medium |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta2 |
To post a comment you must log in.
I guess this should be called "accept-ra: false" instead? /netplan. readthedocs. io/en/stable/ netplan- yaml/#propertie s-for-all- device- types
https:/