Related merge requests not showing up in issue
Summary
Related merge requests are not showing up in issues in our omnibus installation. You can see that the MR was created in annotations A & B (image below), but there is not corresponding merge request link at annotation C.
I've tried in existing and new projects with existing and new issues and it occurs everywhere. I have created the MR both from the default and specific branches and it occurs on both. This bug is not present on gitlab.com from what I can tell.
Steps to reproduce
Bring up a self-hosted version of GitLab Omnibus (via Docker)
docker-compose.yml
version: '2'
networks:
gitlab:
services:
gitlab:
container_name: gitlab
image: gitlab/gitlab-ee
restart: always
hostname: example.com
ports:
- '80:80'
- '443:443'
- '2222:22'
volumes:
- ./data/gitlab/config:/etc/gitlab
- ./data/gitlab/logs:/var/log/gitlab
- ./data/gitlab/data:/var/opt/gitlab
extra_hosts:
- example.com:172.16.0.1
networks:
- gitlab
gitlab-runner:
container_name: gitlab-runner
image: gitlab/gitlab-runner
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data/gitlab-runner/config:/etc/gitlab-runner
extra_hosts:
- example.com:172.16.0.1
networks:
- gitlab
- Create an issue
- Create an MR for said issue
- MR is not linked to issue
Example Project
I could not reproduce on gitlab.com (see pd93/playground#1). Works as intended.
What is the current bug behavior?
Related MRs are not shown
What is the expected correct behavior?
Related MRs should be shown...
Relevant logs and/or screenshots
Output of checks
We are running the dockerised version of gitlab omnibus (v12.0.2)
Results of GitLab environment info
Sanitised to protect company information.
Expand for output related to GitLab environment info
System information System: Proxy: no Current User: git Using RVM: no Ruby Version: 2.6.3p62 Gem Version: 2.7.9 Bundler Version:1.17.3 Rake Version: 12.3.2 Redis Version: 3.2.12 Git Version: 2.21.0 Sidekiq Version:5.2.7 Go Version: unknown
GitLab information Version: 12.0.2-ee Revision: ef76b54fc1e Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 9.6.11 URL: https://example.com HTTP Clone URL: https://example.com/some-group/some-project.git SSH Clone URL: ssh://git@example.com:2222/some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers:
GitLab Shell Version: 9.3.0 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab subtasks ...Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 9.3.0 ? ... OK (9.3.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Reply by email is disabled in config/gitlab.yml
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab App ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 6/1 ... yes 6/2 ... yes 6/3 ... yes 6/4 ... yes 6/5 ... yes 6/6 ... yes 7/7 ... yes 7/9 ... yes 9/10 ... yes 9/11 ... yes 9/12 ... yes 6/16 ... yes 6/17 ... yes 9/22 ... yes 6/23 ... yes 6/24 ... yes 6/25 ... yes 6/26 ... yes 9/27 ... yes 6/28 ... yes 9/29 ... yes 11/30 ... yes 11/31 ... yes 11/32 ... yes 11/33 ... yes 6/34 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.5.3 ? ... yes (2.6.3) Git version >= 2.21.0 ? ... yes (2.21.0) Git user has default SSH configuration? ... yes Active users: ... 5 Elasticsearch version 5.6 - 6.x? ... skipped (elasticsearch is disabled)
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished

