You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When run fails on (bridge) networking setup, it breaks the namestore, leading to duplicate names #3357
changed the title [-]When container run fails on (bridge) networking setup, it breaks the namestore, leading to duplicate names[/-][+]When run fails on (bridge) networking setup, it breaks the namestore, leading to duplicate names[/+]on Aug 23, 2024
Current explanation is that the name gets released as the container start errored, but the container has still be created...
In case the bridge network plugin fails, the oci hook postStop gets called - while the container has still be created.
It is unclear to me at this point what is (wrongly) dispatching the oci hook postStop event.
Does it come from us, or is this a containerd possible issue?
TL;DR: the reproducer above will make onCreateRuntime fail.
Because of that failure, it makes container.NewTask (containerd/client) fail, which wrongly sends a PostStop oci hook event (probably somewhere in runc).
Activity
[-]When container run fails on (bridge) networking setup, it breaks the namestore, leading to duplicate names[/-][+]When run fails on (bridge) networking setup, it breaks the namestore, leading to duplicate names[/+]apostasie commentedon Aug 23, 2024
Current explanation is that the name gets released as the container start errored, but the container has still be created...In case the bridge network plugin fails, the oci hook postStop gets called - while the container has still be created.
It is unclear to me at this point what is (wrongly) dispatching the oci hook postStop event.
Does it come from us, or is this a containerd possible issue?
apostasie commentedon Aug 23, 2024
This looks more and more like an upstream bug - probably in runc? or in containerd?
@AkihiroSuda I can use some help here:
TL;DR: the reproducer above will make onCreateRuntime fail.
Because of that failure, it makes
container.NewTask(containerd/client) fail, which wrongly sends a PostStop oci hook event (probably somewhere in runc).This is currently with: