If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

S3 client not allowed to delete temporary symbol uploads

RESOLVED FIXED

Status

Socorro
Symbols
RESOLVED FIXED
29 days ago
27 days ago

People

(Reporter: peterbe, Assigned: miles)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

29 days 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

27 days ago
I know you clearly did this on Dev and Stage. Can we resolve this now?
Flags: needinfo?(miles)
(Assignee)

Comment 2

27 days ago
Yes! Resolving fixed.
Status: NEW → RESOLVED
Last Resolved: 27 days ago
Flags: needinfo?(miles)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.