Closed Bug 1353371 Opened 5 years ago Closed 4 years ago
Remove the middleware
Once bug 1188083 is resolved, there won't be any need for the middleware anymore. Let's remove all traces of it! I am not sure what this entails, so I'm going to ask for some help here. CC Miles. Will told me today we can start by changing this file to make the ExecStart instruction a no-op: https://github.com/mozilla/socorro/blob/master/config/package/usr/lib/systemd/system/socorro-middleware.service
I think we can just change the ExecStart to a no-op like "echo" or something. But I could be horribly wrong--maybe systemd keeps tabs on the process and if it ends, then it gets sad and tries to start it again which would be a mess. Definitely worth working out the plan with Miles. It's entirely possible it's super easy to do on the ops side.
I logged into a -stage web head and verified that the .service file that runs the middleware is the one we have in the Socorro repo. I'm going to do a PR that no-ops that service file which will allow us to remove all the middleware code now. Then we can do the infrastructure changes later in a separate bug.
Commit pushed to master at https://github.com/mozilla-services/socorro https://github.com/mozilla-services/socorro/commit/56afa61671128c08feb1d8bb492ec991411bee0d Bug 1353371 - change middleware service to be a no-op (#3822)
I made bug #1375183 to cover removing the infrastructure. This bug can cover removing the rest of the code since I don't see another bug for that. Given that, I'm going to move it back to General.
Component: Infra → General
Commit pushed to master at https://github.com/mozilla-services/socorro https://github.com/mozilla-services/socorro/commit/3b49b39ba5a08788bf8ec89df3f08914a3cb8ae7 Fixes bug 1353371 - Removed all remnants of the deceased middleware. (#3826)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.