2018-07-12 STAGING failover attempt
Failover Team
Role | Assigned To |
---|---|
|
@nick |
|
@ahmadsherif |
|
@dawsmith |
|
@jarv |
|
@ahmadsherif |
|
@remy |
|
@ahmadsherif |
|
(try to ensure that
Immediately
Perform these steps when the issue is created.
-
🐺 Coordinator : Fill out the names of the failover team in the table above. -
🐺 Coordinator : Fill out dates/times and links in this issue:-
START_TIME
&END_TIME
-
GOOGLE_DOC_LINK
(for PRODUCTION, create a new doc and make it writable for GitLabbers, and readable for the world) -
PRODUCTION ONLY
LINK_TO_BLOG_POST
-
PRODUCTION ONLY
END_TIME
-
Support Options
Provider | Plan | Details | Create Ticket |
---|---|---|---|
Microsoft Azure | Profession Direct Support | 24x7, email & phone, 1 hour turnaround on Sev A | Create Azure Support Ticket |
Google Cloud Platform | Gold Support | 24x7, email & phone, 1hr response on critical issues | Create GCP Support Ticket |
Database hosts
Staging
Hostname | Role | ID |
---|---|---|
postgres01.db.stg.gitlab.com | standby | 895563110 |
postgres02.db.stg.gitlab.com | Current primary | 912536887 |
postgres-01.db.gstg.gitlab.com | Failover primary target | 1681417267 |
postgres-02.db.gstg.gitlab.com | WAL-E node | N/A |
postgres-03.db.gstg.gitlab.com | standby | 1700935732 |
Production
graph TD;
postgres02a["postgres-02.db.prd (Current primary)"] --> postgres01a["postgres-01.db.prd"];
postgres02a --> postgres03a["postgres-03.db.prd"];
postgres02a --> postgres04a["postgres-04.db.prd"];
postgres02a -->|WAL-E| postgres01g["postgres-01-db-gprd"];
postgres01g --> postgres02g["postgres-02-db-gprd"];
postgres01g --> postgres03g["postgres-03-db-gprd"];
postgres01g --> postgres04g["postgres-04-db-gprd"];
Console hosts
The usual rails and database console access hosts are broken during the
failover. Any shell commands should, instead, be run on the following
machines by SSHing to them. Rails console commands should also be run on these
machines, by SSHing to them and issuing a sudo gitlab-rails console
command
first.
- Staging:
- Azure:
web-01.sv.stg.gitlab.com
- GCP:
web-01-sv-gstg.c.gitlab-staging-1.internal
- Azure:
- Production:
- Azure:
web-01.sv.prd.gitlab.com
- GCP:
web-01-sv-gprd.c.gitlab-production.internal
- Azure:
Grafana dashboards
These dashboards might be useful during the failover:
- Staging:
- Production:
PRODUCTION ONLY T minus 3 weeks (Date TBD)
-
Notify content team of upcoming announcements to give them time to prepare blog post, email content. https://gitlab.com/gitlab-com/blog-posts/issues/523 -
Ensure this issue has been created on dev.gitlab.org
, sincegitlab.com
will be unavailable during the real failover!!!
** PRODUCTION ONLY** T minus 1 week (Date TBD)
-
🔪 Chef-Runner : Scale up thegprd
fleet to production capacity: https://gitlab.com/gitlab-com/migration/issues/286 -
☎ Comms-Handler : communicate date to Google -
☎ Comms-Handler : announce in #general slack and on team call date of failover. -
☎ Comms-Handler : Marketing team publish blog post about upcoming GCP failover -
☎ Comms-Handler : Marketing team sends out an email to all users notifying that GitLab.com will be undergoing scheduled maintenance. Email should include points on:- Users should expect to have to re-authenticate after the outage, as authentication cookies will be invalidated after the failover
- Details of our backup policies to assure users that their data is safe
- Details of specific situations with very-long running CI jobs which may loose their artifacts and logs if they don't complete before the maintenance window
-
☎ Comms-Handler : Ensure that YouTube stream will be available for Zoom call -
☎ Comms-Handler : Tweet blog post from@gitlab
and@gitlabstatus
Reminder: GitLab.com will be undergoing 2 hours maintenance on Saturday XX June 2018, from START_TIME - END_TIME UTC. Follow @gitlabstatus for more details. LINK_TO_BLOG_POST
-
🔪 Chef-Runner : Ensure the GCP environment is inaccessible to the outside world
T minus 1 day (Date TBD)
-
🐺 Coordinator : Perform (or coordinate) Preflight Checklist -
PRODUCTION ONLY UNTESTED 🔪 Chef-Runner : Update GitLab shared runners to expire jobs after 1 hour -
PRODUCTION ONLY ☎ Comms-Handler : Tweet from@gitlab
Reminder: GitLab.com will be undergoing 2 hours maintenance tomorrow, from START_TIME - END_TIME UTC. Follow @gitlabstatus for more details. LINK_TO_BLOG_POST
-
PRODUCTION ONLY ☎ Comms-Handler : Retweet@gitlab
tweet from@gitlabstatus
with further detailsReminder: GitLab.com will be undergoing 2 hours maintenance tomorrow. We'll be live on YouTube. Working doc: GOOGLE_DOC_LINK, Blog: LINK_TO_BLOG_POST
T minus 1 hour (Date TBD)
STAGING FAILOVER TESTING ONLY: to speed up testing, this step can be done less than 1 hour before failover
GitLab runners attempting to post artifacts back to GitLab.com during the maintenance window will fail and the artifacts may be lost. To avoid this as much as possible, we'll stop any new runner jobs from being picked up, starting an hour before the scheduled maintenance window.
-
PRODUCTION ONLY ☎ Comms-Handler : Tweet from@gitlabstatus
As part of upcoming GitLab.com maintenance work, CI runners will not be accepting next jobs until END_TIME UTC. GitLab.com will undergo maintenance in 1 hour. Working doc: GOOGLE_DOC_LINK
-
☎ Comms-Handler : Post to #announcements on Slack:- Staging:
We're rehearsing the failover of GitLab.com in *1 hour* by migrating staging.gitlab.com to GCP. Come watch us at ZOOM_LINK! Notes in GOOGLE_DOC_LINK!
- Production:
GitLab.com is being migrated to GCP in *1 hour*. There is a 2-hour downtime window. We'll be live on YouTube. Notes in GOOGLE_DOC_LINK!
- Staging:
-
🔪 Chef-Runner : Stop any new GitLab CI jobs from being executed- Block
POST /api/v4/jobs/request
- Staging: https://dev.gitlab.org/cookbooks/chef-repo/merge_requests/2094
- Production: https://dev.gitlab.org/cookbooks/chef-repo/merge_requests/2243
- Staging:
knife ssh -p 2222 roles:staging-base-lb 'sudo chef-client'
- Production:
knife ssh -p 2222 roles:gitlab-base-lb 'sudo chef-client'
- Block
-
☎ Comms-Handler : Create a broadcast message- Staging: https://staging.gitlab.com/admin/broadcast_messages
- Production: https://gitlab.com/admin/broadcast_messages
- Text:
gitlab.com is moving to a new home! Hold on to your hats, we’re going dark for approximately 2 hours from XX:XX on 2018-XX-YY UTC
- Start date: now.
- End date: now + 2 hours
-
☁ Cloud-conductor : Initial snapshot of database disks in case of failback- In Azure
- In GCP
-
🔪 Chef-Runner : Start parallelized, incremental GitLab Pages sync- Expected to take ~30 minutes, run in screen/tmux! On the Azure pages NFS server!
- Updates to pages after now will be lost.
- Very manual, looks a little like the following at present:
- Staging:
ls -1 /var/opt/gitlab/gitlab-rails/shared/pages | xargs -I {} -P 15 -n 1 rsync -avh -e "ssh -i /root/.ssh/pages_sync -oCompression=no" /var/opt/gitlab/gitlab-rails/shared/pages/{} git@35.231.62.133:/var/opt/gitlab/gitlab-rails/shared/pages
- Production:
ls -1 /var/opt/gitlab/gitlab-rails/shared/pages | xargs -I {} -P 15 -n 1 rsync -avh -e "ssh -i /root/.ssh/pages_sync -oCompression=no" /var/opt/gitlab/gitlab-rails/shared/pages/{} git@35.196.249.92:/var/opt/gitlab/gitlab-rails/shared/pages
T minus zero (failover day) (Date TBD)
We expect the maintenance window to last for up to 2 hours, starting from now.
Failover Procedure
These steps will be run in a Zoom call. The
Changes are made one at a time, and verified before moving onto the next step. Whoever is performing a change should share their screen and explain their actions as they work through them. Everyone else should watch closely for mistakes or errors! A few things to keep an especially sharp eye out for:
- Exposed credentials (except short-lived items like 2FA codes)
- Running commands against the wrong hosts
- Navigating to the wrong pages in web browsers (gstg vs. gprd, etc)
Remember that the intention is for the call to be broadcast live on the day. If you see something happening that shouldn't be public, mention it.
Notify Users of Maintenance Window
-
PRODUCTION ONLY ☎ Comms-Handler : Tweet from@gitlabstatus
GitLab.com will soon shutdown for planned maintenance for migration to @GCPcloud. See you on the other side! We'll be live on YouTube
Monitoring
-
🐺 Coordinator : To monitor the state of DNS, network blocking etc, run the below command on two machines - one with VPN access, one without.- Staging:
watch -n 5 bin/hostinfo staging.gitlab.com registry.staging.gitlab.com altssh.staging.gitlab.com gitlab-org.staging.gitlab.io gstg.gitlab.com registry.gstg.gitlab.com altssh.gstg.gitlab.com gitlab-org.gstg.gitlab.io
- Production:
watch -n 5 bin/hostinfo gitlab.com registry.gitlab.com altssh.gitlab.com gitlab-org.gitlab.io gprd.gitlab.com registry.gprd.gitlab.com altssh.gprd.gitlab.com gitlab-org.gprd.gitlab.io
- Staging:
Health check
-
🐺 Coordinator : Ensure that there are no active alerts on the azure or gcp environment.- Staging
- Staging
- GCP
gstg
: https://dashboards.gitlab.net/d/SOn6MeNmk/alerts?orgId=1&var-interval=1m&var-environment=gstg&var-alertname=All&var-alertstate=All&var-prometheus=prometheus-01-inf-gstg&var-prometheus_app=prometheus-app-01-inf-gstg - Azure Staging: https://alerts.gitlab.com/#/alerts?silenced=false&inhibited=false&filter=%7Benvironment%3D%22stg%22%7D
- GCP
- Production
- Staging
- Staging
Roll call
-
🐺 Coordinator : Ensure everyone mentioned above is on the call -
🐺 Coordinator : Ensure the Zoom room host is on the call
Prevent updates to the primary
Phase 1: Block non-essential network access to the primary
-
🔪 Chef-Runner : Update HAProxy config to allow Geo and VPN traffic over HTTPS and drop everything else- Staging
- Apply this MR: https://dev.gitlab.org/cookbooks/chef-repo/merge_requests/2029
- Run
knife ssh -p 2222 roles:staging-base-lb 'sudo chef-client'
- Production:
- Apply this MR: https://dev.gitlab.org/cookbooks/chef-repo/merge_requests/2254
- Run
knife ssh -p 2222 roles:gitlab-base-lb 'sudo chef-client'
- Staging
-
🔪 Chef-Runner : Restart HAProxy on all LBs to terminate any on-going connections- This terminates ongoing SSH, HTTP and HTTPS connections, including AltSSH
- Staging:
knife ssh -p 2222 roles:staging-base-lb 'sudo systemctl restart haproxy'
- Production:
knife ssh -p 2222 roles:gitlab-base-lb 'sudo systemctl restart haproxy'
-
🔪 Chef-Runner : Stop mailroom on all the nodes- Staging:
knife ssh "role:staging-base-be-mailroom OR role:gstg-base-be-mailroom" 'sudo gitlab-ctl stop mailroom'
- Production:
knife ssh "role:gitlab-base-be-mailroom OR role:gprd-base-be-mailroom" 'sudo gitlab-ctl stop mailroom'
- Staging:
-
🐺 Coordinator : Ensure traffic from a non-VPN IP is blocked- Check the non-VPN
hostinfo
output and verify that the SSH column readsNo
and the REDIRECT column shows it being redirected to the migration blog post
- Check the non-VPN
Running CI jobs will no longer be able to push updates. Jobs that complete now may be lost.
Phase 2: Commence Sidekiq Shutdown in Azure
-
🐺 Coordinator : Disable Sidekiq crons that may cause updates on the primary- In a rails console on the primary:
Sidekiq::Cron::Job.all.reject { |j| ::Gitlab::Geo::CronManager::GEO_JOBS.include?(j.name) }.map(&:disable!)
- This may race with a
geo_sidekiq_cron_config
job. Run it until it does not
-
🐺 Coordinator : Wait for all Sidekiq jobs to complete on the primary- Staging: https://staging.gitlab.com/admin/background_jobs
- Production: https://gitlab.com/admin/background_jobs
- Press
Queues -> Live Poll
- Wait for all queues not mentioned above to reach 0
- Wait for the number of
Enqueued
andBusy
jobs to reach 0 - On staging, the repository verification queue may not empty
-
🐺 Coordinator : Handle Sidekiq jobs in the "retry" state- Staging: https://staging.gitlab.com/admin/sidekiq/retries
- Production: https://gitlab.com/admin/sidekiq/retries
- Delete jobs in idempotent or transient queues (
reactive_caching
orrepository_update_remote_mirror
, for instance) - Delete jobs in other queues that are failing due to application bugs (error contains
NoMethodError
, for instance) - Press "Retry All" to attempt to retry all remaining jobs immediately
- Repeat until 0 retries are present
-
🔪 Chef-Runner : Stop sidekiq in Azure- Staging:
knife ssh roles:staging-base-be-sidekiq "sudo gitlab-ctl stop sidekiq-cluster"
- Production:
knife ssh roles:gitlab-base-be-sidekiq "sudo gitlab-ctl stop sidekiq-cluster"
- Check that no sidekiq processes show in the GitLab admin panel
- Staging:
At this point, the primary can no longer receive any updates. This allows the state of the secondary to converge.
Finish replicating and verifying all data
Phase 3: Draining
-
🐺 Coordinator : Ensure any data not replicated by Geo is replicated manually. We know about these:-
Container Registry - Hopefully this is a shared object storage bucket, in which case this can be removed
-
CI traces in Redis - Run
::Ci::BuildTraceChunk.redis.find_each(batch_size: 10, &:use_database!)
- Run
-
-
🐺 Coordinator : Wait for all repositories and wikis to become synchronized- Staging: https://gstg.gitlab.com/admin/geo_nodes
- Production: https://gprd.gitlab.com/admin/geo_nodes
- Press "Sync Information"
- Wait for "repositories synced" and "wikis synced" to reach 100% with 0 failures
- You can use
sudo gitlab-rake geo:status
instead if the UI is non-compliant - If failures appear, see Rails console commands to resync repos/wikis: https://gitlab.com/snippets/1713152
- On staging, this may not complete
-
🐺 Coordinator : Wait for all repositories and wikis to become verified- Press "Verification Information"
- Wait for "repositories verified" and "wikis verified" to reach 100% with 0 failures
- You can use
sudo gitlab-rake geo:status
instead if the UI is non-compliant - If failures appear, see https://gitlab.com/snippets/1713152#verify-repos-after-successful-sync for how to manually verify after resync
- On staging, verification may not complete
-
🐺 Coordinator : In "Sync Information", wait for "Last event ID seen from primary" to equal "Last event ID processed by cursor" -
🐺 Coordinator : In "Sync Information", wait for "Data replication lag" to read1m
or less -
🐺 Coordinator : Now disable all sidekiq-cron jobs on the secondary- In a rails console on the secondary:
Sidekiq::Cron::Job.all.map(&:disable!)
- This may race with a
geo_sidekiq_cron_config
job. Run it until it does not
-
🐺 Coordinator : Wait for all Sidekiq jobs to complete on the secondary- Staging: Navigate to https://gstg.gitlab.com/admin/background_jobs
- Production: Navigate to https://gprd.gitlab.com/admin/background_jobs
- Press
Queues -> Live Poll
- Wait for all queues to reach 0, excepting
emails_on_push
andmailers
(which are disabled) - Wait for the number of
Enqueued
andBusy
jobs to reach 0 - Staging: Some jobs (e.g.,
file_download_dispatch_worker
) may refuse to exit. They can be safely ignored.
-
🔪 Chef-Runner : Stop sidekiq in GCP- This ensures the postgresql promotion can happen and gives a better guarantee of sidekiq consistency
- Staging:
knife ssh roles:gstg-base-be-sidekiq "sudo gitlab-ctl stop sidekiq-cluster"
- Production:
knife ssh roles:gprd-base-be-sidekiq "sudo gitlab-ctl stop sidekiq-cluster"
- Check that no sidekiq processes show in the GitLab admin panel
At this point all data on the primary should be present in exactly the same form on the secondary. There is no outstanding work in sidekiq on the primary or secondary, and if we failover, no data will be lost.
Stopping all cronjobs on the secondary means it will no longer attempt to run background synchronization operations against the primary, reducing the chance of errors while it is being promoted.
Promote the secondary
Phase 4: Reconfiguration, Part 1
-
☁ Cloud-conductor : Incremental snapshot of database disks in case of failback- In Azure
- In GCP
-
☁ Cloud-conductor : Update DNS entries to refer to the GCP load-balancers- Panel is https://console.aws.amazon.com/route53/home?region=us-east-1#resource-record-sets:Z31LJ6JZ6X5VSQ
- Staging:
-
staging.gitlab.com A 35.227.123.228
-
registry.staging.gitlab.com A 35.227.123.228
-
altssh.staging.gitlab.com A 35.185.33.132
-
*.staging.gitlab.io A 35.229.69.78
-
DO NOT change
staging.gitlab.io
.
-
- Production UNTESTED:
-
gitlab.com A 35.231.145.151
-
registry.gitlab.com A 35.231.145.151
-
altssh.gitlab.com A 35.190.168.187
-
*.gitlab.io A 35.185.44.232
-
DO NOT change
gitlab.io
.
-
-
🐘 Database-Wrangler : Identify the desired primary in GCP, and update it's priority in the repmgr database. Run the following on the current primary:# gitlab-psql -d gitlab_repmgr -c "update repmgr_gitlab_cluster.repl_nodes set priority=101 where name='NEW_PRIMARY'"
-
🐘 Database-Wrangler : Gracefully turn off the Azure postgresql primary instance.- Keep everything, just ensure it’s turned off
$ knife ssh "fqdn:CURRENT_PRIMARY" "gitlab-ctl stop postgresql"
-
🐘 Database-Wrangler : After timeout of 30 seconds, repmgr should failover primary to the chosen node in GCP, and other nodes should automatically follow.-
Confirm gitlab-ctl repmgr cluster show
reflects the desired state -
Confirm pgbouncer node in GCP (Password is in 1password) $ gitlab-ctl pgb-console ... pgbouncer# SHOW DATABASES; # You want to see lines like gitlabhq_production | PRIMARY_IP_HERE | 5432 | gitlabhq_production | | 100 | 5 | | 0 | 0 gitlabhq_production_sidekiq | PRIMARY_IP_HERE | 5432 | gitlabhq_production | | 150 | 5 | | 0 | 0 ... pgbouncer# SHOW SERVERS; # You want to see lines like S | gitlab | gitlabhq_production | idle | PRIMARY_IP | 5432 | PGBOUNCER_IP | 54714 | 2018-05-11 20:59:11 | 2018-05-11 20:59:12 | 0x718ff0 | | 19430 |
-
-
🐘 Database-Wrangler : Check the database is now read-write- SQL, looking for
F
as the result:select * from pg_is_in_recovery();
- SQL, looking for
-
🔪 Chef-Runner : Update the chef configuration according to -
🔪 Chef-Runner : Runchef-client
on every node to ensure Chef changes are applied and all Geo secondary services are stopped-
STAGING
knife ssh roles:gstg-base 'sudo chef-client > /tmp/chef-client-log-$(date +%s).txt 2>&1 || echo FAILED'
-
PRODUCTION UNTESTED
knife ssh roles:gprd-base 'sudo chef-client > /tmp/chef-client-log-$(date +%s).txt 2>&1 || echo FAILED'
-
STAGING
-
🔪 Chef-Runner : Ensure thatgitlab.rb
has the correctexternal_url
on all hosts -
🔪 Chef-Runner : Ensure that unicorn, etc, has been restarted on all hosts -
🔪 Chef-Runner : Fix the Geo node hostname for the old secondary- This ensures we continue to generate Geo event logs for a time, maybe useful for last-gasp failback
- In a Rails console in GCP:
- Staging:
GeoNode.where(url: "https://gstg.gitlab.com/").update_all(url: "https://azure.gitlab.com/")
- Production:
GeoNode.where(url: "https://gprd.gitlab.com/").update_all(url: "https://azure.gitlab.com/")
- Staging:
-
🔪 Chef-Runner : Flush any unwanted Sidekiq jobs on the promoted secondarySidekiq::Queue.all.select { |q| %w[emails_on_push mailers].include?(q.name) }.map(&:clear)
-
🔪 Chef-Runner : Clear Redis cache of promoted secondary:sudo gitlab-rake cache:clear:redis
-
🔪 Chef-Runner : Ensure GitLab Pages sync is completed- The incremental
rsync
commands set off above should be completed by now
- The incremental
-
🔪 Chef-Runner : Start sidekiq in GCP- This will automatically re-enable the disabled sidekiq-cron jobs
- Staging:
knife ssh roles:gstg-base-be-sidekiq "sudo gitlab-ctl start sidekiq-cluster"
- Production:
knife ssh roles:gprd-base-be-sidekiq "sudo gitlab-ctl start sidekiq-cluster"
- Check that sidekiq processes show up in the GitLab admin panel
Health check
-
🐺 Coordinator : Check for any alerts that might have been raised and investigate them- Staging: https://alerts.gstg.gitlab.net or #alerts-gstg in Slack
- Production: https://alerts.gprd.gitlab.net or #alerts-gprd in Slack
- The old primary in the GCP environment, backed by WAL-E log shipping, will report "replication lag too large" and "unused replication slot". This is OK.
During-Blackout QA
Phase 5: Verification, Part 1
The details of the QA tasks are listed in the test plan document.
-
🏆 Quality : All "during the blackout" QA automated tests have succeeded -
🏆 Quality : All "during the blackout" QA manual tests have succeeded
Evaluation of QA results - Decision Point
Phase 6: Commitment
If QA has succeeded, then we can continue to "Complete the Migration". If some
QA has failed, the
The top priority is to maintain data integrity. Failing back after the blackout window has ended is very difficult, and will result in any changes made in the interim being lost.
Don't Panic! Consult the failover priority list
Problems may be categorized into three broad causes - "unknown", "missing data", or "misconfiguration". Testers should focus on determining which bucket a failure falls into, as quickly as possible.
Failures with an unknown cause should be investigated further. If we can't determine the root cause within the blackout window, we should fail back.
We should abort for failures caused by missing data unless all the following apply:
- The scope is limited and well-known
- The data is unlikely to be missed in the very short term
- A named person will own back-filling the missing data on the same day
We should abort for failures caused by misconfiguration unless all the following apply:
- The fix is obvious and simple to apply
- The misconfiguration will not cause data loss or corruption before it is corrected
- A named person will own correcting the misconfiguration on the same day
If the number of failures seems high (double digits?), strongly consider failing back even if they each seem trivial - the causes of each failure may interact in unexpected ways.
Complete the Migration (T plus 2 hours)
Phase 7: Restart Mailing
-
🔪 Chef-Runner : *PRODUCTION ONLY Re-enable mailing queues on sidekiq-asap (revert chef-repo!1922)-
emails_on_push
queue -
mailers
queue -
( admin_emails
queue doesn't exist any more)
-
-
🔪 Chef-Runner : *PRODUCTION ONLY Configure mailroom to use incoming@gitlab.com (instead of incoming-gprd@gitlab.com) e-mail and restart mailroom-
Example MR: https://dev.gitlab.org/cookbooks/chef-repo/merge_requests/2026 -
Rotate the password of the incoming@gitlab.com account and update the vault -
Run chef-client and restart mailroom: bundle exec knife ssh role:gprd-base-be-mailroom 'sudo chef-client; sudo gitlab-ctl restart mailroom'
-
Phase 8: Reconfiguration, Part 2
-
🐘 Database-Wrangler : Production only Convert the WAL-E node to a standby node in repmgr-
Run gitlab-ctl repmgr standby setup PRIMARY_FQDN
- This will take a long time
-
-
🐘 Database-Wrangler : Production only Ensure priority is updated in repmgr configuration-
Update in chef cookbooks by removing the setting entirely -
Update in the running database -
On the primary server, run gitlab-psql -d gitlab_repmgr -c 'update repmgr_gitlab_cluster.repl_nodes set priority=100'
-
-
-
🔪 Chef-Runner : Convert Azure Pages IP into a proxy server to the GCP Pages LB- Staging:
- Apply https://dev.gitlab.org/cookbooks/chef-repo/merge_requests/2270
bundle exec knife ssh role:staging-base-lb-pages 'sudo chef-client'
- Production:
- Apply https://dev.gitlab.org/cookbooks/chef-repo/merge_requests/1987
bundle exec knife ssh role:gitlab-base-lb-pages 'sudo chef-client'
- Staging:
-
🔪 Chef-Runner : Make the GCP environment accessible to the outside world- Staging: Apply https://dev.gitlab.org/cookbooks/chef-repo/merge_requests/2112
- Production: TBD
Phase 9: Communicate
-
🐺 Coordinator : Remove the broadcast message (if it's after the initial window, it has probably expired automatically) -
PRODUCTION ONLY ☎ Comms-Handler : Tweet from@gitlabstatus
GitLab.com's migration to @GCPcloud is almost complete. Site is back up, although we're continuing to verify that all systems are functioning correctly. We're live on YouTube
Phase 10: Verification, Part 2
-
Start After-Blackout QA This is the second half of the test plan.
-
🏆 Quality : Ensure all "after the blackout" QA automated tests have succeeded -
🏆 Quality : Ensure all "after the blackout" QA manual tests have succeeded
-
PRODUCTION ONLY Post migration
-
🐺 Coordinator : Close the failback issue - it isn't needed -
☁ Cloud-conductor : Disable unneeded resources in the Azure environment completion more effectively- The Pages LB proxy must be retained
- We should retain all filesystem data for a defined period in case of problems (1 week? 3 months?)
- Unused machines can be switched off
-
☁ Cloud-conductor : Change GitLab settings: https://gprd.gitlab.com/admin/application_settings- Metrics - Influx -> InfluxDB host should be
performance-01-inf-gprd.c.gitlab-production.internal
- Metrics - Influx -> InfluxDB host should be