Cron triggers can't be disabled even if they are not used

Bug #1724147 reported by Renat Akhmerov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Medium
Renat Akhmerov

Bug Description

In many installations cron triggers are not used at all but the subsystem starts anyway and consumes resources. We need to have a config option to disable it.

Changed in mistral:
milestone: none → queens-1
assignee: nobody → Renat Akhmerov (rakhmerov)
importance: Undecided → Medium
status: New → Confirmed
Changed in mistral:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/512520
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=6efe094012de5458ac66bbaf93a38005b8e69c2d
Submitter: Zuul
Branch: master

commit 6efe094012de5458ac66bbaf93a38005b8e69c2d
Author: Renat Akhmerov <email address hidden>
Date: Tue Oct 17 14:09:36 2017 +0700

    Add a config option to disable cron triggers

    * Cron triggers (implemented in periodic.py) are always enabled
      although in many installations they are not needed. When they
      are enabled they consume resoruces (keep polling DB etc.).
      This patch add the config option "enabled" under "cron_trigger"
      group that can be used to disable the entire subsystem.
    * Wiped out "disable_cron_trigger_thread" pecan app config variable
      that was use to disable cron triggers in unit tests in favor of
      the new config option
    * Other minor style changes

    Closes-bug: #1724147
    Change-Id: I79b9ccb2f4286b3ea8696b7cd65472c8a49937bf

Changed in mistral:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mistral (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/515674

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (stable/pike)

Reviewed: https://review.openstack.org/515674
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=fd979d95d613e40be228695c0471c73cf9a5e3f4
Submitter: Zuul
Branch: stable/pike

commit fd979d95d613e40be228695c0471c73cf9a5e3f4
Author: Renat Akhmerov <email address hidden>
Date: Tue Oct 17 14:09:36 2017 +0700

    Add a config option to disable cron triggers

    * Cron triggers (implemented in periodic.py) are always enabled
      although in many installations they are not needed. When they
      are enabled they consume resoruces (keep polling DB etc.).
      This patch add the config option "enabled" under "cron_trigger"
      group that can be used to disable the entire subsystem.
    * Wiped out "disable_cron_trigger_thread" pecan app config variable
      that was use to disable cron triggers in unit tests in favor of
      the new config option
    * Other minor style changes

    Closes-bug: #1724147
    Change-Id: I79b9ccb2f4286b3ea8696b7cd65472c8a49937bf
    (cherry picked from commit 6efe094012de5458ac66bbaf93a38005b8e69c2d)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/mistral 5.2.0

This issue was fixed in the openstack/mistral 5.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/mistral 6.0.0.0b2

This issue was fixed in the openstack/mistral 6.0.0.0b2 development milestone.

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.