#1723 Refactor reactors/auditors into tasks/events - NEEDS SCRIPT, REINDEX, FORCE NEW VIRTUALENV

v1.0.0
closed
sf-8 (45)
General
nobody
2015-08-20
2011-03-15
No

Replace our auditors with background tasks
Also update our reactors to call them 'events' and allow notifications

Steps for SOG:

  • Remove all reactor-setup commands
  • Replace reactor command with taskd command (allurapaste taskd /var/local/config/production.ini -p2)
  • add a cron job to run every 5 minutes or so (allurapaste task /var/local/config/production.ini commit)

(in production)

  • run a paster reindex

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-03-17
    • size: 2 --> 0
     
  • Dave Brondsema

    Dave Brondsema - 2011-03-17
    • size: 0 --> 8
     
  • Rick Copeland - 2011-03-22
    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -1,2 +1,11 @@
    -Using celery, replace our auditors with background tasks
    +Replace our auditors with background tasks
     Also update our reactors to call them 'events' and allow notifications
    +
    +Steps for SOG:
    +
    +* Remove all reactor-setup commands
    +* Replace reactor command with taskd command (allurapaste taskd /var/local/config/production.ini -p2)
    +
    +(in production)
    +
    +* run a paster reindex
    
     
  • Rick Copeland - 2011-03-22
    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -5,6 +5,7 @@
    
     * Remove all reactor-setup commands
     * Replace reactor command with taskd command (allurapaste taskd /var/local/config/production.ini -p2)
    +* add a cron job to run every 5 minutes or so (allurapaste taskd /var/local/config/production.ini commit)
    
     (in production)
    
    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -5,7 +5,7 @@
    
     * Remove all reactor-setup commands
     * Replace reactor command with taskd command (allurapaste taskd /var/local/config/production.ini -p2)
    -* add a cron job to run every 5 minutes or so (allurapaste taskd /var/local/config/production.ini commit)
    +* add a cron job to run every 5 minutes or so (allurapaste task /var/local/config/production.ini commit)
    
     (in production)
    
     
  • Dave Brondsema

    Dave Brondsema - 2011-03-22
    • status: in-progress --> code-review
    • assigned_to: Rick Copéland --> Dave Brondsema
     
  • Rick Copeland - 2011-03-22
    • summary: Refactor reactors/auditors into tasks/events --> Refactor reactors/auditors into tasks/events - NEEDS SCRIPT, REINDEX
     
  • Rick Copeland - 2011-03-22

    When initially deploying to production, make sure you run

    allurapaste script /var/local/config/production.ini ../migrate-artifact-refs.py test
    allurapaste script /var/local/config/production.ini ../migrate-artifact-refs.py
    allurapaste reindex /var/local/config/production.ini
    
     
  • Dave Brondsema

    Dave Brondsema - 2011-03-23
    • status: code-review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2011-03-24
    • summary: Refactor reactors/auditors into tasks/events - NEEDS SCRIPT, REINDEX --> Refactor reactors/auditors into tasks/events - NEEDS SCRIPT, REINDEX, FORCE NEW VIRTUALENV
     

Log in to post a comment.