Process accounting is not disabled by default

Bug #1632343 reported by Daniil Lapshin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Oleksiy Molchanov
Mitaka
Fix Released
High
Oleksiy Molchanov

Bug Description

After this commit (https://github.com/openstack/fuel-library/commit/57911011587fbf24b9e68b2a67fc3f6d1bef967e) package acct is installed on Ubuntu based nodes. Even though atop process accounting is disabled (as by default) package itself provides init and cron files that keep accounting enabled. Accounting information is written to /var/log/account/pacct file, and this file is rotated by cron script daily keeping up to 30 rotations. It leads to spending a lot of space for information that isn't used.

This could be fixed by setting ACCT_ENABLE to "0" in /etc/default/acct after package installation or simply by not installing acct package if process accounting isn't enabled.

tags: added: customer-found
Changed in fuel:
assignee: nobody → Oleksiy Molchanov (omolchanov)
tags: added: area-library
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/385055

Changed in fuel:
status: Confirmed → In Progress
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/385063

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

no longer affects: fuel/newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Oleksiy Molchanov (<email address hidden>) on branch: master
Review: https://review.openstack.org/385055

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/mitaka)

Change abandoned by Oleksiy Molchanov (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/385064

Anton Matveev (amatveev)
tags: added: sla1
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/394379

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

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

commit c9921b2e62cfbf364907c9deadb236af1f112ace
Author: Oleksiy Molchanov <email address hidden>
Date: Tue Oct 11 18:21:19 2016 +0300

    Install acct only if accounting is enabled

    Change-Id: Ic916d3a3fdcddc5769184958daadad3c3e001eaf
    Closes-Bug: 1632343

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

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

commit 6e99bc395bb88ecb04b6893ec2f570f3a3602cd8
Author: Oleksiy Molchanov <email address hidden>
Date: Tue Oct 11 18:21:19 2016 +0300

    Install acct only if accounting is enabled

    Change-Id: Ic916d3a3fdcddc5769184958daadad3c3e001eaf
    Closes-Bug: 1632343

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

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

commit be3c1acd1e181fc4e700b39a8b30d62424fec77f
Author: Oleksiy Molchanov <email address hidden>
Date: Tue Oct 11 18:21:19 2016 +0300

    Install acct only if accounting is enabled

    Change-Id: Ic916d3a3fdcddc5769184958daadad3c3e001eaf
    Closes-Bug: 1632343

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.2 snapshot #523.

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-library (master)

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

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

Related fix proposed to branch: stable/newton
Review: https://review.openstack.org/403563

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/400703
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=6d2ea32ff23a1d78f42cc74dcd3050e009c5e8b4
Submitter: Jenkins
Branch: master

commit 6d2ea32ff23a1d78f42cc74dcd3050e009c5e8b4
Author: Michael Polenchuk <email address hidden>
Date: Tue Nov 22 14:44:53 2016 +0300

    Get into account case with default atop settings

    Add missing acct package for case with default atop settings
    (i.e. if custom_acct_file = false install acct as well).

    Change-Id: Ic57fbcdbd1271a2f7be045dd69b4b6d845c82137
    Related-Bug: #1632343

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

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

commit 3f6d4f1673bf216052aed38e86a70bcb0bb33e30
Author: Michael Polenchuk <email address hidden>
Date: Tue Nov 22 14:44:53 2016 +0300

    Get into account case with default atop settings

    Add missing acct package for case with default atop settings
    (i.e. if custom_acct_file = false install acct as well).

    Change-Id: Ic57fbcdbd1271a2f7be045dd69b4b6d845c82137
    Related-Bug: #1632343

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.

Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 10.0 build #1569.

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/mitaka)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: stable/mitaka
Review: https://review.opendev.org/385063
Reason: This repo is retired now, no further work will get merged.

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.