sysadmin@sf2-maas00:~$ maas sysadmin  vlan update fabric-0 untagged 
dhcp_on=True primary_rack=sf2-maas00
 Success.
 Machine-readable output follows:
 {
     "mtu": 1500,
     "resource_uri": "/MAAS/api/2.0/vlans/0/",
     "fabric": "fabric-0",
     "name": "untagged",
     "secondary_rack": null,
     "id": 0,
     "external_dhcp": null,
     "vid": 0,
     "dhcp_on": true,
     "primary_rack": "s4x6ge"
 }

I had to run on the CLI this command above which now finally fixed the
DHCPD to start proper and no longer shows BLANK on the DHCPD...  still
don't make sense.

I also chatted with brendand about this issue.


now when I even do check a service status it shows it : 

sysadmin@sf2-maas00:~$ service maas-dhcpd status
● maas-dhcpd.service - MAAS instance of ISC DHCP server for IPv4
   Loaded: loaded (/lib/systemd/system/maas-dhcpd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Tue 2016-12-13 14:53:20 UTC; 32s ago
     Docs: man:dhcpd(8)
  Process: 3856 ExecStartPre=/bin/mkdir -p /var/lib/maas/dhcp (code=exited, 
status=0/SUCCESS)
  Process: 3853 ExecStartPre=/bin/mkdir -p /run/maas/dhcp (code=exited, 
status=0/SUCCESS)
 Main PID: 3859 (dhcpd)
    Tasks: 1
   Memory: 9.8M
      CPU: 72ms
   CGroup: /system.slice/maas-dhcpd.service
           └─3859 dhcpd -user dhcpd -group dhcpd -f -q -4 -pf 
/run/maas/dhcp/dhcpd.pid -cf /var/lib/maas/dhcpd.conf -lf 
/var/lib/maas/dhcp/dhcpd.leases em1

Dec 13 14:53:25 sf2-maas00 dhcpd[3859]: DHCPDISCOVER from 78:2b:cb:56:45:a2 via 
10.5.100.1
Dec 13 14:53:25 sf2-maas00 dhcpd[3859]: DHCPOFFER on 10.5.100.250 to 
78:2b:cb:56:45:a2 via 10.5.100.1
Dec 13 14:53:27 sf2-maas00 dhcpd[3859]: DHCPDISCOVER from 78:2b:cb:56:45:a2 via 
em1
Dec 13 14:53:27 sf2-maas00 dhcpd[3859]: DHCPOFFER on 10.5.100.250 to 
78:2b:cb:56:45:a2 via em1
Dec 13 14:53:27 sf2-maas00 dhcpd[3859]: DHCPDISCOVER from 78:2b:cb:56:45:a2 via 
10.5.100.1
Dec 13 14:53:27 sf2-maas00 dhcpd[3859]: DHCPOFFER on 10.5.100.250 to 
78:2b:cb:56:45:a2 via 10.5.100.1
Dec 13 14:53:31 sf2-maas00 dhcpd[3859]: DHCPDISCOVER from 78:2b:cb:56:45:a2 via 
em1
Dec 13 14:53:31 sf2-maas00 dhcpd[3859]: DHCPOFFER on 10.5.100.250 to 
78:2b:cb:56:45:a2 via em1
Dec 13 14:53:31 sf2-maas00 dhcpd[3859]: DHCPDISCOVER from 78:2b:cb:56:45:a2 via 
10.5.100.1
Dec 13 14:53:31 sf2-maas00 dhcpd[3859]: DHCPOFFER on 10.5.100.250 to 
78:2b:cb:56:45:a2 via 10.5.100.1


still leaves the issue why doesn't the GUI does it automatically ? hmmmm

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1649397

Title:
  maas-dhcpd.service won't start

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1649397/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to