Page MenuHomeMiraheze

Migrate MediaWiki over to new infrastructure
Closed, ResolvedPublic

Description

Service: MediaWiki
Owner: Technology-Team (MediaWiki)
Task Start Date: 1/1/2022
End Goal: Traffic Serving
Task Actions:

MW Side

Puppet Side

  • Promethus
  • Stunnel
  • Deploy tool
  • NRPE
  • Varnish

ISSUES

  • composer needs -E setting with sudo and https_proxy adding so it doesn't screw git over (@RhinosF1 can make a fix to deploy once we are live, it's not awful and only seems to cause logspam, we've managed to install everything) (FIXED WHEN USING --use-proxy to deploy - WILL MAKE DEFAULT LATER)
  • npm for femiwiki is not working and we can't install what we need
  • canary checks crash for localhost when env set (os.environ['NO_PROXY'] = 'stackoverflow.com')

Switchover steps:

Event Timeline

John triaged this task as Normal priority.Dec 18 2021, 19:04
John created this task.
RhinosF1 updated the task description. (Show Details)

I will turn jobs on later. Other than that we are deployed waiting for traffic.

We are now simply waiting for switchover day.

Will do some testing when John gives us DBs

RhinosF1 updated the task description. (Show Details)

As an FYI, the following tables will be empty for all wikis:

objectcache
querycache
querycachetwo
querycache_info
recentchanges
searchindex

A quick tests shows login & meta are online from every appserver.

Unknown Object (User) updated the task description. (Show Details)Jan 5 2022, 07:20
In T8483#173189, @John wrote:

As an FYI, the following tables will be empty for all wikis:

objectcache

will regenerate with traffic, may cause a performance hit but will very quickly warm up

querycache

Description now has update special pages, some things like MostWantedPages / BrokenPages may be empty initially

querycachetwo

Same as above

querycache_info

Same as above

recentchanges

Will rebuild, some user impact as will show missing

searchindex

Will rebuild, some user impact as search may be degraded

@Agent_Isai: can you please do a FAQ / draft announcement for users on impact? Memcache is also empty so some people may get logged out as well when we switch. This may recover on refreshing the page if CentralAuth is happy.

Unknown Object (User) updated the task description. (Show Details)Jan 5 2022, 21:22
Unknown Object (User) updated the task description. (Show Details)Jan 5 2022, 22:22
RhinosF1 updated the task description. (Show Details)
RhinosF1 added a subscriber: Paladox.
RhinosF1 updated the task description. (Show Details)
Unknown Object (User) closed this task as Resolved.Jan 15 2022, 20:26
Unknown Object (User) updated the task description. (Show Details)