dhcpd.conf not written due to byte size of hosts value in rpc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
Medium
|
Unassigned | ||
3.3 |
Triaged
|
Medium
|
Unassigned |
Bug Description
I am using version 2.8.7-8611-
MaaS stops being able to write the dhcpd.conf and never starts the dhcpd service.
Taking a look at the python module used by MaaS it appears there is a 64k byte limit.
2022-06-17 16:33:30 maasserver.dhcp: [critical] Error configuring DHCPv4 on rack controller 'maas-server (7gyesb)':
Traceback (most recent call last):
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
timeout, self._conn.
File "/usr/lib/
d = maybeDeferred(func, *args, **kwargs)
--- <exception caught here> ---
File "/usr/lib/
result = f(*args, **kw)
File "/usr/lib/
return co._doCommand(self)
File "/usr/lib/
self.
File "/usr/lib/
command, box, requiresAnswer=
File "/usr/lib/
box.
File "/usr/lib/
proto.
File "/usr/lib/
self.
File "/usr/lib/
raise TooLong(False, True, v, k)
twisted.
Changed in maas: | |
milestone: | 3.3.0 → 3.4.0 |
tags: | added: amp dhcp |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |
Hi,
can you share some characteristics of your setup?
1) number of subnets
2) number of hosts
3) are you using DHCP snippets?