nailgun-agent log too verbose

Bug #1393115 reported by Mike Scherbakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Dima Shulyak

Bug Description

Nailgun agent logs logs too much data. In 1.5h it generated 3.3Mb file for 1 node.
It means that in 24h it's going to be 52.8Mb, and for average size cluster, let's say 25 nodes = 1320Mb in 24 hours.

This is way too much, and we can't handle to keep that much of data for diagnostic snapshot.

Let's optimize it. There are might be options how to do it, please find the best easy & possible (so not spend days on this problem):
1) log verbose only on first agent run on node
2) log only changes (looks like way more complicated)
3) disable such verbosity at all.

Revision history for this message
Mike Scherbakov (mihgen) wrote :
Mike Scherbakov (mihgen)
description: updated
Changed in fuel:
importance: Critical → High
Revision history for this message
Dima Shulyak (dshulyak) wrote :

I like 1st option, with some modification:

If uid already received - log level should be INFO, otherwise DEBUG

Changed in fuel:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
assignee: Fuel Astute Team (fuel-astute) → Dima Shulyak (dshulyak)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/135294
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=3366486fdb8d283563419d539d7faacc6ce3c127
Submitter: Jenkins
Branch: master

commit 3366486fdb8d283563419d539d7faacc6ce3c127
Author: Dima Shulyak <email address hidden>
Date: Tue Nov 18 16:08:41 2014 +0200

    Decrese agent to log to INFO level after uid is received

    Biggest part of agent logs is information about disks discovery
    which is DEBUG level

    Any changes with disks will be available in nailgun api log

    Change-Id: Idecbb1a4b045ea126acd04b6164b93e9c1fb1d0f
    Closes-Bug: 1393115

Changed in fuel:
status: In Progress → Fix Committed
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.