Control: retitle -1 gitlab ssh access broken with protobuf 3.10
Control: severity -1 serious
On ബു, Nov 13, 2019 at 23:44, Pirate Praveen
<prav...@onenetbeyond.org> wrote:
On Mon, 11 Nov 2019 22:15:20 +0530 Pirate Praveen
<prav...@onenetbeyond.org <mailto:prav...@onenetbeyond.org>> wrote:
Control: retitle -1 ssh access fails with gitaly-upload-pack: fatal:
error: %v
On Sat, 2 Nov 2019 14:51:42 +0100 Romain Bignon <rom...@symlink.me
<mailto:rom...@symlink.me>> wrote:
> Hello,
>
> The problem is still here, and is so not related to compatibility
between
> versions of gitlab/gitlab-shell/gitality…
>
> Is there anything I can do to find the origin of this issue?
Fortunately or unfortunately the same error hit my instance as
well. I'm
digging deeper into it now.
As a workaround you can use https access till we fix this (only ssh
access is affected).
Found the root cause to be ruby-google-protobuf update from 3.7 to
3.10.
But to actually get it work is tricky.
If we downgrade ruby-google-protobuf to 3.7.1, then gitaly fails to
build.
<https://people.debian.org/~praveen/gitlab/> has protobuf 3.7 and grpc
1.19. You need to downgrade both and use gitaly 1.59.3+dfsg-1~bpo10+2
(which allows these versions).
And because of
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944698> you may need
to regenrate Gemfile.lock
# cd /usr/share/gitlab
# sudo -u gitlab truncate -s0 Gemfile.lock
# sudo -u gitlab bundle install --local
# systemctl restart gitlab-sidekiq
# systemctl restart gitlab gitaly
I had to use a separate repo with protobuf 3.10 and grpc 1.23 ->
https://people.debian.org/~praveen/protobuf/ to build gitaly
I'm keeping this bug open till we can use same version of protobuf for
both gitaly build and gitlab. I have opened
https://gitlab.com/gitlab-org/gitaly/issues/2164 to work with upstream
on this