← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1557640] [NEW] DHCP agent logging is too verbose

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1557640

Title:
  DHCP agent logging is too verbose

Status in neutron:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1557640/+subscriptions


Follow ups