Project

General

Profile

Actions

User story #3015

open

Allow to schedule activation or disactivation of rules

Added by François ARMAND over 11 years ago. Updated about 2 years ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Config management
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We want to be able to enable or disable a Rule at a given Time/Date.

The schedule is configure directly in the rule's configuration screen.

Note that enabling or disabling a rule thanks to that mean actually trigger a Rule modification, and so that modification is submitted to validation retention rules (rudder.autoDeployOnModification=false)

So, we have to take special advertisement when validating deployment is enable:

  • replace scheduled action configuration with the message "Scheduling Rules to be enabled/disabled at a given date and time is not compatible with manual promise deployments, which you have enabled. To make use of this feature, set the rudder.autoDeployOnModification property to "true" in Rudder's configuration (/opt/rudder/etc/rudder-web.properties)."
  • add to "rudder.autoDeployOnModification"'s property description "WARNING: This feature is required to be able to schedule Rules to enabled/disabled at a given date and time. If set to "false", automatic enabling/disabling of Rules will not function."
  • when the application start, if "rudder.autoDeployOnModification=false" then we have to check if there is some Rules with action scheduled, we log a warning in "rudder-core"'s log (and "webapp") saying: "ERROR: rudder.autoDeployOnModification is disabled, but the following Rules are set to be scheduled to be enabled/disabled at a given date and time. This schedule can NOT be respected unless rudder.autoDeployOnModification is enabled in configuration: UUID1, UUID2, ...".
  • scheduled action are not erased when Rudder restart, even if rudder.autoDeployOnModification=false.

That bug is a meta-ticket, implementation, integration and documentation will be open in children tickets.


Subtasks 2 (1 open1 closed)

User story #3016: In the webapp, add a scheduler for Rule activation / disactivationRejectedActions
User story #3017: Handle configuration parameter for JobschedulerNew2012-11-19Actions
Actions #1

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from 2 to New
Actions #2

Updated by François ARMAND over 11 years ago

  • Status changed from New to 8
  • Target version set to 24
Actions #3

Updated by Nicolas CHARLES about 11 years ago

  • Target version changed from 24 to 2.6.0~beta1

It won't go it 2.5, retargetting to 2.6

Actions #4

Updated by Nicolas PERRON almost 11 years ago

  • Target version changed from 2.6.0~beta1 to 2.6.0~rc1
Actions #5

Updated by Matthieu CERDA almost 11 years ago

  • Target version changed from 2.6.0~rc1 to 2.6.0
Actions #6

Updated by Jonathan CLARKE almost 11 years ago

  • Target version changed from 2.6.0 to 2.6.1
Actions #7

Updated by Nicolas PERRON almost 11 years ago

  • Target version changed from 2.6.1 to 2.6.2
Actions #8

Updated by Nicolas PERRON almost 11 years ago

  • Target version changed from 2.6.2 to 2.6.3
Actions #9

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.6.3 to 2.6.4
Actions #10

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.6.4 to Ideas (not version specific)
Actions #11

Updated by Benoît PECCATTE almost 9 years ago

  • Status changed from 8 to New
Actions

Also available in: Atom PDF