Closed
Bug 815378
Opened 12 years ago
Closed 12 years ago
Celery countdown reschedules tasks many hours into the future
Categories
(Marketplace Graveyard :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-05-23
People
(Reporter: robhudson, Assigned: wraithan)
References
Details
If you grep the logs for "eta:" you'll see tasks that are getting scheduled, many with a countdown of 3 seconds, that get scheduled 8 hours (plus or minus) in the future instead of just seconds.
I suspect a timezone bug somewhere. Or a missed timezone setting.
Comment 1•12 years ago
|
||
that sounds pretty important. I assume ntpdate or something is running on all the servers but CCing oremj and jason in case anything comes to mind.
Comment 2•12 years ago
|
||
'date' on all the web and celery servers returns the same thing.
Reporter | ||
Comment 3•12 years ago
|
||
I tested a few celery settings locally and couldn't get this to work as I'd expect. I used the Google and found places where Ask has said that celery 2.x had timezone issues and to use 3.x. But that'd be a bigger upgrade.
Comment 4•12 years ago
|
||
Allen - any ideas on this?
Comment 5•12 years ago
|
||
I'm getting this locally too. I was confused why payment retries weren't occuring:
16:34:59 celery:INFO Got task from broker: mkt.purchase.webpay_tasks.purchase_notify[f30e9843-2498-4efd-883f-8a6c5efcf7c1] eta:[2013-01-22 00:35:05.789159-08:00]
The eta is 8 hours in the future, which is suspiciously similar to my difference from GMT.
Comment 6•12 years ago
|
||
FWIW if you explicitly set an eta, instead of a countdown it seems to work fine. We could use this until a celery upgrade happens.
Updated•12 years ago
|
Whiteboard: [waiting on celery 3]
Comment 7•12 years ago
|
||
comment 6 sounds like a good idea. let's do that instead of waiting on celery 3
Whiteboard: [waiting on celery 3]
Comment 8•12 years ago
|
||
payment retries sound pretty important so making this a p2
Assignee: nobody → wraithan
Priority: -- → P2
Reporter | ||
Comment 9•12 years ago
|
||
We've been using the workaround in comment 6. This should be fixed in the celery 3 releases but I'd be tempted to just use the workaround for now and close this.
Assignee | ||
Comment 10•12 years ago
|
||
Couldn't find anything that is retrying this way.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-05-23
You need to log in
before you can comment on or make changes to this bug.
Description
•