Page MenuHomeMiraheze

SRE AutomationTag
ActivePublic

Members (2)

Watchers (1)

Details

Description

An tag for all tasks concerning automation of SRE tasks (e.g. SSL, MediaWiki and extension upgrades, etc.)

A large part of this is a 2021 H2 Goal and being led by MediaWiki Engineering.

Recent Activity

Wed, Sep 22

RhinosF1 claimed T8072: Test rsync speed with other parameters.
Wed, Sep 22, 15:23 · MediaWiki (SRE), SRE Automation
RhinosF1 triaged T8072: Test rsync speed with other parameters as High priority.

I'm adding this as a 1.37 blocker as my estimate is the fully deploy would take ~1 hour with our current state (yes an improvement from 2-3 but I'd like better)

Wed, Sep 22, 07:05 · MediaWiki (SRE), SRE Automation
RhinosF1 added a parent task for T8072: Test rsync speed with other parameters: T7696: Upgrade to MediaWiki 1.37.0.
Wed, Sep 22, 07:04 · MediaWiki (SRE), SRE Automation
RhinosF1 created T8072: Test rsync speed with other parameters.
Wed, Sep 22, 07:04 · MediaWiki (SRE), SRE Automation

Tue, Sep 21

RhinosF1 added a comment to T7584: Automate MediaWiki Upgrades.

With that, far few steps are all server now

Tue, Sep 21, 18:12 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 closed T7976: Deploy mwdeploy tool to production, a subtask of T7712: New MediaWiki deployment system, as Resolved.
Tue, Sep 21, 17:41 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Fri, Sep 10

Reception123 assigned T7778: Add long running script detection to mwscript to RhinosF1.
Fri, Sep 10, 14:08 · SRE Automation, MediaWiki (SRE)

Mon, Sep 6

RhinosF1 closed T7712: New MediaWiki deployment system, a subtask of T7584: Automate MediaWiki Upgrades, as Resolved.
Mon, Sep 6, 21:35 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 closed T7712: New MediaWiki deployment system as Resolved.

I'm closing this as resolved. The tool is on test3 and barring one final bug fix seems to work. We have T7976 for the production deployment which I'd like to do in ~1 week.

Mon, Sep 6, 21:35 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Thu, Sep 2

RhinosF1 added a comment to T7712: New MediaWiki deployment system.

Wouldn't it be better to just fork scap and modify it for our needs?

Tbh, no we don't need anywhere near as complex.

Thu, Sep 2, 19:31 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
Paladox added a comment to T7712: New MediaWiki deployment system.

Wouldn't it be better to just fork scap and modify it for our needs?

Thu, Sep 2, 19:19 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Aug 26 2021

RhinosF1 added a comment to T7712: New MediaWiki deployment system.

Note: don't run exec for ExtensionMessages if it doesn't exist.

Aug 26 2021, 08:40 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Aug 23 2021

Universal_Omega removed a watcher for SRE Automation: Universal_Omega.
Aug 23 2021, 06:03

Aug 18 2021

John closed T7724: Setup SSH key for remote access between mw11 and mw*, a subtask of T7712: New MediaWiki deployment system, as Resolved.
Aug 18 2021, 15:17 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Aug 12 2021

RhinosF1 added a comment to T7778: Add long running script detection to mwscript.

I haven't added --long yet because it's not really simple because the code is kinda hacky.

Aug 12 2021, 11:28 · SRE Automation, MediaWiki (SRE)
RhinosF1 added a comment to T7778: Add long running script detection to mwscript.

Either a list or argument is what I intend to do

Aug 12 2021, 06:12 · SRE Automation, MediaWiki (SRE)

Aug 11 2021

Universal_Omega added a comment to T7778: Add long running script detection to mwscript.

Why not just a --long argument? It would be simpler and more reliable for the script I think, then automatic detection, or a list of certain scripts to do it for. Unless there's other ways I thought that'd be better.

Aug 11 2021, 22:31 · SRE Automation, MediaWiki (SRE)
RhinosF1 added a comment to T7584: Automate MediaWiki Upgrades.

Adding new deploy tools as a subtask; they'll make it far easier.

Aug 11 2021, 09:52 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 added a parent task for T7712: New MediaWiki deployment system: T7584: Automate MediaWiki Upgrades.
Aug 11 2021, 09:51 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 added a parent task for T7778: Add long running script detection to mwscript: T7584: Automate MediaWiki Upgrades.
Aug 11 2021, 09:51 · SRE Automation, MediaWiki (SRE)
RhinosF1 added subtasks for T7584: Automate MediaWiki Upgrades: T7778: Add long running script detection to mwscript, T7712: New MediaWiki deployment system.
Aug 11 2021, 09:51 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 triaged T7778: Add long running script detection to mwscript as Normal priority.
Aug 11 2021, 08:06 · SRE Automation, MediaWiki (SRE)
RhinosF1 created T7778: Add long running script detection to mwscript.
Aug 11 2021, 08:05 · SRE Automation, MediaWiki (SRE)

Aug 4 2021

Universal_Omega moved T7712: New MediaWiki deployment system from Backlog to Long Term on the MediaWiki (SRE) board.
Aug 4 2021, 01:37 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Aug 3 2021

