[Bug 1649397] Re: maas-dhcpd.service won't start

2020-06-12 Thread Björn Tillenius
*** This bug is a duplicate of bug 1794882 ***
https://bugs.launchpad.net/bugs/1794882

This looks like a duplicate of bug 1794882, which is fixed in 2.7 and
2.8.

** This bug has been marked a duplicate of bug 1794882
   dhcpd doesn't start until maas-rackd is restarted

-- 
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

[Bug 1649397] Re: maas-dhcpd.service won't start

2020-06-05 Thread Vladimir Grevtsev
Got the same today with MAAS 2.6.2

$ sudo 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: failed (Result: exit-code) since Fri 2020-06-05 14:54:44 UTC; 24min 
ago
Condition: start condition failed at Fri 2020-06-05 15:16:18 UTC; 2min 30s ago
   └─ ConditionPathExists=/var/lib/maas/dhcpd.conf was not met
 Docs: man:dhcpd(8)
  Process: 1987 ExecStart=/bin/sh -ec  INTERFACES=$(cat 
/var/lib/maas/dhcpd-interfaces);  
LEASES_FILE=/var/lib/maas/dhcp/dhcpd.leases;  [ -e $L
  Process: 1971 ExecStartPre=/bin/mkdir -p /var/lib/maas/dhcp (code=exited, 
status=0/SUCCESS)
  Process: 1943 ExecStartPre=/bin/mkdir -p /run/maas/dhcp (code=exited, 
status=0/SUCCESS)
 Main PID: 1987 (code=exited, status=1/FAILURE)

Jun 05 14:54:44 OrangeBox84 dhcpd[1987]:
Jun 05 14:54:44 OrangeBox84 dhcpd[1987]: If you think you have received this 
message due to a bug rather
Jun 05 14:54:44 OrangeBox84 dhcpd[1987]: than a configuration issue please read 
the section on submitting
Jun 05 14:54:44 OrangeBox84 dhcpd[1987]: bugs on either our web page at 
www.isc.org or in the README file
Jun 05 14:54:44 OrangeBox84 dhcpd[1987]: before submitting a bug.  These pages 
explain the proper
Jun 05 14:54:44 OrangeBox84 dhcpd[1987]: process and the information we find 
helpful for debugging..
Jun 05 14:54:44 OrangeBox84 dhcpd[1987]:
Jun 05 14:54:44 OrangeBox84 dhcpd[1987]: exiting.
Jun 05 14:54:44 OrangeBox84 systemd[1]: maas-dhcpd.service: Main process 
exited, code=exited, status=1/FAILURE
Jun 05 14:54:44 OrangeBox84 systemd[1]: maas-dhcpd.service: Failed with result 
'exit-code'.


$ sudo systemctl restart maas-rackd.service
$ sudo service maas-dhcpd restart
$ sudo 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 Fri 2020-06-05 15:24:06 UTC; 1s ago

-- 
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

[Bug 1649397] Re: maas-dhcpd.service won't start

2020-01-06 Thread Merlijn Sebrechts
I have the same issue. `sudo systemctl restart maas-rackd.service`
worked for me.

Do you have any idea why this doesn't work automatically? I'm happy to
help debug if you let me know what information is needed.

-- 
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

[Bug 1649397] Re: maas-dhcpd.service won't start

2019-04-11 Thread Tim S
I experienced a similar issue when playing around with a test
installation of MAAS earlier.

Appearently I had disabled "managed allocation", which I believe needed
to be re-enabled before my controller would start dhpcd. Hopefully this
will turn up in search results for others facing the same problem where
just restarting the controller/service isn't enough :-)

- MAAS 2.5.0 (7442-gdf68e30a5-0ubuntu1) on 19.04
- Pretty fresh all-in-one regiond/rackd installation
- Simple untagged VLAN with DHCP enabled with the primary controller configured
- Was able to commission/deploy machines previously
- /var/lib/maas/dhpcd-interfaces had the correct interface from earlier
- Service wouldn't start due to ConditionPathExists=/var/lib/maas/dhpcd.conf 
(by design)

-- 
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

[Bug 1649397] Re: maas-dhcpd.service won't start

2017-07-04 Thread Julen Larrucea
The solution from chaitu worked for me:

sudo systemctl restart maas-rackd.service

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2017-05-09 Thread chaithu
Hi,

Faced the same issue where DHCPD is not starting .

easy solution is to restart rackd service. This created the file for me.

sudo systemctl maas-rackd.service restart

Hope this solution helps. :-)

Br
Chaithanya

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-13 Thread Andres Rodriguez
@James,

So, most of the test openstack deployments with MAAS are done in a flat
network. This, means that:

