Large lines with "Update port filter for" filling log files.

Bug #1200321 reported by Carl Baldwin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Carl Baldwin

Bug Description

We found our log files for our l3 agent growing huge. By huge, I mean 10s of GB a day on a single compute host. We have heavy security group testing going on at the moment.

I found that around 75% of the size of a 5GB log file was due to ~ 30,000 occurrences of a line relating to security groups that contains "Update port filter for ..." The ... there is about 90,000 characters of python blob serialized to a string and output to the log file.

Tags: neutron-core
Revision history for this message
Carl Baldwin (carl-baldwin) wrote :

I did not mean l3 agent. I meant our neutron plugin agent running on compute hosts.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/36710

Changed in neutron:
assignee: nobody → Carl Baldwin (carl-baldwin)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/36710
Committed: http://github.com/openstack/neutron/commit/79e4c3e7584d131e51236f438aaa15350847f9d8
Submitter: Jenkins
Branch: master

commit 79e4c3e7584d131e51236f438aaa15350847f9d8
Author: Carl Baldwin <email address hidden>
Date: Thu Jul 11 18:17:40 2013 +0000

    Quiet down a large log file heavy hitter.

    This line of code serialized the python structure for the device and throws it
    at the log file. The string is about 90K characters, isn't very useful and we
    found that it takes a very large amount of space in the log file causing them
    to grow very quickly and fill our log disk. This change extracts the device
    name (e.g. "tapcdc07af9-8a") and uses that in the log message.

    Change-Id: I240eb811445752407583f0fb322ce061acb293b9
    Fixes: Bug #1200321

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
milestone: none → havana-2
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
tags: added: neutron-core
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-2 → 2013.2
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.