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

retry copy if copy receives EOF but task is still running #8149

Closed
wants to merge 1 commit into from

Conversation

drewbailey
Copy link
Contributor

@drewbailey drewbailey commented Jun 10, 2020

Task drivers that don't utilize the fifo package for opening logmons fifo run into an issue where after an allocation is restarted, the io.Copy reaches EOF and we never retry. This causes the LXC and Podman driver to no longer log after an allocation restart.

Our docker_logger and executor based task drivers have long running processes that keep the io.Copy open during allocation restarts but other community drivers whose process changes during allocation restart are affected by this.

@drewbailey drewbailey requested a review from notnoop June 10, 2020 18:32
@drewbailey drewbailey marked this pull request as ready for review June 11, 2020 13:05
@drewbailey drewbailey changed the title retry copy if copy receives EOF but still running retry copy if copy receives EOF but task is still running Jun 11, 2020
@drewbailey drewbailey requested a review from schmichael June 11, 2020 13:09
@drewbailey
Copy link
Contributor Author

closing in favor of #8155

@drewbailey drewbailey closed this Jun 11, 2020
@drewbailey drewbailey deleted the logmon-retry-copy branch September 17, 2020 18:44
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant