Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If there is any issues putting objects then these should be reflected in the Check API #557

Open
brendanheywood opened this issue Mar 24, 2023 · 1 comment
Labels

Comments

@brendanheywood
Copy link
Contributor

ERROR: copy /var/lib/sitedata/filedir/17/51/xxxx to s3://sitedata-xxx-moodle/17/51/xxxxx: Error executing "PutObject" on "https://sitedata-xxxx-moodle.s3.ap-southeast-2.amazonaws.com/17/51/xxxx"; AWS HTTP error: Client error: PUT https://sitedata-xxxx-moodle.s3.ap-southeast-2.amazonaws.com/17/51/xxxx resulted in a 403 Forbidden response:

AccessDeniedAccess Deniedxxxxx (truncated...)
AccessDenied (client): Access Denied -
AccessDeniedAccess Deniedxxxxxxxxxxxx

Generally if there is an issue like this then it is likely that none of the subsequent PutObject will work either, but on the off change that it was a temp glitch then lets be forgorgiving and capture how many errors there are.

If there is constant errors and none are working then it should exit with a fail delay and that will turn up in the check api.

If there is a small rate of errors then ideally the task itself keeps running and those errors end up in the check api in some other way

@brendanheywood
Copy link
Contributor Author

If it cannot put an object, it should try and read from it and see if it is already there, and if so just gracefully recover

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant