gitaly['env'] mandatory from version 11.3
Summary
From update in 11.3, we must duplicate proxy conf like :
Before 11.3 :
gitlab_rails['env'] = {
"http_proxy" => "http://srvproxy.appli:8080",
"https_proxy" => "http://srvproxy.appli:8080",
"no_proxy" => "127.0.0.1,localhost,ice,ice-dev,ldc1i781.server.lan"
}
From 11.3 :
gitlab_rails['env'] = {
"http_proxy" => "http://srvproxy.appli:8080",
"https_proxy" => "http://srvproxy.appli:8080",
"no_proxy" => "127.0.0.1,localhost,ice,ice-dev,ldc1i781.server.lan"
}
gitaly['env'] = {
"http_proxy" => "http://srvproxy.appli:8080",
"https_proxy" => "http://srvproxy.appli:8080",
"no_proxy" => "127.0.0.1,localhost,ice,ice-dev,ldc1i781.server.lan"
}
This bug is reported in support ticket 107198
Steps to reproduce
On a server behind a proxy, set only gitlab_rails['env'] and configure a project to pull from gitlab.com
What is the current bug behavior?
We must duplicate proxy settings configuration lines
What is the expected correct behavior?
Configure proxy only one time.
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Proxy: no_proxy: 127.0.0.1,localhost,ice,ice-dev,ldc1i781.server.lan http_proxy: http://srvproxy.appli:8080 https_proxy: http://srvproxy.appli:8080 Current User: git Using RVM: no Ruby Version: 2.4.5p335 Gem Version: 2.7.6 Bundler Version:1.16.2 Rake Version: 12.3.1 Redis Version: 3.2.12 Git Version: 2.18.1 Sidekiq Version:5.2.1 Go Version: unknown
GitLab information Version: 11.4.4-ee Revision: e325c5f Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.8 URL: https://git-dev.server.lan HTTP Clone URL: https://git-dev.server.lan/some-group/some-project.git SSH Clone URL: git@git-dev.server.lan:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: yes Using Omniauth: yes Omniauth Providers:
GitLab Shell Version: 8.3.3 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab Shell ...GitLab Shell version >= 8.3.3 ? ... OK (8.3.3) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 16/9 ... ok 17/10 ... ok 18/11 ... ok 19/12 ... ok 2/13 ... ok 29/15 ... ok 28/16 ... ok 32/18 ... ok 56/21 ... ok 2/22 ... repository is empty 60/25 ... ok 2/26 ... ok 2/27 ... ok 2/28 ... ok 2/29 ... ok 2/31 ... repository is empty 62/33 ... ok 62/34 ... ok 62/36 ... ok 62/37 ... ok 62/38 ... repository is empty 62/39 ... ok 2/40 ... repository is empty 62/41 ... repository is empty 2/47 ... ok 62/49 ... ok 66/50 ... ok 66/51 ... ok 66/52 ... ok 66/53 ... ok 66/55 ... ok 66/56 ... ok 66/57 ... ok 66/58 ... ok 66/59 ... ok 72/62 ... ok 66/63 ... ok 66/65 ... ok 66/69 ... repository is empty 66/76 ... ok 66/77 ... repository is empty 66/78 ... ok 66/79 ... ok 66/80 ... ok 66/81 ... ok 77/82 ... ok 66/86 ... ok 27/88 ... ok 101/90 ... ok 99/91 ... repository is empty 66/94 ... ok 2/95 ... ok 63/96 ... ok 76/97 ... ok 3/98 ... ok 1/99 ... ok 63/100 ... ok 63/102 ... ok 135/103 ... ok 136/104 ... ok 63/105 ... ok 16/111 ... ok 110/115 ... ok 66/117 ... ok 138/119 ... ok 16/120 ... ok 142/121 ... ok 138/122 ... ok 143/123 ... ok 132/125 ... ok 66/129 ... ok 145/130 ... ok 143/132 ... ok 149/133 ... ok 149/134 ... ok 92/135 ... ok 153/136 ... ok 153/137 ... ok 153/138 ... ok 153/139 ... ok 153/140 ... ok 161/141 ... ok 153/142 ... ok 63/143 ... ok 163/144 ... ok 63/145 ... ok 173/146 ... ok 110/147 ... ok 173/148 ... ok 66/149 ... ok 187/155 ... ok 186/161 ... ok 187/165 ... ok 187/166 ... ok 185/167 ... ok 186/168 ... ok 190/169 ... ok 196/170 ... ok 197/171 ... repository is empty 187/172 ... ok 200/173 ... ok 200/174 ... repository is empty 199/175 ... ok 208/177 ... ok 212/178 ... ok 194/179 ... ok 153/180 ... ok 153/181 ... ok 153/182 ... ok 76/183 ... repository is empty 101/184 ... repository is empty 170/185 ... ok 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 Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Reply by email is disabled in config/gitlab.yml Checking LDAP ...
Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) DN: cn=wpmmi042,ou=domain controllers,dc=comptes,dc=racine,dc=local sAMAccountName: WPMMI042$ ... groupes,ou=interne,dc=comptes,dc=racine,dc=local sAMAccountName: CHGR_R7A Server: ldapgie LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) DN: cn=xxx,ou=utilisateurs,ou=et_qual,ou=pr_dop,dc=gie,dc=root,dc=ad sAMAccountName: abadiec ... Checking LDAP ... Finished
Checking GitLab ...
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: ... 16/9 ... yes 17/10 ... yes 18/11 ... yes 19/12 ... yes 2/13 ... yes 29/15 ... yes 28/16 ... yes 32/18 ... yes 56/21 ... yes 2/22 ... yes 60/25 ... yes 2/26 ... yes 2/27 ... yes 2/28 ... yes 2/29 ... yes 2/31 ... yes 62/33 ... yes 62/34 ... yes 62/36 ... yes 62/37 ... yes 62/38 ... yes 62/39 ... yes 2/40 ... yes 62/41 ... yes 2/47 ... yes 62/49 ... yes 66/50 ... yes 66/51 ... yes 66/52 ... yes 66/53 ... yes 66/55 ... yes 66/56 ... yes 66/57 ... yes 66/58 ... yes 66/59 ... yes 72/62 ... yes 66/63 ... yes 66/65 ... yes 66/69 ... yes 66/76 ... yes 66/77 ... yes 66/78 ... yes 66/79 ... yes 66/80 ... yes 66/81 ... yes 77/82 ... yes 66/86 ... yes 27/88 ... yes 101/90 ... yes 99/91 ... yes 66/94 ... yes 2/95 ... yes 63/96 ... yes 76/97 ... yes 3/98 ... yes 1/99 ... yes 63/100 ... yes 63/102 ... yes 135/103 ... yes 136/104 ... yes 63/105 ... yes 16/111 ... yes 110/115 ... yes 66/117 ... yes 138/119 ... yes 16/120 ... yes 142/121 ... yes 138/122 ... yes 143/123 ... yes 132/125 ... yes 66/129 ... yes 145/130 ... yes 143/132 ... yes 149/133 ... yes 149/134 ... yes 92/135 ... yes 153/136 ... yes 153/137 ... yes 153/138 ... yes 153/139 ... yes 153/140 ... yes 161/141 ... yes 153/142 ... yes 63/143 ... yes 163/144 ... yes 63/145 ... yes 173/146 ... yes 110/147 ... yes 173/148 ... yes 66/149 ... yes 187/155 ... yes 186/161 ... yes 187/165 ... yes 187/166 ... yes 185/167 ... yes 186/168 ... yes 190/169 ... yes 196/170 ... yes 197/171 ... yes 187/172 ... yes 200/173 ... yes 200/174 ... yes 199/175 ... yes 208/177 ... yes 212/178 ... yes 194/179 ... yes 153/180 ... yes 153/181 ... yes 153/182 ... yes 76/183 ... yes 101/184 ... yes 170/185 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.4.5) Git version >= 2.9.5 ? ... yes (2.18.1) Git user has default SSH configuration? ... no Try fixing it: mkdir ~/gitlab-check-backup-1541154436 sudo mv /var/opt/gitlab/.ssh/id_rsa.pub ~/gitlab-check-backup-1541154436 sudo mv /var/opt/gitlab/.ssh/id_rsa ~/gitlab-check-backup-1541154436 For more information see: doc/ssh/README.md in section "SSH on the GitLab server" Please fix the error above and rerun the checks. Active users: ... 136 Elasticsearch version 5.1 - 5.5? ... skipped (elasticsearch is disabled)
Checking GitLab ... Finished