crontabber node needs webapp configuration
Categories
(Socorro :: Infra, task, P1)
Tracking
(Not tracked)
People
(Reporter: willkg, Assigned: willkg)
References
Details
Attachments
(1 file)
Previously, crontabber was a socorro configman app that ran using configman-style configuration. With bug #1493687, we're rewriting crontabber changing it from a socorro configman app into a Django command that runs other Django commands.
This inherently changes the context in which the code runs. Instead of running in a socorro configman app context, it needs to run in a webapp context. This came up with the updatesignatures rewrite which needs to use memcached which is only configured in the webapp.
We need a crontabber node. We're in an interim period where it needs crontabber AND webapp configuration. Soon it'll only need webapp configuration.
This bug covers figuring that out and making the required changes.
| Assignee | ||
Comment 1•7 years ago
|
||
Making this a P1 since it definitely blocks updatesignatures and probably blocks rewriting other jobs.
Miles: What should we do here short term (today) vs. long term (soon)? Should we copy all the webapp configuration into the crontabber node? Then long term, we'll take out the configman-style configuration from the crontabber node and continue forward with that?
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 2•7 years ago
|
||
Miles is at a conference. I talked to Brian.
We're probably going to scrap all this when we move to GCP, so we just need to solve the short term. I have fears that today we're hitting problem with memcached_host, and tomorrow we'll hit something different. Brian said we should just copy all the bits over so the crontabber and webapp instance types have the same configuration.
I'll work on that next.
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
The updatesignatures command kicked off and ran fine. I think we're good here. Marking as FIXED.
Description
•