1. You at least have One Fabric, One "VLAN", One Subnet.
2. You have the Rack Controller NIC connected with an IP of the subnet above 
(which means that the NIC is in fabric/vlan above).

For example:

Rack Controller:
 - eth0 - fabric-0 - 'untagged' - 192.168.1.1

Subnets (tab):
 - fabric-0 - 'untagged' - 192.168.1.0/24

That said, to enable DHCP in the WebUI, you need to:

1. Click in 'Subnets' tab
2. Click in the 'untagged' VLAN for 'fabric-0'
3. Click on 'Take Action > Provide DHCP'.
4. Input parameters, i.e.:
4.1. Primary rack controller
4.2. Dynamic range/gateway (only if you don't have one already created for 
subnet 192.168.1.0/24).

To enable DHCP via the CLI (if you already have a *dynamic* range
created for the subnet):

maas sysadmin vlan update fabric-0 untagged dhcp_on=True
primary_rack=sf2-maas00

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-13 Thread james beedy
@andreserl, still confused as to why I can't add DHCP to a flat network
space, without applying @obecker's fix from #10?

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-13 Thread Andres Rodriguez
LaMont,

What you are describing is a completely different thing. If you see
https://bugs.launchpad.net/maas/+bug/1649397/comments/2 , the issue in
this bug is on a freshly installed MAAS. Your issue may be because you
didn't wait long enough for MAAS to instruct the Rack Controller to *re-
generate* the config file.

That said, MAAS does NOT run maas-dhcpd by default nor does provide a
dhcpd.conf by default on a fresh install.

dhcpd.conf is generated ONLY when DHCP is "enabled" on a specific VLAN
(which is completely a user action).

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-13 Thread LaMont Jones
One way to reproduce this issue (and the workaround):

1) Install and configure MAAS, with DHCP on at least one subnet on the rack
2) purge maas-rack-controller: this will remove /var/lib/maas/dhcpd.conf
3) reinstall maas-rack-controllerL: this will start the rack controller, but 
not recreate /var/lib/maas/dhcpd.conf

Note the lack of a dhcpd, due to no config file.

4) use the CLI to disable dhcp (example is fabric 0, untagged vlan): maas 
SESSION vlan 0 0 dhcp_on=False
5) use the CLI to enable dhcp (same fabric/vlan as #4): maas SESSION vlan 0 0 
dhcp_on=True

Note that we now have a working dhcpd.

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-13 Thread Olaf Becker
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 ? h

-- 
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

[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-13 Thread Olaf Becker
Andres this is a bug so stop closing things without my ok.

The MAAS is fully configured and operational. Since the latest patches it no 
longer works because some jack ass broke the code. 
I don't like it when people deploy code which is not signed off. 

So Andres leave this bug open because it certainly is a bug.

Olaf

-- 
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


Re: [Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-12 Thread Andres Rodriguez
James,

You need to configure DHCP on the "untagged"  VLAN. You need to have a rack
controller network interface connected to the "untagged" VLAN where you
want to provide DHCP for.


On Mon, Dec 12, 2016 at 6:30 PM james beedy  wrote:

> @andreserl, I think the problem may be partially due to the fact that we
>
> are trying to configure dhcp on a flat address space, not a vlan. Per
>
> your comments above, you only mention vlan, not flat networks, should
>
> this matter to any affect?
>
>
>
> --
>
> You received this bug notification because you are subscribed to MAAS.
>
> 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
>
>

-- 
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


Re: [Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-12 Thread Andres Rodriguez
Olaf,


Maas-DHCP fails to start because there is no dhcpd.conf file.

It doesn't exist because:

You may not have enabled DHCP on the VLAN (which needs a NIC on a rack
controller connected to, with an IP)
Or the rack controller is not fully connected.
On Mon, Dec 12, 2016 at 4:55 PM Olaf Becker <1649...@bugs.launchpad.net>
wrote:

> root@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: failed (Result: exit-code) since Mon 2016-12-12 21:32:20 UTC;
> 2min 38s ago
>
> Condition: start condition failed at Mon 2016-12-12 21:34:57 UTC; 1s ago
>
>ConditionPathExists=/var/lib/maas/dhcpd.conf was not met
>
>  Docs: man:dhcpd(8)
>
>   Process: 2933 ExecStart=/bin/sh -ec  INTERFACES=$(cat
> /var/lib/maas/dhcpd-interfaces);
> LEASES_FILE=/var/lib/maas/dhcp/dhcpd.leases;  [ -e $LEASES_FILE ] ||
> touch $LEASES_FILE;  /
>
>   Process: 2922 ExecStartPre=/bin/mkdir -p /var/lib/maas/dhcp
> (code=exited, status=0/SUCCESS)
>
>   Process: 2893 ExecStartPre=/bin/mkdir -p /run/maas/dhcp (code=exited,
> status=0/SUCCESS)
>
>  Main PID: 2933 (code=exited, status=1/FAILURE)
>
>
>
> Dec 12 21:32:19 sf2-maas00 systemd[1]: Starting MAAS instance of ISC DHCP
> server for IPv4...
>
> Dec 12 21:32:19 sf2-maas00 systemd[1]: Started MAAS instance of ISC DHCP
> server for IPv4.
>
> Dec 12 21:32:20 sf2-maas00 systemd[1]: maas-dhcpd.service: Main process
> exited, code=exited, status=1/FAILURE
>
> Dec 12 21:32:20 sf2-maas00 systemd[1]: maas-dhcpd.service: Unit entered
> failed state.
>
> Dec 12 21:32:20 sf2-maas00 systemd[1]: maas-dhcpd.service: Failed with
> result 'exit-code'.
>
>
>
>
>
> Ok even if you recreate the file with chmod maas:maas when ever you do a
> reboot of the box it is removed automatically even it should not be removed.
>
>
>
> --
>
> You received this bug notification because you are subscribed to MAAS.
>
> 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
>
>

-- 
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

[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-12 Thread james beedy
@andreserl, I think the problem may be partially due to the fact that we
are trying to configure dhcp on a flat address space, not a vlan. Per
your comments above, you only mention vlan, not flat networks, should
this matter to any affect?

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-12 Thread james beedy
@andreserl yea, I can't get dhcp to light up for the life of me

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-12 Thread james beedy
DHCP will not start, e.g. no green light on the controller on initial
install of MAAS.

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-12 Thread Olaf Becker
root@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: failed (Result: exit-code) since Mon 2016-12-12 21:32:20 UTC; 2min 
38s ago
Condition: start condition failed at Mon 2016-12-12 21:34:57 UTC; 1s ago
   ConditionPathExists=/var/lib/maas/dhcpd.conf was not met
 Docs: man:dhcpd(8)
  Process: 2933 ExecStart=/bin/sh -ec  INTERFACES=$(cat 
/var/lib/maas/dhcpd-interfaces);  
LEASES_FILE=/var/lib/maas/dhcp/dhcpd.leases;  [ -e $LEASES_FILE ] || touch 
$LEASES_FILE;  /
  Process: 2922 ExecStartPre=/bin/mkdir -p /var/lib/maas/dhcp (code=exited, 
status=0/SUCCESS)
  Process: 2893 ExecStartPre=/bin/mkdir -p /run/maas/dhcp (code=exited, 
status=0/SUCCESS)
 Main PID: 2933 (code=exited, status=1/FAILURE)

Dec 12 21:32:19 sf2-maas00 systemd[1]: Starting MAAS instance of ISC DHCP 
server for IPv4...
Dec 12 21:32:19 sf2-maas00 systemd[1]: Started MAAS instance of ISC DHCP server 
for IPv4.
Dec 12 21:32:20 sf2-maas00 systemd[1]: maas-dhcpd.service: Main process exited, 
code=exited, status=1/FAILURE
Dec 12 21:32:20 sf2-maas00 systemd[1]: maas-dhcpd.service: Unit entered failed 
state.
Dec 12 21:32:20 sf2-maas00 systemd[1]: maas-dhcpd.service: Failed with result 
'exit-code'.


Ok even if you recreate the file with chmod maas:maas when ever you do a reboot 
of the box it is removed automatically even it should not be removed.

-- 
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

[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-12 Thread Olaf Becker
This happens with the latest official version. We did build 2 different
MAAS Server / Controller and both boxes independently came to the same
result. DHCP somehow is broken.

Bug is confirmed

Olaf B (CRACK CCC Germany)

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-12 Thread Andres Rodriguez
Going to mark this invalid in the meantime, because:

1. The dhcpd service will be automatically started by MAAS
2. It will only be started if a config file has been generated.
3. For a rack controller to generate a config, there must be:
  * DHCP enabled (on the VLAN)
  * Rack Controller has an interface on the VLAN where DHCP was enabled
  * Rack controller is *fully* connected.

So, I suggest you check the rack controller's status page to see if it
is fully connected. If there's an issue (i.e. region not fully running
or rack not fully running, that's what it may be).

** Changed in: maas
   Status: New => Invalid

** Changed in: maas (Ubuntu)
   Status: New => Invalid

-- 
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


[Bug 1649397] Re: maas-dhcpd.service won't start

2016-12-12 Thread Olaf Becker
** Also affects: maas (Ubuntu)
   Importance: Undecided
   Status: New

-- 
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