Skip to content

Geo: Design thumbnails are not replicated

Summary

Image thumbnails for design management uploads are not downloaded on a Geo secondary.

Steps to reproduce

  1. On the Geo primary, create an issue.
  2. On the issue's Designs tab, upload an image. A thumbnail should appear when uploading is finished.
  3. View the issue on the Geo secondary. The thumbnail will show a file name, but no image is displayed

Example Project

(If possible, please create an example project here on GitLab.com that exhibits the problematic behavior, and link to it here in the bug report)

(If you are using an older version of GitLab, this will also determine whether the bug is fixed in a more recent version)

What is the current bug behavior?

Design thumbnails are not downloaded to the secondary.

What is the expected correct behavior?

Design thumbnails should be downloaded to the secondary and appear in an issue's Designs tab.

Relevant logs and/or screenshots

geo.log shows:

{"severity":"ERROR","time":"2020-05-20T13:43:50.448Z","correlation_id":"735db9849da24b3a8899ea3e6bc43af0","class":"Geo::FileDownloadService","host":"127.0.0.1","message":"Cannot find a handler for G        itlab::Geo Downloader for object_type = 'design_management/design_v432x230'","job_id":"2fb7bb5419c9ed902b997a41","object_type":"design_management/design_v432x230","object_db_id":2}

Screenshot of primary: geo_primary_thumbnail

Screenshot of secondary: geo_secondary_thumbnail

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited by Nick Nguyen