Universal_Omega closed T7733: Fix FireJail config for gitinfo, a subtask of T7712: New MediaWiki deployment system, as Resolved.
Aug 3 2021, 21:26 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 added a subtask for T7712: New MediaWiki deployment system: T7721: composer git cache files aren't writeable.
Aug 3 2021, 09:27 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Aug 2 2021

RhinosF1 added a project to T7712: New MediaWiki deployment system: SRE Automation.
Aug 2 2021, 17:24 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Jul 31 2021

Universal_Omega moved T6759: Automate the adding of SSL private keys to puppet3 from Backlog to Infrastructure on the Goal-2021-Jul-Dec board.
Jul 31 2021, 00:28 · SRE Automation, Goal-2021-Jul-Dec, Infrastructure (SRE), SSL
Universal_Omega moved T7582: Create better system for managing SSL requests from Backlog to MediaWiki on the Goal-2021-Jul-Dec board.
Jul 31 2021, 00:28 · SRE Automation, Goal-2021-Jul-Dec, SSL, MediaWiki (SRE)

Jul 21 2021

RhinosF1 updated the task description for T7584: Automate MediaWiki Upgrades.
Jul 21 2021, 10:14 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 updated the task description for T7584: Automate MediaWiki Upgrades.
Jul 21 2021, 10:12 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 updated the task description for T7584: Automate MediaWiki Upgrades.
Jul 21 2021, 10:12 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 updated the task description for T7584: Automate MediaWiki Upgrades.
Jul 21 2021, 09:17 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 added a comment to T7584: Automate MediaWiki Upgrades.
from os import system
system('logsalmsg Disabling puppet for mediawiki update')
system('sudo puppet agent -tv')
system('sudo puppet agent --disable "Updating MediaWiki')
input('press enter to re-enable puppet')
system('sudo puppet agent --enable')
system('sudo puppet agent -tv')
system('logsalmsg enabled puppet')
Jul 21 2021, 09:16 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 updated the task description for T7584: Automate MediaWiki Upgrades.
Jul 21 2021, 09:05 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Jul 15 2021

Universal_Omega lowered the priority of T7584: Automate MediaWiki Upgrades from Normal to Low.

Moving to low since we've had it as is for years, so this doesn't need to be done immediately but feel free to raise again if wanted.

Jul 15 2021, 17:50 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Jul 10 2021

Bukkit removed a member for SRE Automation: Bukkit.
Jul 10 2021, 14:29
Bukkit added a watcher for SRE Automation: Bukkit.
Jul 10 2021, 14:29

Jul 7 2021

Ugochimobi added a comment to T7584: Automate MediaWiki Upgrades.

It goes without saying that fully automating MediaWiki updates would not be a good idea at all, but I think automating commands and such that will be then manually ran by a human is a good idea.

Jul 7 2021, 04:17 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Jul 6 2021

Reception123 added a comment to T7584: Automate MediaWiki Upgrades.

It goes without saying that fully automating MediaWiki updates would not be a good idea at all, but I think automating commands and such that will be then manually ran by a human is a good idea.

Jul 6 2021, 07:44 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Jul 4 2021

Universal_Omega moved T7582: Create better system for managing SSL requests from Backlog to Goals on the MediaWiki (SRE) board.
Jul 4 2021, 16:54 · SRE Automation, Goal-2021-Jul-Dec, SSL, MediaWiki (SRE)
Universal_Omega moved T7584: Automate MediaWiki Upgrades from Backlog to MediaWiki on the Goal-2021-Jul-Dec board.
Jul 4 2021, 16:53 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
Universal_Omega moved T7584: Automate MediaWiki Upgrades from Backlog to Goals on the MediaWiki (SRE) board.
Jul 4 2021, 16:53 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)

Jul 3 2021

RhinosF1 added a comment to T7582: Create better system for managing SSL requests.

Icinga will now go off if the domain points in a manner we don't expect.

Jul 3 2021, 21:40 · SRE Automation, Goal-2021-Jul-Dec, SSL, MediaWiki (SRE)
RhinosF1 updated the task description for T7582: Create better system for managing SSL requests.
Jul 3 2021, 21:38 · SRE Automation, Goal-2021-Jul-Dec, SSL, MediaWiki (SRE)
Ugochimobi added a comment to T7584: Automate MediaWiki Upgrades.

It's more things like branch cutting & updating extensions & generating sql commands. Will still have a human doing it, just less manual typing.

Jul 3 2021, 19:29 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
Universal_Omega added a comment to T7584: Automate MediaWiki Upgrades.

It's more things like branch cutting & updating extensions & generating sql commands. Will still have a human doing it, just less manual typing.

Jul 3 2021, 18:37 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
RhinosF1 added a comment to T7584: Automate MediaWiki Upgrades.

It's more things like branch cutting & updating extensions & generating sql commands. Will still have a human doing it, just less manual typing.

Jul 3 2021, 18:34 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
Universal_Omega added a comment to T7584: Automate MediaWiki Upgrades.

I would like to note I don't think this is a good idea. MediaWiki upgrades should be manual in my opinion. I'm not even sure what could be automated. We still need to manually verify everything works and this should be human run not automation run. But just my opinion, not official objection.

Jul 3 2021, 18:21 · SRE Automation, Goal-2021-Jul-Dec, MediaWiki, MediaWiki (SRE)
Universal_Omega added a watcher for SRE Automation: Universal_Omega.
Jul 3 2021, 18:10