← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2073490] [NEW] [DHCP] Improve the DHCP agent log

 

Public bug reported:

All DHCP agent updates (RPC events and calls) are stored in
``DhcpAgent._queue``, that is a ``queue.ResourceProcessingQueue``
instance. In order to measure the load of the DHCP agent, it could be
useful to log the number of remaining events when each one is processed.
That will provide a rough number of the load of the DHCP agent.

The event method call are logged using the decorator
``@log_helpers.log_method_call``. However when a port is created, the
port information is stored in a ``dhcp.DictModel`` instance, that is not
correctly printed in the log messages.

** Affects: neutron
     Importance: Medium
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: In Progress

** Changed in: neutron
   Importance: Undecided => Medium

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

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

Title:
  [DHCP] Improve the DHCP agent log

Status in neutron:
  In Progress

Bug description:
  All DHCP agent updates (RPC events and calls) are stored in
  ``DhcpAgent._queue``, that is a ``queue.ResourceProcessingQueue``
  instance. In order to measure the load of the DHCP agent, it could be
  useful to log the number of remaining events when each one is
  processed. That will provide a rough number of the load of the DHCP
  agent.

  The event method call are logged using the decorator
  ``@log_helpers.log_method_call``. However when a port is created, the
  port information is stored in a ``dhcp.DictModel`` instance, that is
  not correctly printed in the log messages.

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



Follow ups