Jump to content

Beta Cluster

From mediawiki.org
This page is a translated version of the page Beta Cluster and the translation is 55% complete.
Outdated translations are marked like this.

The Beta Cluster is a functional, production-like environment in the Cloud VPS that is suitable for final-stage testing of new features. It was initially created as a way to provide an exact copy of the WMF production cluster (including db hosts, apaches, logging, squids, varnish caching, image scalers, etc.) using Cloud VPS instances.

Current Status

Beta Cluster remains a significant part of MediaWiki's development ecosystem, serving as a pre-production environment to test and deploy code before it reaches production, reshaped its purpose and management but is largely unmaintained.

In 2024, the Developer Experience group took Product Stewardship of Beta Cluster[1] and are currently focused on giving it clear direction and narrowing its use cases. The long-term goal is to transform the Beta Cluster into a Playground environment for experimentation and testing without replicating every aspect of production. As part of this effort, the team is also working actively on tools like PatchDemo/Catalyst to ensure the most common use cases of Beta are covered as on-demand isolated testing environments. While this transformation is ongoing, the team is prioritizing only very essential updates (E.g. PHP 8.1 Upgrade) and not addressing smaller issues in its current state.

Developer Experience encourage users of Beta Cluster to submit a feature request in Phabricator if their requirements are not adequately addressed yet by PatchDemo/Catalyst or other tools. Their input will guide improvements and help prioritize features.

How it works

Este executa "git master" e atualiza o seu código núcleo e as extensões do MediaWiki a cada dez minutos. Beta Cluster é uma das wikis de teste da Wikimedia.

It uses its own SUL login separate from production, so for example an account for en.wikipedia.beta.wmflabs.org also works on en.wikisource.beta.wmflabs.org but not on any production wiki.

Open tasks

Open tasks can be found in the workboard in Phabricator. Those task are currently used as a way to catalogue issues or recurring problems, but are not addressed or observed immediately.

Testar alterações no Beta Cluster

Consulte Implementar no Beta Cluster para passos sobre a implementação.

Os registos do beta cluster são enviados para o "Logstash" e podem ser vistos em beta-logs.wmcloud.org. De momento, este site está protegido por palavra-passe. Para uma conta, consulte: ssh deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud sudo cat /root/secrets.txt. If for your EventLogging events aren't showing up in the dashboard, maybe check the logs and database for possible problems. If that's not working, maybe eventlogging and / or the machine needs to be rebooted. Ping the folks in #wmf-analytics.

Se precisar de executar um script de manutenção no Beta Cluster, ssh para deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud (proxy através de bastion.wmcloud.org).

Se precisar de verificar as base de dados, estas estão hospedados em máquinas com o nome *dbXX* entre as listadas aqui: https://openstack-browser.toolforge.org/project/deployment-prep.

Se precisar apenas de executar algumas consultas, ssh para deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud e execute sql testwiki ou por qualquer outro nome da base de dados que precisa.

Bloqueie mensagens no registo do administrador do servidor do beta cluster utilizando o prefixo «!log » na #wikimedia-releng.

Consulte também

Documentos Históricos