Remove /var/log/conntrackd-stats.log

Bug #1459805 reported by Alexander Nevenchannyy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Oleksiy Molchanov
Nominated for Ocata by Oleksiy Molchanov
6.0.x
Invalid
Undecided
Unassigned
Mitaka
Fix Released
Medium
Oleksiy Molchanov
Newton
Fix Committed
Medium
Oleksiy Molchanov

Bug Description

Folks,

we need to remove /var/log/conntrackd-stats.log, because after one day after deployment size of this log 981Mb.

Revision history for this message
Alexander Nevenchannyy (anevenchannyy) wrote :

Update: need change week logrotate -> to dayly

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Oleksiy Molchanov (omolchanov)
milestone: none → 6.1
Changed in fuel:
status: Confirmed → Triaged
tags: added: low-hanging-fruit
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

This logs doesn't provide any useful information, it only copies conntrack table and consume too much memory.

I am going change the title and update body of the issue.

summary: - Need logrotate for /var/log/conntrackd-stats.log
+ Remove /var/log/conntrackd-stats.log
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

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

Reviewed: https://review.openstack.org/186783
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=c80b133db18df03fd45a8773bb99d2be02e6dcbb
Submitter: Jenkins
Branch: master

commit c80b133db18df03fd45a8773bb99d2be02e6dcbb
Author: Oleksiy Molchanov <email address hidden>
Date: Fri May 29 18:04:05 2015 +0300

    Turn off conntrackd logging

    Turn off conntrackd logging as it logs unuseful
    information and consumes lots of memory

    Change-Id: I37ed109a89850781a1b3029dfbdcc3337642209b
    Closes-Bug: 1459805

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Sergey Novikov (snovikov) wrote :

Verified on fuel-6.1-478-2015-05-28_20-55-26.iso

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Vladyslav Skybin (vskybin) wrote :

Fix in comment#4 disables only /var/log/conntrackd.log. But it does not disable /var/log/conntrackd-stats.log. One day after deployment size of this log on lab under tests is:

-rw------- 1 root root 2.5G Sep 20 10:14 conntrackd-stats.log
-rw------- 1 root root 1.3G Sep 20 07:36 conntrackd-stats.log.1

Revision history for this message
Pavel (p.petrov) wrote :

I would add some extension the description given above.

This is the most actual for controller nodes as I see.
These files consume much of disk space when controllers are starting to get a significant workload. I faced this situation while performing load tests.
The greater traffic comes in, the more disk space is consumed for conntrackd-stats logs.

Can anybody explain why do we need to waste disk space for these useless logs?

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

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

Changed in fuel:
status: Confirmed → In Progress
no longer affects: fuel/newton
Changed in fuel:
assignee: Oleksiy Molchanov (omolchanov) → Maksim Malchuk (mmalchuk)
Changed in fuel:
assignee: Maksim Malchuk (mmalchuk) → Oleksiy Molchanov (omolchanov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/374283
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=27aadcad07e7e9c7e2e0572f7807d6d2bd77da48
Submitter: Jenkins
Branch: master

commit 27aadcad07e7e9c7e2e0572f7807d6d2bd77da48
Author: Oleksiy Molchanov <email address hidden>
Date: Wed Sep 28 14:52:04 2016 +0300

    Stop conntrackd after installation

    Change-Id: Icda8af189b5b9cddc7156fe3a135eae0ff42378b
    Closes-Bug: 1459805

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Roman Rufanov (rrufanov) wrote :

Please fix in 9.2 too since running out of space is catastrophic event as proven bu similar bugs in past.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/399529

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/399530

Changed in fuel:
milestone: 10.0 → 11.0
no longer affects: fuel/newton
tags: added: area-library
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/newton)

Reviewed: https://review.openstack.org/399530
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=cf059c5fd09f214219aa99f15dab09f02a77ec96
Submitter: Jenkins
Branch: stable/newton

commit cf059c5fd09f214219aa99f15dab09f02a77ec96
Author: Oleksiy Molchanov <email address hidden>
Date: Wed Sep 28 14:52:04 2016 +0300

    Stop conntrackd after installation

    Change-Id: Icda8af189b5b9cddc7156fe3a135eae0ff42378b
    Closes-Bug: 1459805
    (cherry picked from commit 27aadcad07e7e9c7e2e0572f7807d6d2bd77da48)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/399529
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=e00e381d2a9dcfc960bb5b70fce835043acff1c6
Submitter: Jenkins
Branch: stable/mitaka

commit e00e381d2a9dcfc960bb5b70fce835043acff1c6
Author: Oleksiy Molchanov <email address hidden>
Date: Wed Sep 28 14:52:04 2016 +0300

    Stop conntrackd after installation

    Change-Id: Icda8af189b5b9cddc7156fe3a135eae0ff42378b
    Closes-Bug: 1459805
    (cherry picked from commit 27aadcad07e7e9c7e2e0572f7807d6d2bd77da48)

Andrew Kalach (akndex)
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 11.0.0.0rc1

This issue was fixed in the openstack/fuel-library 11.0.0.0rc1 release candidate.

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.