2016-03-15 16:54:25 |
Stephen Eilert |
bug |
|
|
added bug |
2016-03-15 17:21:55 |
Stephen Eilert |
summary |
DHCP agent logging is too verbose |
DHCP agent logging is causing performance issues |
|
2016-03-15 17:29:29 |
Stephen Eilert |
description |
When a new port gets added or removed, the DHCP agent is currently dumping the entirety of the hosts file in the logs. This is a problem in some deployments we have encountered, some of which with upwards of 10000 ports.
Change-Id: I3ad7864eeb2f959549ed356a1e34fa18804395cc removed logging calls from inside the loop. It also added two new log calls: one at the beginning of the loop that builds the hosts file in memory and one at the end, that also includes the full content. Those could be useful pieces of debugging information. However, adding the host file contents can get expensive when there are large numbers of ports.
Will propose a patch to keep the log message, but remove the file contents. |
When a new port gets added or removed, the DHCP agent is currently dumping the entirety of the hosts file in the logs. This is a problem in some deployments we have encountered, some of which with upwards of 10000 ports.
Change-Id: I3ad7864eeb2f959549ed356a1e34fa18804395cc removed logging calls from inside the loop. It also added two new log calls: one at the beginning of the loop that builds the hosts file in memory and one at the end, that also includes the full content. Those could be useful pieces of debugging information. However, adding the host file contents can get expensive when there are large numbers of ports.
For large numbers of ports, it can take more than one hour for the agent to sync up. The log output contributes a significant amount of that time.
This was introduced in Liberty. One reviewer at the time had already expressed concerns about the impact of the log call.
Will propose a patch to keep the log message, but remove the file contents. |
|
2016-03-15 17:40:35 |
Stephen Eilert |
neutron: assignee |
|
Stephen Eilert (outworlder) |
|
2016-03-15 19:08:23 |
Brian Haley |
bug |
|
|
added subscriber Brian Haley |
2016-03-15 21:21:53 |
OpenStack Infra |
neutron: status |
New |
In Progress |
|
2016-03-16 12:37:23 |
Hirofumi Ichihara |
tags |
|
l3-ipam-dhcp |
|
2016-03-16 12:38:01 |
Hirofumi Ichihara |
tags |
l3-ipam-dhcp |
l3-ipam-dhcp loadimpact logging |
|
2016-03-16 12:38:06 |
Hirofumi Ichihara |
neutron: importance |
Undecided |
Low |
|
2016-03-22 06:13:38 |
Gary Kotton |
neutron: importance |
Low |
High |
|
2016-03-22 06:14:16 |
Gary Kotton |
tags |
l3-ipam-dhcp loadimpact logging |
l3-ipam-dhcp loadimpact logging mitaka-rc-potential |
|
2016-03-22 07:24:33 |
OpenStack Infra |
neutron: status |
In Progress |
Fix Released |
|
2016-03-23 20:34:26 |
OpenStack Infra |
tags |
l3-ipam-dhcp loadimpact logging mitaka-rc-potential |
in-stable-liberty l3-ipam-dhcp loadimpact logging mitaka-rc-potential |
|
2016-04-08 23:21:19 |
OpenStack Infra |
tags |
in-stable-liberty l3-ipam-dhcp loadimpact logging mitaka-rc-potential |
in-stable-liberty in-stable-mitaka l3-ipam-dhcp loadimpact logging mitaka-rc-potential |
|
2016-04-21 23:32:42 |
OpenStack Infra |
tags |
in-stable-liberty in-stable-mitaka l3-ipam-dhcp loadimpact logging mitaka-rc-potential |
in-stable-kilo in-stable-liberty in-stable-mitaka l3-ipam-dhcp loadimpact logging mitaka-rc-potential |
|
2016-05-09 11:43:44 |
Dave Walker |
nominated for series |
|
neutron/kilo |
|
2016-05-09 11:43:45 |
Dave Walker |
bug task added |
|
neutron/kilo |
|
2016-05-27 16:31:11 |
Ihar Hrachyshka |
tags |
in-stable-kilo in-stable-liberty in-stable-mitaka l3-ipam-dhcp loadimpact logging mitaka-rc-potential |
in-stable-kilo in-stable-liberty in-stable-mitaka l3-ipam-dhcp loadimpact logging mitaka-rc-potential neutron-proactive-backport-potential |
|
2016-07-25 21:39:31 |
Ihar Hrachyshka |
tags |
in-stable-kilo in-stable-liberty in-stable-mitaka l3-ipam-dhcp loadimpact logging mitaka-rc-potential neutron-proactive-backport-potential |
in-stable-kilo in-stable-liberty in-stable-mitaka l3-ipam-dhcp loadimpact logging mitaka-rc-potential |
|