14.6.0-ee (Docker Image) PostgreSQL error: no match in usermap "gitlab" for user "gitlab"
Summary
Version: 14.6.0, downloaded from https://hub.docker.com/r/gitlab/gitlab-ee
GitLab writes error messages regarding PostgreSQL into the logs.
Steps to reproduce
Spin up the Docker images 14.6.0-ee.0 and check the logs. It might be that the error only occurs after upgrading from an older version.
What is the current bug behavior?
Displaying of error message, GitLab seems to behave correctly though.
What is the expected correct behavior?
No such error message in the logs.
Relevant logs
Relevant logs
gitlab.1.9waaf52jzavk@system1 | ==> /var/log/gitlab/postgresql/current <== gitlab.1.9waaf52jzavk@system1 | 2022-01-24_11:32:08.75403 LOG: database system is ready to accept connections gitlab.1.9waaf52jzavk@system1 | 2022-01-24_11:32:11.42987 LOG: no match in usermap "gitlab" for user "gitlab" authenticated as "root" gitlab.1.9waaf52jzavk@system1 | 2022-01-24_11:32:11.42992 FATAL: Peer authentication failed for user "gitlab" gitlab.1.9waaf52jzavk@system1 | 2022-01-24_11:32:11.42992 DETAIL: Connection matched pg_hba.conf line 70: "local all all peer map=gitlab" gitlab.1.9waaf52jzavk@system1 | 2022-01-24_11:32:11.42993 LOG: no match in usermap "gitlab" for user "gitlab" authenticated as "root" gitlab.1.9waaf52jzavk@system1 | 2022-01-24_11:32:11.42993 FATAL: Peer authentication failed for user "gitlab" gitlab.1.9waaf52jzavk@system1 | 2022-01-24_11:32:11.42993 DETAIL: Connection matched pg_hba.conf line 70: "local all all peer map=gitlab" gitlab.1.9waaf52jzavk@system1 | 2022-01-24_11:32:11.42993 LOG: no match in usermap "gitlab" for user "gitlab" authenticated as "root" gitlab.1.9waaf52jzavk@system1 | 2022-01-24_11:32:11.42994 FATAL: Peer authentication failed for user "gitlab" gitlab.1.9waaf52jzavk@system1 | 2022-01-24_11:32:11.42994 DETAIL: Connection matched pg_hba.conf line 70: "local all all peer map=gitlab" gitlab.1.9waaf52jzavk@system1 |
Details of package version
Provide the package version installation details
gitlab/gitlab-ee:14.6.0-ee.0
Environment details
- Operating System: Oracle Linux 8
- Installation Target, remove incorrect values:
- Other: Docker 20.10.7
- Installation Type, remove incorrect values:
- Upgrade from version 14.4.2-ee.0
- Is there any other software running on the machine: not relevant
- Is this a single or multiple node installation? Single
- Resources
- CPU: 8 Cores Intel Xeon Gold
- Memory total: 16 GB
Configuration details
Provide the relevant sections of `/etc/gitlab/gitlab.rb`
n/a