ベータ クラスター
ベータ クラスターは、Cloud VPS 内の本番環境に近い動作をする機能的な環境であり、新しい機能の最終段階でのテストに適しています。 最初は、Cloud VPS インスタンスを使用して、ウィキメディア財団の本番クラスター (データベース ホスト、Apache、ログ、Squid、Varnish キャッシュ、画像スケーラーなどを含む) の正確なコピーを提供する方法として作成されました。
Beta cluster
新機能の最終段階のテストに適した本番環境に似た環境。
|
現在の進捗状況
ベータ クラスターは、MediaWiki の開発エコシステムにおいて重要な役割を果たし、コードが本番環境に到達する前にテストおよび展開するための前段階の環境として使用されていますが、その目的と管理は再構築されましたが、現在はほとんど維持されていません。
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
Git master の外部で実行し、固有の MediaWiki コアが存在し、拡張コードはおよそ10分ごとに更新されます。 ベータクラスターはWikimedia テストウィキのひとつ。 本番環境とは別の固有のSULログインを採用しているので、たとえばen.wikipedia.beta.wmflabs.org で設定したアカウントは、en.wikisource.beta.wmflabs.org でも有効ですが、本番環境のウィキでは無効です。
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.
ベータクラスターの変更をテストするには
ベータクラスターに展開する方法を参照。
ベータクラスターのログは Logstash に送られ、閲覧は beta-logs.wmcloud.org で行います。
このサイトは現状ではパスワード保護の対象であり、アカウント情報は次で参照: ssh deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud sudo cat /root/secrets.txt
。
何かの理由で EventLogging イベントがダッシュボードに表示されない場合は、ログとデータベースを確認し可能性のある問題を調べてみてください。
それがうまくいかない場合、おそらくはイベントログおよび / または端末の再起動が必要かもしれません。
#wmf-analytics 接続にいる人たちに知らせてください。
ベータ クラスターでメンテナンス スクリプトを実行するには、deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud に ssh します (bastion.wmcloud.org を介してプロキシを実施)。
If you need user rights on a beta cluster wiki, use the createAndPromote.php maintenance script (see above for running maintenance scripts) to promote your account. If you don't have shell access, file a task in Phabricator. Note that certain permissions, such as interface administrator and checkuser, require your account to have two-factor authentication (2FA) enabled, just like in production.
データベースの検証には、端末に保存された以下の一覧から *dbXX* を探します: https://openstack-browser.toolforge.org/project/deployment-prep。
単にクエリを実行するだけなら、deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud を ssh して sql deploymentwiki もしくは sql enwiki を走らせ、使いたい dbname と置き換えます。
ベータクラスターのサーバ管理者ログにメッセージをスタッシュするには、#wikimedia-relengに接頭辞 "!log " を付けます。
関連項目
歴史的文書
- 規格: ベータ版で修正すべき箇所 Wikimedia Labs/Things to fix in beta
- 日程: 旧来の Labs の計画を参照 (更新版 1、2、3)
- 2014-15年第3期計画 (暫定)