Skip to content

Failed to pause container, the status still running but can't use/exec to the container #3300

Open
@fikrapdso

Description

I am not sure this is the right place to submit this error.

SDK:
aiodocker = 0.21.0
docker = 24.0.7
python =3.10

I received this error when try to .pause() using aiodocker. This does not always happen, only once or twice in a year.

Error: DockerError(500, 'cannot pause container c97b1e5ec84b9d7f34b783ff490fdc0b66532d593a029254923175bfe8d236ca: OCI runtime pause failed: failed to notify pause to sysbox-mgr: failed to invoke Pause via grpc: rpc error: code = DeadlineExceeded desc = context deadline exceeded: unknown')

It also had side effects that I can't do exec on this container. Unfortunately, I have no logs for it, because I already deleted and start new container.

I assume the docker already pauses the lab but failed to update the status on sysbox-mgr so there is a miss match on status and the actual state of container. So that's might be the reason I can't exec to the container.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions