Page MenuHomePhabricator

rebuild deployment-bastion on trusty
Closed, ResolvedPublic

Description

Now that all deployment hosts have been updated to Trusty and deployment-bastion is lagging on Precise, it's time to rebuild.

1cd /srv/mediawiki-staging/php-master/
2rm -rf extensions
3git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions
4cd extensions
5git submodule update --init --recursive
6cd ../
7rm -rf skins
8git clone https://gerrit.wikimedia.org/r/p/mediawiki/skins
9git submodule update --init --recursive
10mv /srv /mnt/srv
11ln -s /mnt/srv /srv

Event Timeline

thcipriani raised the priority of this task from to Needs Triage.
thcipriani updated the task description. (Show Details)
thcipriani added subscribers: thcipriani, hashar, Paladox and 2 others.

This is also causing breakage for the beta-scap-eqiad-job https://phabricator.wikimedia.org/P2588

Change 270343 had a related patch set uploaded (by Thcipriani):
Beta: Move bastion server

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

What we did

Updates to puppet

  • Replace all instances where deployment-bastion was hard-coded with deployment-tin
    • same for IP (10.68.16.58 → 10.68.17.240)
  • Update deployment::redis to start on the public interface, not as a slave
  • Create a hiera file that only applies to deployment-tin to avoid mounting /data/project
    • since it refused to mount: T126568
  • Change all git::clone titles for beta::autoupdater
    • not sure how long they've been conflicting with scap::l10nupdate
    • this prevented clean puppet runs on deployment-tin, initially

Other

  • Additional /srv/mediawiki wrangling in P2597
  • git-deploy remotes don't seem to update their git remote.origin.url before fetch, meaning all trebuchet deployments failed
    • fixed via new deploy method sudo salt '*' deploy.fixurl (thanks @Joe!)

Looks like this task is a success. The Jenkins jobs updating the beta cluster seems to be working more or less properly.

Change 270343 merged by Filippo Giunchedi:
Beta: Move deployment server

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