Draft: resolve grpc incompatibility
What does this MR do and why?
For a Fedora Linux machine installation I noticed this error whilst following the simple installation instructions. gdk install=gitlab_repo=git@gitlab.com:gitlab-community/gitlab.git
failed with the below error.
The full output showed numerous compilation errors so looked like incompatible versions. As a result I tried just upping grpc to the latest version and avoided the error.
Is there any good reason to not update the version?
The machine used was...
- OS version: Linux native (not WSL) Fedora 37
- Memory: 16gb
- processor: i37100U
lsb_release -a
Although Fedora 37 is not officially listed as support in these docs it appears to run just fine.
Screenshots or screen recordings
I don't have screenshots, but I do have part of the error output Screenshots are required for UI changes, and strongly recommended for all other merge requests.
`process_queue'
/home/richard/.asdf/installs/ruby/3.1.4/lib/ruby/site_ruby/3.1.0/bundler/worker.rb:90:in
`block (2 levels) in create_threads'
An error occurred while installing grpc (1.42.0), and Bundler cannot continue.
In Gemfile:
cloud_profiler_agent was resolved to 0.0.1.pre, which depends on
google-cloud-profiler-v2 was resolved to 0.4.0, which depends on
gapic-common was resolved to 0.18.0, which depends on
googleapis-common-protos was resolved to 1.4.0, which depends on
grpc
make: *** [support/makefiles/Makefile.gitlab.mk:86: .gitlab-bundle] Error 5
❌️ ERROR: Failed to install.
-------------------------------------------------------
You can try the following that may be of assistance:
- Run 'gdk doctor'.
- Visit the troubleshooting documentation:
https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/troubleshooting/index.md.
- Visit https://gitlab.com/gitlab-org/gitlab-development-kit/-/issues to
see if there are known issues.
- Run 'gdk reset-data' if appropriate.
- Run 'gdk pristine' which will restore your GDK to a pristine state.
-------------------------------------------------------
[richard@localhost gitlab-development-kit]$
Before | After |
---|---|
Error thrown during gdk install cmd | No error |
Successful install screenshot:
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
On Fedora 37:
- Run
make bootstrap
cmd: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/index.md#install-dependencies-using-asdf - Run
gdk install
cmd: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/index.md#use-gdk-to-install-gitlab
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.