No logs to s3 with remote log folder #833
Unanswered
b0kky
asked this question in
Questions & Answers
Replies: 1 comment
-
resolve it: connections:
- id: aws
type: aws
description: logs-connection
login: {{ .Environment.Values.secrets.airflow.s3.access_key_id }}
password: {{ .Environment.Values.secrets.airflow.s3.secret_key }} workaround - use extraenv instead of login\password extraEnv:
- name: AWS_ACCESS_KEY_ID
value: {{ .Environment.Values.secrets.airflow.s3.access_key_id | quote }}
- name: AWS_SECRET_ACCESS_KEY
value: {{ .Environment.Values.secrets.airflow.s3.secret_key | quote }} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Community!
Faced with a problem lack of logs on s3 bucket, no logs about trying to send or read to\from s3.
My config is:
Nothing in a scheduler logs, and nothing in s3 bucket.
At /opt/airflow/logs folder (in scheduler pod) i see logs, locally, but didn't see any try to upload it to s3.
What i'm doing wrong?
PS: was try to mount s3 as PV to pod's and got slap my face from python, OSError: [Errno 22] python, as i learned about python and s3 it was while script try to create a symlink "latest" to folder with logs instead of s3 not supported it (s3 csi drvier limits)
So, my single way is try to log to s3. Unfortunately i don't have in aws account no one storage with RWX support. Please help guys :)
if you think "here we go again", sorry for that, honestly watched all issues with s3 and logs, and all colleagues had a problem which shows in a log. in my case - don't see any logs about logs =\
Beta Was this translation helpful? Give feedback.
All reactions