Jump to content

Content translation/Deployments/Beta

From mediawiki.org

This page will contain all information related to ContentTranslation extension on Beta Cluster.

Workflow

[edit]
Content Translation server workflow in Beta and Labs
Content Translation server workflow in Beta and Labs

Client and server

[edit]

Where xx is language code.

Testing

[edit]

Beta labs always runs on master code for CX client and server. CXServer code is updated via "CXServer deploy" update mentioned at, https://phabricator.wikimedia.org/diffusion/GCXD/browse/master/README.md

  • ContentTranslation code is at: /srv/mediawiki/php-master/extensions/ContentTranslation
  • cxserver code is at: /srv/deployment/cxserver/deploy/src

Log

[edit]

cxserver Beta labs logs can be found using logstash at: https://logstash-beta.wmflabs.org/#/dashboard/elasticsearch

Monitoring

[edit]

To monitor RAM/CPU and disk space on CX Beta instance. See: https://nagf.toolforge.org/?project=deployment-prep#h_deployment-cxserver03

Debugging

[edit]
  1. Topic of #wikimedia-releng IRC channel.
  2. Check with #wikimedia-releng if Beta Cluster is really down or facing any issue(s).
  3. File a bug with: Beta-Cluster tag.

Puppet config testing

[edit]
  1. Login to: deployment-puppetmaster.deployment-prep.eqiad.wmflabs
  2. Go to: /var/lib/git/operations/puppet/
  3. Cherry pick patchset you want to, for example: git fetch https://gerrit.wikimedia.org/r/operations/puppet refs/changes/62/156762/2 && git cherry-pick FETCH_HEAD
  4. Logout
  5. Login to: deployment-sca0x.eqiad.wmflabs
  6. Run Puppet update: puppet agent -tv
  7. Don't forget to reset HEAD at deployment-puppetmaster.deployment-prep.eqiad.wmflabs when testing is finished!