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

Missing log file when there's more than one attempt #34393

Closed
1 of 2 tasks
r-magalhaes opened this issue Sep 15, 2023 · 5 comments
Closed
1 of 2 tasks

Missing log file when there's more than one attempt #34393

r-magalhaes opened this issue Sep 15, 2023 · 5 comments
Labels
area:core kind:bug This is a clearly a bug pending-response stale Stale PRs per the .github/workflows/stale.yml policy file

Comments

@r-magalhaes
Copy link

Apache Airflow version

Other Airflow 2 version (please specify below)

What happened

Hello,

When there's more than one attempt in a task execution, I've noticed that the first attempt log file is missing from the worker that the webserver is trying to fetch the log from.

Airflow version v2.5.3.

What you think should happen instead

No response

How to reproduce

If one of your tasks has 2 attempts for example, the first attempt log file seems to be missing from the worker.

Operating System

Debian GNU/Linux 11 (bullseye)

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@r-magalhaes r-magalhaes added area:core kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet labels Sep 15, 2023
@boring-cyborg
Copy link

boring-cyborg bot commented Sep 15, 2023

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

@hussein-awala
Copy link
Member

Could you provide more details about your issue and your airflow deployment?

  • Which executor are you using?
  • Are you using remote logging?
  • the first attempt log file is missing from the worker what do you get exactly?

Also, did you check if the issue was already fixed in a newer version? (for ex: #32561)

@hussein-awala hussein-awala added pending-response and removed needs-triage label for new issues that we didn't triage yet labels Sep 17, 2023
@r-magalhaes
Copy link
Author

Hey @hussein-awala,

So we're using CeleryExecutor and we're not using Remote Logging.

In the first attempt logs we're getting this
image

I check inside the worker it tries to fetch the log from and the file is not there.

I think there's a plan to update Airflow's version but as for right now we need to guarantee a few things before the update.

@github-actions
Copy link

github-actions bot commented Oct 5, 2023

This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Oct 5, 2023
@github-actions
Copy link

This issue has been closed because it has not received response from the issue author.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core kind:bug This is a clearly a bug pending-response stale Stale PRs per the .github/workflows/stale.yml policy file
Projects
None yet
Development

No branches or pull requests

2 participants