Bug 1042570

Summary: [RFE][neutron]: Log as ERROR only for conditions requiring operator attention
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/neutron/+spec/log-only-exceptional-conditions-as-error
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_obsolete
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:10:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-13 00:23:21 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/neutron/+spec/log-only-exceptional-conditions-as-error.

Description:

There is a tempest blueprint (https://blueprints.launchpad.net/tempest/+spec/fail-gate-on-log-errors) that proposes to start failing gate jobs if ERROR appears in the logs unexpectedly.  There is a whitelist so that expected error conditions for a given project don't trigger failure, but at present Neutron logs so many things as ERROR that whitelisting is not feasible.  A cleanup effort is required to reduce the incidence of logging as ERROR to cases that would conceivably require operator attention.  Ideally the number of such conditions would be small enough that whitelisting wouldn't mask actual problems.

Tempest is going to start outputting all ERROR log lines in the gate jobs for Neutron so we can start eliminating the unnecessary logging to the point where whitelisting is possible.  Once we're satisfied with the whitelisting, Tempest can start failing jobs that produce errors that aren't whitelisted.

Specification URL (additional information):

None