Installing maas-dhcp without configuring any interfaces results in log spam
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Medium
|
Unassigned |
Bug Description
Until I get to the point where I actually enable MAAS to manage DHCP for a network, I get the following error over and over in my syslog until it aborts:
Nov 3 16:49:47 malzinho dhcpd: Wrote 0 leases to leases file.
Nov 3 16:49:47 malzinho dhcpd:
Nov 3 16:49:47 malzinho dhcpd: No subnet declaration for eth0 (10.99.1.1).
Nov 3 16:49:47 malzinho dhcpd: ** Ignoring requests on eth0. If this is not what
Nov 3 16:49:47 malzinho dhcpd: you want, please write a subnet declaration
Nov 3 16:49:47 malzinho dhcpd: in your dhcpd.conf file for the network segment
Nov 3 16:49:47 malzinho dhcpd: to which interface eth0 is attached. **
[...]
Nov 3 16:49:48 malzinho dhcpd: Wrote 0 leases to leases file.
Nov 3 16:49:48 malzinho dhcpd:
Nov 3 16:49:48 malzinho dhcpd: No subnet declaration for eth0 (10.99.1.1).
Nov 3 16:49:48 malzinho dhcpd: ** Ignoring requests on eth0. If this is not what
Nov 3 16:49:48 malzinho dhcpd: you want, please write a subnet declaration
Nov 3 16:49:48 malzinho dhcpd: in your dhcpd.conf file for the network segment
Nov 3 16:49:48 malzinho dhcpd: to which interface eth0 is attached. **
Nov 3 16:49:48 malzinho dhcpd:
Nov 3 16:49:48 malzinho dhcpd:
Nov 3 16:49:48 malzinho dhcpd: No subnet declaration for wlan0 (192.168.99.183).
Nov 3 16:49:48 malzinho dhcpd: ** Ignoring requests on wlan0. If this is not what
Nov 3 16:49:48 malzinho dhcpd: you want, please write a subnet declaration
Nov 3 16:49:48 malzinho dhcpd: in your dhcpd.conf file for the network segment
Nov 3 16:49:48 malzinho dhcpd: to which interface wlan0 is attached. **
Nov 3 16:49:48 malzinho dhcpd:
Nov 3 16:49:48 malzinho dhcpd:
Nov 3 16:49:48 malzinho dhcpd: Not configured to listen on any interfaces!
Nov 3 16:49:48 malzinho kernel: [ 2627.392485] init: maas-dhcpd main process (14506) terminated with status 1
Nov 3 16:49:48 malzinho kernel: [ 2627.392506] init: maas-dhcpd main process ended, respawning
[...]
Nov 3 16:49:48 malzinho dhcpd: No subnet declaration for wlan0 (192.168.99.183).
Nov 3 16:49:48 malzinho dhcpd: ** Ignoring requests on wlan0. If this is not what
Nov 3 16:49:48 malzinho dhcpd: you want, please write a subnet declaration
Nov 3 16:49:48 malzinho dhcpd: in your dhcpd.conf file for the network segment
Nov 3 16:49:48 malzinho dhcpd: to which interface wlan0 is attached. **
Nov 3 16:49:48 malzinho dhcpd:
Nov 3 16:49:48 malzinho dhcpd:
Nov 3 16:49:48 malzinho dhcpd: Not configured to listen on any interfaces!
Nov 3 16:49:48 malzinho kernel: [ 2627.424477] init: maas-dhcpd main process (14519) terminated with status 1
Nov 3 16:49:48 malzinho kernel: [ 2627.424494] init: maas-dhcpd respawning too fast, stopped
The cluster should probably write an empty stanza when it first registers with the region.