If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

input.stage and input cron job

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
--
major
RESOLVED FIXED
7 years ago
4 years ago

People

(Reporter: davedash, Assigned: fox2mike)

Tracking

Details

For staging (and after the push, production)

Crontab needs setting up for running

./manage.py cron cluster

at around midnight.  It only needs to run on an admin node, and is memory and cpu intensive.

In the future we can supply crontabs.
Blocks: 577766
Blocks: 582232
I'm setting this as blocking the go to live bug as well.
(Assignee)

Updated

7 years ago
Assignee: server-ops → shyam
(Assignee)

Comment 2

7 years ago
We ran into some issues working on this yesterday, so I'll work with Dave today before the push to get this going on stage.
(Assignee)

Comment 3

7 years ago
Seems like this is good.

[root@mrapp-stage02 reporter]# /data/virtualenvs/input/bin/python26 /data/www/input.stage.mozilla.com/reporter/manage.py cron cluster
Beginning clustering
Clustering happy...
Clustering happy, 4.0b1
Clustering sad...
Clustering sad, 4.0b1

Leaving bug open for production.

Thanks Dave!
(Assignee)

Updated

7 years ago
Summary: [INPUT-staging] Crontabs needed → input.stage and input cron job
(Assignee)

Comment 4

7 years ago
Ran on Prod, by hand :

[root@mradm02 vendor]# /usr/bin/python26 /data/generic/www/django/input.mozilla.com/reporter/manage.py cron cluster
Beginning clustering
Clustering happy...
Clustering happy, 4.0b1
Clustering sad...
Clustering sad, 4.0b1

Don't see clusters on prod though.
(Assignee)

Comment 5

7 years ago
Okay, seems like a cache issue. Cron will run on prod at 05 past midnight.

Calling this fixed.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.