-
Notifications
You must be signed in to change notification settings - Fork 3.8k
*: export RemoveVolatileOption for CRI image volumes #10274
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
Conversation
|
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.
|
/test pull-containerd-k8s-e2e-ec2 |
Remove volatile option when CRI prepares image volumes. Signed-off-by: Wei Fu <fuweid89@gmail.com>
|
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"))
} |
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 |
|
/retest |
Remove volatile option when CRI prepares image volumes.
Fixes: #10228