Blob removal fails when deleting group
Summary
When deleting a group the sidekiq jobs fail repeatedly with an undefined method error.
Steps to reproduce
- Delete a group that has issues with images (I assume anything stored in blob storage will do)
- Look at the background jobs
- These jobs will actually fail at some point and the files appear to still be in blob storage.
What is the current bug behavior?
The errors are shown in the sidekiq browser thing and from what I can tell the blobs aren't removed from storage.
What is the expected correct behavior?
That the error isn't shown and the blob is actually removed.
Relevant logs and/or screenshots
NoMethodError: undefined method
delete_object' for #Fog::Storage::AzureRM::Real:0x0000791c3c63d630 Did you mean? delete_object_url`
Output of checks
Results of GitLab environment info
This is on gitlab self-host 15.8.1 deployed on k8s with the gitlab operator. We run this on AKS and use Azure Blob Storage.
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
Edited by Roger Siegenthaler