[2.0a1] After upgrade form 1.10, dhcpd is enabled on wrong interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
dhcpd.conf can be found in: http://
dhcpd-interfaces has virbr2 instead of virbr0
#syslog:
Mar 2 17:57:10 unleashed maas.service_
Mar 2 17:57:10 unleashed dhcpd[31420]: Wrote 0 class decls to leases file.
Mar 2 17:57:10 unleashed dhcpd[31420]: Wrote 0 deleted host decls to leases file.
Mar 2 17:57:10 unleashed dhcpd[31420]: Wrote 0 new dynamic host decls to leases file.
Mar 2 17:57:10 unleashed dhcpd[31420]: Wrote 1 leases to leases file.
Mar 2 17:57:10 unleashed dhcpd[31420]:
Mar 2 17:57:10 unleashed dhcpd[31420]: No subnet declaration for virbr2 (192.168.133.1).
Mar 2 17:57:10 unleashed dhcpd[31420]: ** Ignoring requests on virbr2. If this is not what
Mar 2 17:57:10 unleashed dhcpd[31420]: you want, please write a subnet declaration
Mar 2 17:57:10 unleashed dhcpd[31420]: in your dhcpd.conf file for the network segment
Mar 2 17:57:10 unleashed dhcpd[31420]: to which interface virbr2 is attached. **
Mar 2 17:57:10 unleashed dhcpd[31420]:
Mar 2 17:57:10 unleashed dhcpd[31420]:
Mar 2 17:57:10 unleashed dhcpd[31420]: Not configured to listen on any interfaces!
Mar 2 17:57:10 unleashed dhcpd[31420]:
Mar 2 17:57:10 unleashed dhcpd[31420]: If you think you have received this message due to a bug rather
Mar 2 17:57:10 unleashed dhcpd[31420]: than a configuration issue please read the section on submitting
Mar 2 17:57:10 unleashed dhcpd[31420]: bugs on either our web page at www.isc.org or in the README file
Mar 2 17:57:10 unleashed dhcpd[31420]: before submitting a bug. These pages explain the proper
Mar 2 17:57:10 unleashed dhcpd[31420]: process and the information we find helpful for debugging..
Mar 2 17:57:10 unleashed dhcpd[31420]:
Mar 2 17:57:10 unleashed dhcpd[31420]: exiting.
[...]
roaksoax@
● maas-dhcpd.service - MAAS instance of ISC DHCP server for IPv4
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Wed 2016-03-02 17:59:50 EST; 1min 7s ago
Docs: man:dhcpd(8)
Process: 2006 ExecStart=/bin/sh -ec INTERFACES=$(cat /var/lib/
Process: 2002 ExecStartPre=
Process: 1998 ExecStartPre=
Process: 1993 ExecStartPre=
Process: 1988 ExecStartPre=
Main PID: 2006 (code=exited, status=1/FAILURE)
Mar 02 17:59:49 unleashed systemd[1]: Starting MAAS instance of ISC DHCP server for IPv4...
Mar 02 17:59:49 unleashed systemd[1]: Started MAAS instance of ISC DHCP server for IPv4.
Mar 02 17:59:49 unleashed dhcpd[2006]: Wrote 0 class decls to leases file.
Mar 02 17:59:49 unleashed dhcpd[2006]: Wrote 0 deleted host decls to leases file.
Mar 02 17:59:49 unleashed dhcpd[2006]: Wrote 0 new dynamic host decls to leases file.
Mar 02 17:59:49 unleashed dhcpd[2006]: Wrote 1 leases to leases file.
Mar 02 17:59:50 unleashed systemd[1]: maas-dhcpd.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 17:59:50 unleashed systemd[1]: maas-dhcpd.service: Unit entered failed state.
Mar 02 17:59:50 unleashed systemd[1]: maas-dhcpd.service: Failed with result 'exit-code'.
Related branches
- Andres Rodriguez (community): Approve
-
Diff: 80 lines (+54/-2)2 files modifiedsrc/maasserver/dhcp.py (+6/-2)
src/maasserver/tests/test_dhcp.py (+48/-0)
description: | updated |
Changed in maas: | |
importance: | Undecided → Critical |
summary: |
- [2.0a1] After upgrade form 1.10, dhcpd is + [2.0a1] After upgrade form 1.10, dhcpd is enabled on wrong interface |
description: | updated |
Changed in maas: | |
milestone: | none → 2.0.0 |
Changed in maas: | |
status: | New → Fix Committed |
status: | Fix Committed → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
interfaces read of rack controller: http:// paste.ubuntu. com/15270528/