Tripleo should configure event expiration in panko by default

Bug #1746514 reported by Lars Kellogg-Stedman on 2018-01-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Medium
Pradeep Kilambi

Bug Description

The openstack telemetry documentations suggests setting a time-to-live on collected events to avoid unbounded growth of the database, but a default tripleo install does not, at this time, have any time-to-live configured.

We should:

(a) configure event_time_to_live to something other than -1 by default.
(b) allow a deployer to configure event_time_to_live via parameters
(c) configure a periodic panko-expirer cron job (should frequency of this job be configurable separately from the TTL?)

Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → rocky-1
Changed in tripleo:
assignee: nobody → Pradeep Kilambi (pkilambi)

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

Changed in tripleo:
status: Triaged → In Progress
tags: added: oca pike-backport-potential
tags: added: ocata-backport-potential
removed: oca

Change abandoned by Pradeep Kilambi (<email address hidden>) on branch: master
Review: https://review.openstack.org/539592

Pradeep Kilambi (pkilambi) wrote :

These patches should take care of enabling panko expirer:

https://review.openstack.org/#/q/topic:bug/1746514

Reviewed: https://review.openstack.org/539579
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ec08df30afdc638bffc6c957a8965812daf64d9e
Submitter: Zuul
Branch: master

commit ec08df30afdc638bffc6c957a8965812daf64d9e
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jan 31 10:48:24 2018 -0500

    Expose param to configure EventTTL

    Currently we keep events in db forever. This could
    cause performance issues. So lets expire periodically
    and make it configurable.

    Partial-Bug: #1746514

    Depends-On: Iac1b0def39a4beb9b0f86ad306a991d7822e8b4e
    Change-Id: I59efbcdc387b329103d72c0a254563a148c35d9d

Reviewed: https://review.openstack.org/539592
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=9b0ff39ad59a0b7d81fe5ea2c5bd413bb8ab4bf0
Submitter: Zuul
Branch: master

commit 9b0ff39ad59a0b7d81fe5ea2c5bd413bb8ab4bf0
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jan 31 11:42:59 2018 -0500

    Add panko expirer to configure cron tasks

    Partial-Bug: #1746514

    Depends-On: I23359239008105cd77a599d2c08c067f132099b7

    Change-Id: Ia3df0d89459cda6cb648cd6dc97bca3492ca04e0

Reviewed: https://review.openstack.org/539615
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=5defc7a8c4287c05562cbece4314b1760e616a08
Submitter: Zuul
Branch: master

commit 5defc7a8c4287c05562cbece4314b1760e616a08
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jan 31 12:35:40 2018 -0500

    Expose params to enable panko expirer cron

    Partial-Bug: #1746514

    Depends-On: I23359239008105cd77a599d2c08c067f132099b7

    Change-Id: Iec9825169dcf0f902c57c057e5f375351cf752f2

Changed in tripleo:
milestone: rocky-1 → rocky-2

Reviewed: https://review.openstack.org/563212
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=32d5a88a0e61d3af1930b221551cc318edb2f13f
Submitter: Zuul
Branch: stable/pike

commit 32d5a88a0e61d3af1930b221551cc318edb2f13f
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jan 31 12:35:40 2018 -0500

    Expose params to enable panko expirer cron

    Partial-Bug: #1746514

    Depends-On: I23359239008105cd77a599d2c08c067f132099b7

    Change-Id: Iec9825169dcf0f902c57c057e5f375351cf752f2
    (cherry picked from commit 5defc7a8c4287c05562cbece4314b1760e616a08)

tags: added: in-stable-pike
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1

Reviewed: https://review.openstack.org/587810
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=dc7c5a1a2c2f7090a5d82eee273eabc911b3ed4a
Submitter: Zuul
Branch: stable/pike

commit dc7c5a1a2c2f7090a5d82eee273eabc911b3ed4a
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jan 31 11:42:59 2018 -0500

    Add panko expirer to configure cron tasks

    Partial-Bug: #1746514

    Depends-On: I23359239008105cd77a599d2c08c067f132099b7

    Change-Id: Ia3df0d89459cda6cb648cd6dc97bca3492ca04e0
    (cherry picked from commit 9b0ff39ad59a0b7d81fe5ea2c5bd413bb8ab4bf0)

Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers