yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43857
[Bug 1179713] Re: too many subnet-create cause q-dhcp failure
Reviewed: https://review.openstack.org/160214
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8f036fd34011bbf138815b21e2ef4c9760a5e0e6
Submitter: Jenkins
Branch: master
commit 8f036fd34011bbf138815b21e2ef4c9760a5e0e6
Author: watanabe isao <watanabe_isao@xxxxxxxxxxxxxx>
Date: Tue Jun 30 14:36:40 2015 +0900
Mitigate restriction for fixed ips per dhcp port
When number of fixed ips per dhcp port exceeds max_fixed_ips_per_port,
a dhcp resync will be triggered.
The bug report stated how simply this issue can be triggered.
Moreover, "max_fixed_ips_per_port" value should be used for non-DHCP
port only and DHCP port is not affected by this parameter.
Change-Id: Iaa9ed6949383ba6a7ce0b3ffd9dcced663126317
Co-authored-by: NGUYEN TUONG THANH <thanhnt@xxxxxxxxxxxxxx>
Closes-Bug: #1179713
** Changed in: neutron
Status: In Progress => 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/1179713
Title:
too many subnet-create cause q-dhcp failure
Status in neutron:
Fix Released
Bug description:
I create several subnets in my 'private' network:
quantum subnet-create private CIDR_{i} --verbose
the client keeps returning success. However, after the fifth attempt,
I see my dhcp agent spitting out nasty errors, like the one below:
2013-05-13 15:29:46 ERROR [quantum.agent.dhcp_agent] Unable to restart dhcp.
Traceback (most recent call last):
File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 130, in call_driver
getattr(driver, action)()
File "/opt/stack/quantum/quantum/agent/linux/dhcp.py", line 87, in restart
self.enable()
File "/opt/stack/quantum/quantum/agent/linux/dhcp.py", line 123, in enable
reuse_existing=True)
File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 530, in setup
port = self.plugin.get_dhcp_port(network.id, device_id)
File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 379, in get_dhcp_port
topic=self.topic))
File "/opt/stack/quantum/quantum/openstack/common/rpc/proxy.py", line 86, in call
return rpc.call(context, real_topic, msg, timeout)
File "/opt/stack/quantum/quantum/openstack/common/rpc/__init__.py", line 140, in call
return _get_impl().call(CONF, context, topic, msg, timeout)
File "/opt/stack/quantum/quantum/openstack/common/rpc/impl_kombu.py", line 798, in call
rpc_amqp.get_connection_pool(conf, Connection))
File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 615, in call
rv = list(rv)
File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 564, in __iter__
raise result
RemoteError: Remote error: InvalidInput Invalid input for operation: Exceeded maximim amount of fixed ips per port.
This happens with the ovs plugin, on master.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1179713/+subscriptions