Failed to pause container, the status still running but can't use/exec to the container
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 13d 8h
- Merged PRs (30d)
- 2
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report provides no repository file, test, logs, or reproducible steps. Start by tracing how pause and exec requests use the Docker Engine API, then investigate the reported sysbox-mgr gRPC timeout and status mismatch. Done requires a reproducible diagnosis and regression coverage, if the failure is within this library.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100