Page MenuHomePhabricator

MVP: Privately serve wikitech via mwdebug1001
Closed, ResolvedPublic

Description

What?
All configuration for labswiki already exists in our current mediawiki images, since it is part of mediawiki-config. Thus theoretically, it will be just as easy by adding this VirtualHost on apache.

How?

Testing

  • Read an article
  • Reset user password
  • Login using db authentication
  • Edit an article as a logged in user
  • Perform an action that would trigger a job
  • Upload a media file

Verify
We should verify the following:

  • Jobs are enqueued properly in our generic jobqueue
  • kask is used for user sessions

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptJul 31 2024, 6:23 PM

The config thing that most needs to be changed to use the multiversion images is /etc/mediawiki/WikitechPrivateSettings.php where a number of secrets are provisioned. These may all end up being related to functionality that will be removed along with the LDAP auth.

The config thing that most needs to be changed to use the multiversion images is /etc/mediawiki/WikitechPrivateSettings.php where a number of secrets are provisioned. These may all end up being related to functionality that will be removed along with the LDAP auth.

Indeed, removing this functionality is the easiest way to go as stated in the task

akosiaris renamed this task from MVP: Privately server wiktech via mw-on-k8s to MVP: Privately serve wikitech via mw-on-k8s.Aug 1 2024, 10:59 AM
akosiaris moved this task from Incoming ๐Ÿซ to this.quarter ๐Ÿ• on the serviceops board.

Change #1059339 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/mediawiki-config@master] (DNM WIP) wikitech: de-wikitech mediawiki-config

https://gerrit.wikimedia.org/r/1059339

Change #1059103 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] mediawiki: add wikitech to virtual hosts

https://gerrit.wikimedia.org/r/1059103

jijiki changed the task status from Open to In Progress.Aug 8 2024, 3:54 PM
jijiki triaged this task as High priority.
jijiki renamed this task from MVP: Privately serve wikitech via mw-on-k8s to MVP: Privately serve wikitech via mwdebug1001.Aug 29 2024, 3:04 PM
jijiki updated the task description. (Show Details)
jijiki updated the task description. (Show Details)

Change #1070233 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] trafficserver: Allow XWD to be used for wikitech

https://gerrit.wikimedia.org/r/1070233

Change #1070233 merged by Effie Mouzeli:

[operations/puppet@production] trafficserver: Allow XWD to be used for wikitech

https://gerrit.wikimedia.org/r/1070233

Change #1070275 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[performance/WikimediaDebug@master] manifest.json,background.js: Add wikitech.wikimedia.org

https://gerrit.wikimedia.org/r/1070275

@Ladsgroup and I tested wikitech.wikimedia.org on mwdebug1001

The following tests worked as expected:

  • Reading and article
  • User Password reset
  • User Login
  • Page Edit

Logs from successful testing can be found in https://logstash.wikimedia.org/goto/ccfa8284b74bd223434b73aceaf2b2a7

Additionally:

  • we believe that if there were jobs spawned, they were executed by our generic jobqueue, but we can verify that in the next test.
  • interaction with mcrouter and memcached work as expected.

Regarding jobs, since we don't have an easy control where it'll be consumed, it will use the default wikitech config which means it's going to fail due to ldap not being installed. But I don't see any reason on why we would need to test consumption of the job (queuing it, sure and we did).

Further testing completed with @Ladsgroup

File upload worked as expected, while jobs where queued, sessions looked alright.

image.png (66ร—2 px, 33 KB)

For the time being, we believe that our tests are enough. We may close this task and reopen if something surfaces.

Change #1070275 merged by jenkins-bot:

[performance/WikimediaDebug@master] background.js: Allow wikitech.wikimedia.org

https://gerrit.wikimedia.org/r/1070275

The updated Firefox add-on is available at https://addons.mozilla.org/en-US/firefox/addon/wikimedia-debug-header/.
The update has been uploaded to Chrome Web Store and is pending processing.

The updated Firefox add-on is available at https://addons.mozilla.org/en-US/firefox/addon/wikimedia-debug-header/.
The update has been uploaded to Chrome Web Store and is pending processing.

Thank you very much!

Change #1059103 merged by Effie Mouzeli:

[operations/puppet@production] mediawiki: add wikitech to virtual hosts

https://gerrit.wikimedia.org/r/1059103

Change #1059339 merged by jenkins-bot:

[operations/mediawiki-config@master] wikitech: de-wikitech mediawiki-config

https://gerrit.wikimedia.org/r/1059339

Mentioned in SAL (#wikimedia-operations) [2024-10-01T10:41:56Z] <jiji@deploy2002> Started scap sync-world: Backport for [[gerrit:1059339|wikitech: de-wikitech mediawiki-config (T371537 T371592 T371374 T371359)]]

Mentioned in SAL (#wikimedia-operations) [2024-10-01T10:44:23Z] <jiji@deploy2002> jiji: Backport for [[gerrit:1059339|wikitech: de-wikitech mediawiki-config (T371537 T371592 T371374 T371359)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-10-01T10:52:52Z] <jiji@deploy2002> Started scap sync-world: Backport for [[gerrit:1059339|wikitech: de-wikitech mediawiki-config (T371537 T371592 T371374 T371359)]]

Mentioned in SAL (#wikimedia-operations) [2024-10-01T10:55:17Z] <jiji@deploy2002> jiji: Backport for [[gerrit:1059339|wikitech: de-wikitech mediawiki-config (T371537 T371592 T371374 T371359)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-10-01T11:01:16Z] <jiji@deploy2002> Finished scap sync-world: Backport for [[gerrit:1059339|wikitech: de-wikitech mediawiki-config (T371537 T371592 T371374 T371359)]] (duration: 08m 23s)