Geo - Enabled object storage on Geo secondary node on staging
The Geo primary node uses object storage to store uploads, artifacts, etc. We should enable the Geo secondary node to use object storage too and point to the same buckets.
==> /var/log/gitlab/gitlab-rails/production.log <==
Completed 500 Internal Server Error in 609ms (ActiveRecord: 56.6ms | Elasticsearch: 0.0ms | Allocations: 335203)
ActionView::Template::Error (Object Storage is not enabled):
7: .row.append-bottom-8
8: .home-panel-title-row.col-md-12.col-lg-6.d-flex
9: .avatar-container.rect-avatar.s64.home-panel-avatar.append-right-default.float-none
10: = project_icon(@project, alt: @project.name, class: 'avatar avatar-tile s64', width: 64, height: 64)
11: .d-flex.flex-column.flex-wrap.align-items-baseline
12: .d-inline-flex.align-items-baseline
13: %h1.home-panel-title.prepend-top-8.append-bottom-5.qa-project-name
app/uploaders/object_storage.rb:397:in `storage_for'
app/uploaders/object_storage.rb:232:in `object_store='
app/uploaders/object_storage.rb:64:in `upload='
app/uploaders/object_storage.rb:49:in `retrieve_from_store!'
app/models/concerns/avatarable.rb:57:in `uncached_avatar_path'
app/models/concerns/avatarable.rb:53:in `avatar_path'
app/models/concerns/avatarable.rb:24:in `avatar_url'
app/helpers/avatars_helper.rb:118:in `source_icon'
app/helpers/avatars_helper.rb:5:in `project_icon'
app/views/projects/_home_panel.html.haml:10
app/views/projects/show.html.haml:16
app/controllers/application_controller.rb:121:in `render'
app/controllers/application_controller.rb:551:in `block in allow_gitaly_ref_name_caching'
lib/gitlab/gitaly_client.rb:330:in `allow_ref_name_caching'
app/controllers/application_controller.rb:550:in `allow_gitaly_ref_name_caching'
ee/lib/gitlab/ip_address_state.rb:10:in `with'
ee/app/controllers/ee/application_controller.rb:43:in `set_current_ip_address'
lib/gitlab/session.rb:11:in `with_session'
app/controllers/application_controller.rb:468:in `set_session_storage'
lib/gitlab/i18n.rb:55:in `with_locale'
lib/gitlab/i18n.rb:61:in `with_user_locale