dhcpd with multiple interfaces on 2.8b3 snap doesn't start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato |
Bug Description
Hello,
installed: 2.8.0~beta3-
I have the controller serving 2 subnets. If I enable DHCP on only one at a time things work on whichever is enabled, but if I try to enable DHCP on more than 1 interface I get something like the following error:
2020-05-
2020-05-
2020-05-
2020-05-
2020-05-
2020-05-
2020-05-
2020-05-
2020-05-
Which looks like it's treating the dhcpd-interfaces file contents as a single string. Just to try something quick, I modified the run-dhcpd supervisord script and pointed the config to a modifiable location to remove the quotes around "$INTERFACES". Once I did that, things seem to start and work fine.
--- /snap/maas/
+++ /var/snap/
@@ -23,4 +23,4 @@
touch "$LEASES_FILE"
"$SNAP/
-exec "$SNAP/
+exec "$SNAP/
Cheers,
Mark
Related branches
- Dougal Matthews (community): Approve
- MAAS Lander: Approve
- Adam Collard (community): Approve
-
Diff: 39 lines (+6/-7)2 files modifiedsnap/local/tree/bin/run-dhcpd (+3/-3)
snap/local/tree/bin/run-dhcpd6 (+3/-4)
Changed in maas: | |
milestone: | none → 2.8.0b4 |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Alberto Donato (ack) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |