2020-06-03 17:08:23 -04:00
---
stage: Enablement
group: Geo
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
type: howto
---
2020-07-17 14:09:20 -04:00
# Geo validation tests **(PREMIUM ONLY)**
2020-05-12 02:09:37 -04:00
2020-05-14 11:08:14 -04:00
The Geo team performs manual testing and validation on common deployment configurations to ensure
that Geo works when upgrading between minor GitLab versions and major PostgreSQL database versions.
2020-05-12 02:09:37 -04:00
2020-05-14 11:08:14 -04:00
This section contains a journal of recent validation tests and links to the relevant issues.
## GitLab upgrades
The following are GitLab upgrade validation tests we performed.
2020-05-12 02:09:37 -04:00
2020-07-16 08:09:22 -04:00
### July 2020
[Upgrade Geo multi-node installation ](https://gitlab.com/gitlab-org/gitlab/-/issues/225359 ):
- Description: Tested upgrading from GitLab 12.10.12 to 13.0.10 package in a multi-node
configuration. As part of the issue to [Fix zero-downtime upgrade process/instructions for multi-node Geo deployments ](https://gitlab.com/gitlab-org/gitlab/-/issues/22568 ), we monitored for downtime using the looping pipeline, HAProxy stats dashboards, and a script to log readiness status on both nodes.
- Outcome: Partial success because we observed downtime during the upgrade of the primary and secondary sites.
- Follow up issues/actions:
- [Investigate why `reconfigure` and `hup` cause downtime on multi-node Geo deployments ](https://gitlab.com/gitlab-org/gitlab/-/issues/228898 )
- [Geo multi-node deployment upgrade: investigate order when upgrading non-deploy nodes ](https://gitlab.com/gitlab-org/gitlab/-/issues/228954 )
2020-07-06 08:09:00 -04:00
### June 2020
2020-07-16 08:09:22 -04:00
[Upgrade Geo multi-node installation ](https://gitlab.com/gitlab-org/gitlab/-/issues/223284 ):
2020-07-06 08:09:00 -04:00
2020-07-16 08:09:22 -04:00
- Description: Tested upgrading from GitLab 12.9.10 to 12.10.12 package in a multi-node
2020-07-06 08:09:00 -04:00
configuration. Monitored for downtime using the looping pipeline and HAProxy stats dashboards.
- Outcome: Partial success because we observed downtime during the upgrade of the primary and secondary sites.
- Follow up issues/actions:
- [Fix zero-downtime upgrade process/instructions for multi-node Geo deployments ](https://gitlab.com/gitlab-org/gitlab/-/issues/225684 )
- [Geo:check Rake task: Exclude AuthorizedKeysCommand check if node not running Puma/Unicorn ](https://gitlab.com/gitlab-org/gitlab/-/issues/225454 )
- [Update instructions in the next upgrade issue to include monitoring HAProxy dashboards ](https://gitlab.com/gitlab-org/gitlab/-/issues/225359 )
2020-07-16 08:09:22 -04:00
[Upgrade Geo multi-node installation ](https://gitlab.com/gitlab-org/gitlab/-/issues/208104 ):
2020-07-06 08:09:00 -04:00
2020-07-16 08:09:22 -04:00
- Description: Tested upgrading from GitLab 12.8.1 to 12.9.10 package in a multi-node
2020-07-06 08:09:00 -04:00
configuration.
- Outcome: Partial success because we did not run the looping pipeline during the demo to validate
zero-downtime.
- Follow up issues:
- [Clarify hup Puma/Unicorn should include deploy node ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5460 )
- [Investigate MR creation failure after upgrade to 12.9.10 ](https://gitlab.com/gitlab-org/gitlab/-/issues/223282 ) Closed as false positive.
2020-05-12 02:09:37 -04:00
### February 2020
2020-07-01 20:09:51 -04:00
[Upgrade Geo multi-node installation ](https://gitlab.com/gitlab-org/gitlab/-/issues/201837 ):
2020-05-12 02:09:37 -04:00
2020-07-01 20:09:51 -04:00
- Description: Tested upgrading from GitLab 12.7.5 to the latest GitLab 12.8 package in a multi-node
2020-05-15 02:08:40 -04:00
configuration.
2020-05-14 11:08:14 -04:00
- Outcome: Partial success because we did not run the looping pipeline during the demo to monitor
downtime.
2020-05-12 02:09:37 -04:00
### January 2020
2020-07-01 20:09:51 -04:00
[Upgrade Geo multi-node installation ](https://gitlab.com/gitlab-org/gitlab/-/issues/200085 ):
2020-05-12 02:09:37 -04:00
2020-07-01 20:09:51 -04:00
- Description: Tested upgrading from GitLab 12.6.x to the latest GitLab 12.7 package in a multi-node
2020-05-15 02:08:40 -04:00
configuration.
2020-05-12 02:09:37 -04:00
- Outcome: Upgrade test was successful.
- Follow up issues:
2020-05-21 02:08:25 -04:00
- [Investigate Geo end-to-end test failures ](https://gitlab.com/gitlab-org/gitlab/-/issues/201823 ).
- [Add more logging to Geo end-to-end tests ](https://gitlab.com/gitlab-org/gitlab/-/issues/201830 ).
2020-05-14 11:08:14 -04:00
- [Excess service restarts during zero-downtime upgrade ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5047 ).
2020-05-12 02:09:37 -04:00
2020-07-01 20:09:51 -04:00
[Upgrade Geo multi-node installation ](https://gitlab.com/gitlab-org/gitlab/-/issues/199836 ):
2020-05-12 02:09:37 -04:00
2020-07-01 20:09:51 -04:00
- Description: Tested upgrading from GitLab 12.5.7 to GitLab 12.6.6 in a multi-node configuration.
2020-05-12 02:09:37 -04:00
- Outcome: Upgrade test was successful.
2020-05-14 11:08:14 -04:00
- Follow up issue:
[Update documentation for zero-downtime upgrades to ensure deploy node it not in use ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5046 ).
2020-05-12 02:09:37 -04:00
2020-07-01 20:09:51 -04:00
[Upgrade Geo multi-node installation ](https://gitlab.com/gitlab-org/gitlab/-/issues/37044 ):
2020-05-12 02:09:37 -04:00
2020-07-01 20:09:51 -04:00
- Description: Tested upgrading from GitLab 12.4.x to the latest GitLab 12.5 package in a multi-node
2020-05-15 02:08:40 -04:00
configuration.
2020-05-12 02:09:37 -04:00
- Outcome: Upgrade test was successful.
- Follow up issues:
2020-05-21 02:08:25 -04:00
- [Investigate why HTTP push spec failed on primary node ](https://gitlab.com/gitlab-org/gitlab/-/issues/199825 ).
2020-05-14 11:08:14 -04:00
- [Investigate if documentation should be modified to include refresh foreign tables task ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5041 ).
2020-05-12 02:09:37 -04:00
### October 2019
2020-07-01 20:09:51 -04:00
[Upgrade Geo multi-node installation ](https://gitlab.com/gitlab-org/gitlab/-/issues/35262 ):
2020-05-12 02:09:37 -04:00
2020-07-01 20:09:51 -04:00
- Description: Tested upgrading from GitLab 12.3.5 to GitLab 12.4.1 in a multi-node configuration.
2020-05-12 02:09:37 -04:00
- Outcome: Upgrade test was successful.
2020-07-01 20:09:51 -04:00
[Upgrade Geo multi-node installation ](https://gitlab.com/gitlab-org/gitlab/-/issues/32437 ):
2020-05-12 02:09:37 -04:00
2020-05-14 11:08:14 -04:00
- Description: Tested upgrading from GitLab 12.2.8 to GitLab 12.3.5.
2020-05-12 02:09:37 -04:00
- Outcome: Upgrade test was successful.
2020-07-01 20:09:51 -04:00
[Upgrade Geo multi-node installation ](https://gitlab.com/gitlab-org/gitlab/-/issues/32435 ):
2020-05-12 02:09:37 -04:00
2020-05-14 11:08:14 -04:00
- Description: Tested upgrading from GitLab 12.1.9 to GitLab 12.2.8.
2020-05-12 02:09:37 -04:00
- Outcome: Partial success due to possible misconfiguration issues.
2020-05-14 11:08:14 -04:00
## PostgreSQL upgrades
The following are PostgreSQL upgrade validation tests we performed.
2020-05-12 02:09:37 -04:00
### April 2020
2020-05-14 11:08:14 -04:00
[PostgreSQL 11 upgrade procedure for Geo installations ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4975 ):
2020-05-12 02:09:37 -04:00
2020-05-14 11:08:14 -04:00
- Description: Prior to making PostgreSQL 11 the default version of PostgreSQL in GitLab 12.10, we
tested upgrading to PostgreSQL 11 in Geo deployments on GitLab 12.9.
2020-07-01 20:09:51 -04:00
- Outcome: Partially successful. Issues were discovered in multi-node configurations with a separate
2020-05-14 11:08:14 -04:00
tracking database and concerns were raised about allowing automatic upgrades when Geo enabled.
2020-05-12 02:09:37 -04:00
- Follow up issues:
2020-05-14 11:08:14 -04:00
- [`replicate-geo-database` incorrectly tries to back up repositories ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5241 ).
- [`pg-upgrade` fails to upgrade a standalone Geo tracking database ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5242 ).
- [`revert-pg-upgrade` fails to downgrade the PostgreSQL data of a Geo secondary’ s standalone tracking database ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5243 ).
- [Timeout error on Geo secondary read-replica near the end of `gitlab-ctl pg-upgrade` ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5235 ).
2020-05-12 02:09:37 -04:00
2020-05-14 11:08:14 -04:00
[Verify Geo installation with PostgreSQL 11 ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4971 ):
2020-05-12 02:09:37 -04:00
2020-05-14 11:08:14 -04:00
- Description: Prior to making PostgreSQL 11 the default version of PostgreSQL in GitLab 12.10, we
tested fresh installations of GitLab 12.9 with Geo installed with PostgreSQL 11.
2020-05-12 02:09:37 -04:00
- Outcome: Installation test was successful.
### September 2019
2020-05-21 02:08:25 -04:00
[Test and validate PostgreSQL 10.0 upgrade for Geo ](https://gitlab.com/gitlab-org/gitlab/-/issues/12092 ):
2020-05-12 02:09:37 -04:00
2020-05-14 11:08:14 -04:00
- Description: With the 12.0 release, GitLab required an upgrade to PostgreSQL 10.0. We tested
various upgrade scenarios from GitLab 11.11.5 through to GitLab 12.1.8.
2020-05-12 02:09:37 -04:00
- Outcome: Multiple issues were found when upgrading and addressed in follow-up issues.
- Follow up issues:
2020-07-01 20:09:51 -04:00
- [`gitlab-ctl` reconfigure fails on Redis node in multi-node Geo setup ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4706 ).
- [Geo multi-node upgrade from 12.0.9 to 12.1.9 does not upgrade PostgreSQL ](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4705 ).
- [Refresh foreign tables fails on app server in multi-node setup after upgrade to 12.1.9 ](https://gitlab.com/gitlab-org/gitlab/-/issues/32119 ).