*: export RemoveVolatileOption for CRI image volumes#10274
Merged
fuweid merged 1 commit intocontainerd:mainfrom May 30, 2024
Merged
*: export RemoveVolatileOption for CRI image volumes#10274fuweid merged 1 commit intocontainerd:mainfrom
fuweid merged 1 commit intocontainerd:mainfrom
Conversation
Member
Author
|
mxpv
approved these changes
May 29, 2024
This comment was marked as duplicate.
This comment was marked as duplicate.
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Member
Author
|
/test pull-containerd-k8s-e2e-ec2 |
Remove volatile option when CRI prepares image volumes. Signed-off-by: Wei Fu <[email protected]>
Member
Author
|
sorry to ping @pacoxu here. do you know how to debug the k8s e2e issue? no idea what it is. |
This comment was marked as duplicate.
This comment was marked as duplicate.
2 similar comments
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
|
maybe more missed temp mount? why don't we just clean like this during each mount() as the work dir is static : func cleanDirtyWorkerDir(opts []string) {
var (
idx = -1
prefix = "workdir="
)
for i, opt := range opts {
if strings.HasPrefix(opt, prefix) {
idx = i
break
}
}
if idx == -1 {
return
}
// remove it if it exists
os.RemoveAll(filepath.Join(opts[idx][len(prefix):], "work/incompat"))
} |
Member
Author
It's not good idea to cleanup data especially when the snapshot is still active. And there is no contract to make sure that the |
Member
Author
|
/retest |
dmcgowan
approved these changes
May 30, 2024
This was referenced Jun 13, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove volatile option when CRI prepares image volumes.
Fixes: #10228