Neutron metering iptables chain not found message is logged is ERROR level

Bug #1904874 reported by Rafael Weingartner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Rafael Weingartner

Bug Description

When routers are migrated from one Neutron agent to the other, the metering IPtables rules are removed, which can cause some exceptions that can be ignored. The metering agent already handled this situation. However, it logs the message as an ERROR, which can triggers alarms in the cloud monitoring systems.

The message is imported to be logged. However, we should change it to warning, instead of error. Normally, in complex cloud environments, people configure alarms to be triggered whenever an error message appears, and operators have to act upon it. These messages can trigger such situations, which are misleading. Therefore, we propose here to change the LOG message from error to warning.

Tags: metering
description: updated
Changed in neutron:
assignee: nobody → Rafael Weingartner (rafaelweingartner)
status: New → In Progress
Changed in neutron:
importance: Undecided → Low
tags: added: metering
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/751775
Committed: https://opendev.org/openstack/neutron/commit/3c0d57c884d574485ac6fb4cad52caec5f220df4
Submitter: Zuul
Branch: master

commit 3c0d57c884d574485ac6fb4cad52caec5f220df4
Author: Rafael Weingärtner <email address hidden>
Date: Mon Sep 14 08:16:04 2020 -0300

    Set metering iptables chain not found LOG level to WARNING

    When routers are migrated from one Neutron agent to the other, the metering IPtables
    rules are removed, which can cause some exceptions that can be ignored. The metering
    agent already handled this situation. However, it logs the message as an ERROR, which
    can triggers alarms. Therefore, we propose here to change the LOG message from error
    to warning.

    Closes-Bug: #1904874
    Change-Id: I1805a07cef7fc7d7b041e582a4d79fb1a805df71

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.0.0.0rc1

This issue was fixed in the openstack/neutron 18.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.