** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1497522
Title:
DHCP agent fail if create a subnet startwitch "224.x.x.x"
Status in neutron:
Fix Released
Bug description:
When we create a subnet, neutron-server just check the subnet validation, if
we create a subnet startwitch '224.x.x.x',
for example: neutron subnet-create dhcp-test 224.0.0.0/16, but dhcp-agent
will fail, the error log as bellow:
[-] Unable to enable dhcp for c07785a5-aa25-4939-b74f-481c1158ebcd.
Traceback (most recent call last):
File "/opt/stack/neutron/neutron/agent/dhcp/agent.py", line 115, in
call_driver
getattr(driver, action)(**action_kwargs)
File "/opt/stack/neutron/neutron/agent/linux/dhcp.py", line 203, in enable
interface_name = self.device_manager.setup(self.network)
File "/opt/stack/neutron/neutron/agent/linux/dhcp.py", line 1212, in setup
self._set_default_route(network, interface_name)
File "/opt/stack/neutron/neutron/agent/linux/dhcp.py", line 1015, in
_set_default_route
device.route.add_gateway(subnet.gateway_ip)
File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 584, in
add_gateway
self._as_root([ip_version], tuple(args))
File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 280, in
_as_root
use_root_namespace=use_root_namespace)
File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 80, in
_as_root
log_fail_as_error=self.log_fail_as_error)
File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 89, in
_execute
log_fail_as_error=log_fail_as_error)
File "/opt/stack/neutron/neutron/agent/linux/utils.py", line 160, in execute
raise RuntimeError(m)
RuntimeError:
Command: ['ip', 'netns', 'exec',
u'qdhcp-c07785a5-aa25-4939-b74f-481c1158ebcd', 'ip', '-4', 'route', 'replace',
'default', 'via', u'224.0.0.1',
Exit code: 2
Stdin:
Stdout:
Stderr: RTNETLINK answers: Network is unreachable
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497522/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp