[stats] statsenderd generates too much logs when postgres is unavailable

Bug #1421592 reported by Ihor Kalnytskyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexander Kislitsky

Bug Description

Intro:

I have just one running container - nailgun container. For 8 hours the statsender generated about 600 Mb of logs. It was logrotated 11 times.

Reason:

statsenderd could not connect to the postgres, so it prints a lot of logs.

Tags: stats
Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :
Changed in fuel:
milestone: none → 6.1
Changed in fuel:
status: New → Confirmed
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/162056

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/162056
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=15e4b7d011447d4c505f55323a79f9c3edb32de6
Submitter: Jenkins
Branch: master

commit 15e4b7d011447d4c505f55323a79f9c3edb32de6
Author: Alexander Kislitsky <email address hidden>
Date: Fri Mar 6 11:31:17 2015 +0300

    Statsenderd logging fixed

    On errors with DB connection statsenderd genearates huge logs.
    Waiting on such errors added.

    Change-Id: I9874868bad3b0e02aef8678a29ef1c2a26858d24
    Closes-Bug: #1421592

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on {

    "build_id": "2015-03-11_22-54-44",
    "ostf_sha": "ecb8e294b0acbdc5b0300d5e39028fb26ecc9088",
    "build_number": "188",
    "release_versions":

{

    "2014.2-6.1":

{

    "VERSION":

{

    "build_id": "2015-03-11_22-54-44",
    "ostf_sha": "ecb8e294b0acbdc5b0300d5e39028fb26ecc9088",
    "build_number": "188",
    "api": "1.0",
    "nailgun_sha": "a720a2da99690eb2d2c19ddc5d739384312a8ac2",
    "production": "docker",
    "python-fuelclient_sha": "0f4ca9c2798da34797dd082130d22cac04c998a9",
    "astute_sha": "5cdd4ae4037aa29f4c876d441af15cad82f5a6cb",
    "feature_groups":

            [
                "mirantis"
            ],
            "release": "6.1",
            "fuelmain_sha": "0791400dd8224647ff9a5cb8051ce82b2c8863b1",
            "fuellib_sha": "e660cbdfc506197e7f79a4bf7caab2990953abe3"
        }
    }

},
"auth_required": true,
"api": "1.0",
"nailgun_sha": "a720a2da99690eb2d2c19ddc5d739384312a8ac2",
"production": "docker",
"python-fuelclient_sha": "0f4ca9c2798da34797dd082130d22cac04c998a9",
"astute_sha": "5cdd4ae4037aa29f4c876d441af15cad82f5a6cb",
"feature_groups":

    [
        "mirantis"
    ],
    "release": "6.1",
    "fuelmain_sha": "0791400dd8224647ff9a5cb8051ce82b2c8863b1",
    "fuellib_sha": "e660cbdfc506197e7f79a4bf7caab2990953abe3"

}

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