error summary formatter is putting ": NotImplementedError" in non-error log messages

Bug #1696213 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.log
Fix Released
Medium
Doug Hellmann

Bug Description

The newish error summary format stuff that went into oslo.log 3.28.0 seems to be putting ": NotImplementedError" in non-error log messages, e.g.:

http://logs.openstack.org/82/471082/1/gate/gate-novaclient-dsvm-functional-neutron-ubuntu-xenial/796acb7/logs/screen-n-cpu.txt.gz#_Jun_06_13_14_02_594292

You can see several other examples in that n-cpu log file.

The log message linked above comes from here:

https://github.com/openstack/nova/blob/e01ae75d52900d96355dfcb39ef9b136f0c0d5c4/nova/virt/libvirt/driver.py#L2520

Where there is no exception in context.

Changed in oslo.log:
importance: Undecided → Medium
assignee: nobody → Doug Hellmann (doug-hellmann)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to oslo.log (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/473611

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to oslo.log (master)

Reviewed: https://review.openstack.org/473611
Committed: https://git.openstack.org/cgit/openstack/oslo.log/commit/?id=527a76e4e33a980c925315dc7700afcb060c365c
Submitter: Jenkins
Branch: master

commit 527a76e4e33a980c925315dc7700afcb060c365c
Author: Doug Hellmann <email address hidden>
Date: Mon Jun 12 18:05:31 2017 -0400

    do not add error_summary for debug log messages

    We catch exceptions and log debug messages a lot, which results in extra
    occurrences of the exception when we don't need them.

    Change-Id: I4dd3bf65fb456afc07a8fa7d0c9869bcc266b800
    Related-Bug: #1696213
    Related-Bug: #1696855
    Signed-off-by: Doug Hellmann <email address hidden>

Changed in oslo.log:
status: Confirmed → Fix Released
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.