Hello,
I had the same issue today with version 15.1R3
You may be facing this bug :
https://prsearch.juniper.net/InfoCenter/index?page=prcontent&id=PR1222504
On EX Series or QFX Series switches, if the switch is power cycled, then some processes (such as jdhcp, lacp, and lldpd) might stop working after the switch reboots.
Resolved In Release junos
16.1R4-S3 x
17.1R2 x
17.2R1 x
16.1R3-S4 x
16.2R2 x
15.1R6 x
16.1R5 x
15.1X53-D65 x
15.1X53-D231 x
Workaround
First disable the DHCP/LACP/LLDP config which does not work
Then on shell:
# cd /var/run/db
# rm schema.db.cache
# mgd -I
# ps -auxw | grep mgd
# kill -9 "pid of mgd -N" <------- "Restart mgd -N". After this step only "mgd -N" will pick the new schema.db and now when we start new cli, "mgd -N" will fork service mgd with new schema.db
Now enter the cli and enable DHCP/LACP/LLDP config and commit | display detail