[ovs-git] [ovn-org/ovn] 973553: Throttle the OVS-OVN Global config logs

Ankur Sharma noreply at github.com
Tue Jul 7 10:36:28 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 973553630da46e7b9056ebf36305ff4b0c7e39bb
      https://github.com/ovn-org/ovn/commit/973553630da46e7b9056ebf36305ff4b0c7e39bb
  Author: Ankur Sharma <ankur.sharma at nutanix.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M controller/chassis.c

  Log Message:
  -----------
  Throttle the OVS-OVN Global config logs

ISSUE:
We observed that if ovn-controller is running, while ovn-encap-ip/
ovn-encap-type is not set, then following error gets logged
continously:
"chassis|INFO|Need to specify an encap type and ip"

Above log increased the size of ovn-controller.log to hundreds
of GBs  before logger.d could kick in (frequency is 24 hours)
and rotate the log file.

This Patch rate limits (rate_limit=1, burst_size=5) INFO logs
for following errors:
a. ovn-encap-ip/ovn-encap-type not set.
b. ovn-encap-type set to invalid value.

Signed-off-by: Ankur Sharma <ankur.sharma at nutanix.com>
Signed-off-by: Numan Siddique <numans at ovn.org>




More information about the git mailing list