Warning about PostgreSQL 13 when upgrading omnibus to 14.1.0

Summary

After upgrading 14.0.x to 14.1.0 a warning message it shown that seems to be inconsitent regarding PostgreSQL versions / GitLab versions / Release Dates.

Steps to reproduce

  • have 14.0.6 installed
  • upgrade to 14.1.0 via apt upgrade

What is the current bug behavior?

Output at the end of apt upgrade:

=== INFO ===
You are currently running PostgreSQL 12.
Note that PostgreSQL 13 will become the minimum required PostgreSQL version in GitLab 14.0 (May 2021).
PostgreSQL 12 will be removed in GitLab 14.0. Please consider upgrading your PostgreSQL version soon.
To upgrade, please see: https://docs.gitlab.com/omnibus/settings/database.html#upgrade-packaged-postgresql-server
=== INFO ===

(Also: GitLab 14.0 was released in June 2021, not May 2021.)

I'm not sure when the migration to PostgreSQL 13 is supposed to happen but I think it was not with GitLab version 14.0 (last month).

Running (sudo) gitlab-ctl pg-upgrade tells me that my PostgreSQL Installation is already up-to-date. (currently 12.6)

Checking for an omnibus managed postgresql: OK
Checking if postgresql['version'] is set: OK
Checking if we already upgraded: OK
The latest version 12.6 is already running, nothing to do

What is the expected correct behavior?

  • Either no deprecation/warning message (or at least one with correct versions/release dates)
  • or gitlab-ctl pg-upgrade actually performing an upgrade for PostgreSQL.

Details of package version

Provide the package version installation details
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                       Version                    Architecture               Description
+++-==========================================-==========================-==========================-=========================================================================================
ii  gitlab-ce                                  14.1.0-ce.0                amd64                      GitLab Community Edition (including NGINX, Postgres, Redis)
un  gitlab-ci-multi-runner                                                               (no description available)
un  gitlab-ci-multi-runner-beta                                                          (no description available)
un  gitlab-ee                                                                            (no description available)
ii  gitlab-runner                              14.1.0                     amd64                      GitLab Runner
un  gitlab-runner-beta                                                                   (no description available)

Environment details

  • Operating System: Ubuntu 18.04.5
  • Installation Target: VMware esxi 7
  • Installation Type: Upgrade from version 14.0.6
  • Is there any other software running on the machine: yes, apache2 mysql etc.
  • Is this a single or multiple node installation? Single

Configuration details

Provide the relevant sections of `/etc/gitlab/gitlab.rb`
(No PostgreSQL related settings.)
Edited by p-schneider