← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1989480] [NEW] [OVN] Neutron server floods logs with hash ring messages on startup

 

Public bug reported:

Reported at: https://bugzilla.redhat.com/show_bug.cgi?id=2125828

Neutron server issues over 300 messages per second during startup with
debug on:

2022-09-10 21:55:32.998 55 DEBUG networking_ovn.common.hash_ring_manager
[-] Disallow caching, nodes 0<26 _wait_startup_before_caching
/usr/lib/python3.6/site-
packages/networking_ovn/common/hash_ring_manager.py:61

This message is logged when the number of nodes in the hash ring is
different than the number of API workers at Neutron's startup. The hash
ring waits until all API workers are connected to OVSDB prior to
building the hash ring cache.

We need to rate limit this message, in case there are problems with the
API workers not being able to connected to OVSDB this message does not
spam the Neutron logs.

The message itself is still useful IMHO, for knowing that the hash ring
cache is not yet built.

** Affects: neutron
     Importance: High
     Assignee: Lucas Alvares Gomes (lucasagomes)
         Status: In Progress


** Tags: ovn

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

** Changed in: neutron
       Status: New => Confirmed

** Changed in: neutron
     Assignee: (unassigned) => Lucas Alvares Gomes (lucasagomes)

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

Title:
  [OVN] Neutron server floods logs with hash ring messages on startup

Status in neutron:
  In Progress

Bug description:
  Reported at: https://bugzilla.redhat.com/show_bug.cgi?id=2125828

  Neutron server issues over 300 messages per second during startup with
  debug on:

  2022-09-10 21:55:32.998 55 DEBUG
  networking_ovn.common.hash_ring_manager [-] Disallow caching, nodes
  0<26 _wait_startup_before_caching /usr/lib/python3.6/site-
  packages/networking_ovn/common/hash_ring_manager.py:61

  This message is logged when the number of nodes in the hash ring is
  different than the number of API workers at Neutron's startup. The
  hash ring waits until all API workers are connected to OVSDB prior to
  building the hash ring cache.

  We need to rate limit this message, in case there are problems with
  the API workers not being able to connected to OVSDB this message does
  not spam the Neutron logs.

  The message itself is still useful IMHO, for knowing that the hash
  ring cache is not yet built.

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



Follow ups