Closed
Bug 804167
Opened 13 years ago
Closed 13 years ago
Restart celery after pushing to mozillians
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task, P4)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: giorgos, Assigned: dmaher)
Details
(Whiteboard: [triaged 20121022])
Please add 'celery restart' to deployment scripts of mozillians(-dev, -stage) to register new tasks on every push.
Thnx!
| Assignee | ||
Updated•13 years ago
|
Assignee: server-ops-webops → dmaher
Status: NEW → ASSIGNED
Priority: -- → P4
Whiteboard: [triaged 20121022]
| Assignee | ||
Comment 1•13 years ago
|
||
I added a restart of the mozillians celery process to the -dev deployment script. It was already present in the -stage deployment script, so I made no modifications to -stage.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 2•13 years ago
|
||
Thanks phrawzty! Is it present on prod also? (I guess I failed to make this clear, sorry! :)
| Assignee | ||
Comment 3•13 years ago
|
||
Yes, it is present in prod already also; oddly, only -dev didn't have the celery restart.
| Reporter | ||
Comment 4•13 years ago
|
||
After adding this we get an email every 15' with the following content:
"""
[2012-10-23 01:03:23] [generic-celery1.dev.seamicro.phx1.mozilla.com] running: /data/bin/update-www.sh; service celeryd-mozillians-dev restart
[2012-10-23 01:05:38] [generic-celery1.dev.seamicro.phx1.mozilla.com] finished: /data/bin/update-www.sh; service celeryd-mozillians-dev restart (134.611s)
[generic-celery1.dev.seamicro.phx1.mozilla.com] out: Restarting celery-mozillians-dev: celery-mozillians-dev: stopped
[generic-celery1.dev.seamicro.phx1.mozilla.com] out: celery-mozillians-dev: started
[generic-celery1.dev.seamicro.phx1.mozilla.com] out: [ OK ]
[2012-10-23 01:05:38] [generic1.dev.webapp.phx1.mozilla.com] running: touch /data/www/mozillians-dev.allizom.org/mozillians/wsgi/playdoh.wsgi
[2012-10-23 01:05:38] [generic1.dev.webapp.phx1.mozilla.com] finished: touch /data/www/mozillians-dev.allizom.org/mozillians/wsgi/playdoh.wsgi (0.147s)
"""
Can we suspend this please?
Thanks!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 5•13 years ago
|
||
01:54:13 < phrawzty> giorgos: just so that i'm clear and what exactly you're requesting
01:54:46 < phrawzty> giorgos: did you want me to disable the cron job, or did you want me to hide that particular output block ?
01:55:08 < giorgos> hide the output please, so we don't get the email if everything is OK
02:09:59 < phrawzty> giorgos: ok, so good news and bad news.
02:10:11 < giorgos> ok bad news first
02:10:27 < phrawzty> giorgos: bad news is that you'll never know if those processes failed.
02:10:34 < phrawzty> giorgos: good news is that you won't get that email every 15 minutes :)
02:10:58 < giorgos> phrawzty, well i'll take it !
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•7 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•