-
Notifications
You must be signed in to change notification settings - Fork 373
failed to remove paused container #317
Comments
We need to be careful here about how we plan to fix this. I think Because what happens here is that we're trying to kill the container but the container is not in the right state because the VM is paused. And even if we bypass this, the runtime won't be able to communicate with the agent to actually kill the container because the VM is paused. Seems like |
One case is that, if a |
@jshachm yes, and I think we should do what @sboeuf suggests. |
pause/resume is a docker use case, so I agree with @sboeuf that we should do it on a per container basis. And we can also optimize to pause the entire vm when pausing the last container of a sandbox. OTOH, point 3, Another thought on the original problem reported in this issue, we know that the vm is paused, so we should be able to just delete it by removing relevant resources. It's just about simulating runc API, we do not have to follow runc internal details. |
Instead of pausing the sanbox, this patch just pauses the container allowing the communication with the agent. The communication with the agent should be still possible even if all containers are paused, because of we don't know when a new container can be created in the same sandbox. fixes kata-containers#317 Signed-off-by: Julio Montes <[email protected]>
Instead of pausing the sanbox, this patch just pauses the container allowing the communication with the agent. The communication with the agent should be still possible even if all containers are paused, because of we don't know when a new container can be created in the same sandbox. Depends-on: github.com/kata-containers/agent#246 fixes kata-containers#317 Signed-off-by: Julio Montes <[email protected]>
Instead of pausing the sanbox, this patch just pauses the container allowing the communication with the agent. The communication with the agent should be still possible even if all containers are paused, because of we don't know when a new container can be created in the same sandbox. Depends-on: github.com/kata-containers/agent#246 fixes kata-containers#317 Signed-off-by: Julio Montes <[email protected]>
Instead of pausing the sanbox, this patch just pauses the container allowing the communication with the agent. The communication with the agent should be still possible even if all containers are paused, because of we don't know when a new container can be created in the same sandbox. Depends-on: github.com/kata-containers/agent#246 fixes kata-containers#317 Signed-off-by: Julio Montes <[email protected]>
Instead of pausing the sanbox, this patch just pauses the container allowing the communication with the agent. The communication with the agent should be still possible even if all containers are paused, because of we don't know when a new container can be created in the same sandbox. Depends-on: github.com/kata-containers/agent#246 fixes kata-containers#317 Signed-off-by: Julio Montes <[email protected]>
Instead of pausing the sanbox, this patch just pauses the container allowing the communication with the agent. The communication with the agent should be still possible even if all containers are paused, because of we don't know when a new container can be created in the same sandbox. Depends-on: github.com/kata-containers/agent#246 fixes kata-containers#317 Signed-off-by: Julio Montes <[email protected]>
Instead of pausing the sanbox, this patch just pauses the container allowing the communication with the agent. The communication with the agent should be still possible even if all containers are paused, because of we don't know when a new container can be created in the same sandbox. Depends-on: github.com/kata-containers/agent#246 fixes kata-containers#317 Signed-off-by: Julio Montes <[email protected]>
Instead of pausing the sanbox, this patch just pauses the container allowing the communication with the agent. The communication with the agent should be still possible even if all containers are paused, because of we don't know when a new container can be created in the same sandbox. Depends-on: github.com/kata-containers/agent#246 fixes kata-containers#317 Signed-off-by: Julio Montes <[email protected]>
Instead of pausing the sanbox, this patch just pauses the container allowing the communication with the agent. The communication with the agent should be still possible even if all containers are paused, because of we don't know when a new container can be created in the same sandbox. Depends-on: github.com/kata-containers/agent#246 fixes kata-containers#317 Signed-off-by: Julio Montes <[email protected]>
Instead of pausing the sanbox, this patch just pauses the container allowing the communication with the agent. The communication with the agent should be still possible even if all containers are paused, because of we don't know when a new container can be created in the same sandbox. Depends-on: github.com/kata-containers/agent#246 fixes kata-containers#317 Signed-off-by: Julio Montes <[email protected]>
# Kata Containers 1.2.0
Description of problem
Expected result
no errors
Actual result
The text was updated successfully, but these errors were encountered: