S3 client not allowed to delete temporary symbol uploads

RESOLVED FIXED

Status

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: peterbe, Assigned: miles)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
The Symbol Upload works like this:

1) User curl uploads a .zip
2) Django does some checks, then uploads it into the S3 bucket according to config into a special directory off the root called /inbox. E.g inbox/2017-08-23/753e4bdfb151/symbols.zip
3) Django writes this down in its database and sends the ID to Celery
4) Celery worker downloads the inbox file and unpacks it and uploads each symbol within. 
5) If all things work, the inbox key is deleted and the Django ORM object is marked as completed. 


In https://sentry.prod.mozaws.net/operations/symbols-dev/issues/643439/
the error happens here: https://github.com/mozilla-services/tecken/blob/62ba02db88fec9fb941822534cd459568f44d8f8/tecken/upload/tasks.py#L142-L145
with this error from S3 "An error occurred (AccessDenied) when calling the DeleteObject operation: Access Denied"
(Reporter)

Comment 1

2 years ago
I know you clearly did this on Dev and Stage. Can we resolve this now?
Flags: needinfo?(miles)
Yes! Resolving fixed.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Flags: needinfo?(miles)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.