Reviewed: https://review.opendev.org/c/openstack/neutron/+/886005 Committed: https://opendev.org/openstack/neutron/commit/afa20faec3c37bd06346360cadbad0d69e9925f0 Submitter: "Zuul (22348)" Branch: master
commit afa20faec3c37bd06346360cadbad0d69e9925f0 Author: Lucas Alvares Gomes <[email protected]> Date: Tue Jun 13 15:53:54 2023 +0100 [OVN] Improve Hash Ring logs Debugging Hash Ring problems can be difficult challenge given that prior to this patch the logs were very limited. This patch improves the logging for this feature as follow: 1. Log when a node is added to the ring 2. Log when nodes are removed from the ring 3. Keep track the number of offline nodes and log it upon loading the ring 4. Improve the "Hash Ring is empty" exception with the number of offline nodes found (if 0, means the ovn_hash_ring table has no entries) Closes-Bug: #2023670 Change-Id: Ic90432b5ddea8cf176de159ec7eaafd5fd7bdd6e Signed-off-by: Lucas Alvares Gomes <[email protected]> ** 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/2023670 Title: [OVN] Improve Hash Ring logs Status in neutron: Fix Released Bug description: Related to: https://bugzilla.redhat.com/show_bug.cgi?id=2213910 Debugging Hash Ring problems can be difficult due to the lack of logs, especially if debug is not enabled. There are no logs to indicate when nodes are added or removed from the ring. There's also no logs that tells how many nodes are active or offline. And the "Hash Ring is empty" exception does not indicate whether the nodes are just offline or if the ovn_hash_ring table is empty. We need to improve the logging for this feature. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2023670/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

