Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix post stop hook not always called successfully#4364

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
abel-von wants to merge1 commit intoopencontainers:main
base:main
Choose a base branch
Loading
fromabel-von:fix-poststart

Conversation

@abel-von
Copy link

If the first time post stop hook called with a failure(maybe because some resources is not ready to be recycled), the second retry ofrunc delete will return directly because the container root directoy is already removed. so that the post stop hook is not called.

I think we may have to do container root dir removal after post stop hook executed. I think it is also more consistant with the sematics of "Poststop", because otherwise it should be "PostDelete".

fix#4363

If the first time post stop hook called with a failure(maybe becausesome resources is not ready to be recycled), the second retry of `runcdelete` will return directly because the container root directoy isalready removed. so that the post stop hook is not called.Signed-off-by: Abel Feng <fshb1988@gmail.com>
@rata
Copy link
Member

rata commentedAug 2, 2024

Thanks! This change of behavior, judging from the runtime-spec PR, requires a change of behavior at the runtime-spec first. I'm marking as draft for now, let me know if I'm missing something.

@ratarata marked this pull request as draftAugust 2, 2024 10:23
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

The removal of container root directory should be after poststop run successfully.

2 participants

@abel-von@rata

[8]ページ先頭

©2009-2025 Movatter.jp