DHCP service start failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In neutron.conf, I set 'force_
subnet' CIDR, I found a error happen in dhcp.log, the log is bellow:
[-] Unable to enable dhcp for af572283-
Traceback (most recent call last):
File "/usr/lib64/
getattr(
File "/usr/lib64/
reuse_
File "/usr/lib64/
self.
File "/usr/lib64/
device.
File "/usr/lib64/
self.
File "/usr/lib64/
kwargs.
File "/usr/lib64/
namespace)
File "/usr/lib64/
root_
File "/usr/lib64/
raise RuntimeError(m)
RuntimeError:
Command: ['sudo', '/usr/bin/
Exit code: 2
Stdout: ''
Stderr: 'RTNETLINK answers: No such process\n'
TRACE neutron.
Hi shihanzhang,
Looking at the error code, I feel that its expected as there is no route to reach the default gateway in the dhcp namespace.
I'm trying to understand the use-case, like what you plan to do by configuring a subnet with default gateway set to a value which is not part of the subnet CIDR. Please provide some details about your use-case.
--Sridhar.