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

Flows get stuck in Running state #10141

Closed
4 tasks done
tsteijvers opened this issue Jul 3, 2023 · 1 comment
Closed
4 tasks done

Flows get stuck in Running state #10141

tsteijvers opened this issue Jul 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tsteijvers
Copy link

tsteijvers commented Jul 3, 2023

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Prefect documentation for this issue.
  • I checked that this issue is related to Prefect and not one of its dependencies.

Bug summary

If during a flow run the k8s pod gets evicted, the flow run will stay in Running mode forever. We have had similar issues a few months ago but they seemed resolved (the flow run would get marked as Crashed). Now, since about 2-3 weeks we're seeing stuck flow runs again and we have to manually cancel then to get them out of the running state.

This is a major blocker for us since our flows need to run on a tight scheduled basis and no 2 flows can run simultaneously. So stuck flow runs will block our entire process.

Reproduction

# Start a flow run
# Ensure the pod gets evicted
# Flow will stay in Running state

Error

No response

Versions

Version:             2.10.18
API version:         0.8.4
Python version:      3.9.17
Git commit:          cf177852
Built:               Thu, Jun 29, 2023 2:34 PM
OS/Arch:             linux/x86_64
Profile:             default
Server type:         ephemeral
Server:
  Database:          sqlite
  SQLite version:    3.40.1

Additional context

No response

@zangell44
Copy link
Collaborator

This should be resolved in release 2.11.4. Duplicate of #9246

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants