-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Improve/surface errors when attempting to read S3 logs #9118
Comments
Any clue what component can be touched to impact on this? I'm having trouble to find what code swallows exceptions. Really looking to investigate and resolve S3 logs issue. |
I used code from the example above and I was able to list log files in my s3 bucket written by Airflow, no permission issues, no errors. However, Airflow seams to be ignoring remote logging configuration when reads logs. Also, used for testing airflow_local_settings.py and set a logging class path in config file, but no luck, S3TaskHandler seams to be ignored by Airflow. OS: fedora26 |
@ashb @JPonte I am getting below error. Looks like a bug:
My aws secret key is(dummy): abcd12/ef34578fgt Looks like when '/' is coming in the secret key, the connection is not getting created. |
@Siddharthk you probably need to URL encode the secret key - |
Closed by #9908 |
Description
As mentioned in #8212 if you have configured S3 logs, but there is a problem then this is never surfaced to the UI (nor the webserver logs) making this very hard to debug.
All you see in the UI is this:
In one such case I was debugging, I found this error when attempting to communicate with S3:
We should add a
***
line showing we attempted to fetch the logs form S3, and the error that it failed at least. Right now on error the S3TaskHandler is totally silent in case of error. This is bad.The text was updated successfully, but these errors were encountered: