Runner artifacts upload started failing after gdk update or even on fresh install
Overview
We have no consistent way to reproduce this yet as there seems to be different environment setups that this will or will not happen. Just opening this issue so we can track progress.
So for on my local setup, these are the combinations that got artifacts upload to work again:
- nginx enabled, puma enabled
- nginx disabled, thin enabled
- nginx enabled, thin enabled
Related internal slack discussions:
https://gitlab.slack.com/archives/C2Z9A056E/p1603802637187700
https://gitlab.slack.com/archives/C2Z9A056E/p1603867802247700
Rails logs shows it failed with:
Started POST "/api/v4/jobs/1051/artifacts?artifact_format=gzip&artifact_type=junit" for 172.16.123.1 at 2020-10-28 18:51:15 +0800
RuntimeError - Empty JWT param: file.gitlab-workhorse-upload:
lib/gitlab/middleware/multipart.rb:200:in `extract_upload_params_from'
lib/gitlab/middleware/multipart.rb:151:in `block in with_open_files'
Proposal (optional)
Environment (optional)
- Operating System: macOS
- The contents of your
gdk.yml
:
hostname: gitlab.gdk
object_store:
enabled: true
port: 9000
nginx:
enabled: false
- Ruby version:
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin19]
- GDK version:
ca9228a5
Edited by Erick Bajao