Erwan, I think your trying to do this in the developer environment? Most developers on MAAS just install it in a lxd container to test new code with a running DHCP server. Its much easier to do it that way, instead of getting DHCP to work correctly in a development environment.
https://docs.ubuntu.com/maas/2.1/en/installconfig-lxd-install Hope that helps. Thanks, Blake On Tue, Apr 11, 2017 at 2:50 PM, Mike Pontillo <[email protected]> wrote: > On Tue, Apr 11, 2017 at 10:46 AM, Erwan MAS <[email protected]> wrote: >> >> What i did : >> I clicked on the subnet ip , added a dynamic range . >> CLick on untagged vlan , click on 'provide dhcp' >> >> I checked with this command >> sudo find / -name \*dhcp\*conf -ls >> no modified files and no new files >> >> And the command bin/maas-rack generate-dhcp-config , does not exist >> anymore >> >> What i must do ? >> > > Hi Erwan, > > The MAAS rack controller should create /var/lib/maas/dhcpd.conf when > DHCP is enabled. If you have enabled DHCP on a VLAN containing a subnet > with a dynamic range defined and you don't see it, you might be hitting a > bug. > > Can you run the following command: > > sudo tail -f /var/log/maas/*.log > > ... then disable and re-enable DHCP on your VLAN, and check if anything > unusual is in the log? That might indicate if an error occurred while > writing the DHCP configuration. > > You might also check /var/log/syslog to see if the DHCP server is > reporting any errors. > > Thanks, > Mike > > > -- > Maas-devel mailing list > [email protected] > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/maas-devel > >
-- Maas-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/maas-devel
