You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Qian Zhang (Jira)" <ji...@apache.org> on 2019/09/10 13:02:00 UTC
[jira] [Created] (MESOS-9964) Support destroying UCR containers in
provisioning state
Qian Zhang created MESOS-9964:
---------------------------------
Summary: Support destroying UCR containers in provisioning state
Key: MESOS-9964
URL: https://issues.apache.org/jira/browse/MESOS-9964
Project: Mesos
Issue Type: Improvement
Reporter: Qian Zhang
Currently when destroying a UCR container, if the container is in provisioning state, we will wait for the provisioner to finish provisioning before we start destroying the container, see [here|https://github.com/apache/mesos/blob/1.9.0/src/slave/containerizer/mesos/containerizer.cpp#L2685:L2693] for details. This may cause the container stuck at destroying, and more seriously it may cause the subsequent containers created from the same image stuck at provisioning state, because if the first container was stuck at pulling the image somehow, the subsequent containers have to wait for the puller to finish the pulling, see [here|https://github.com/apache/mesos/blob/1.9.0/src/slave/containerizer/mesos/provisioner/docker/store.cpp#L341:L345] for details.
So we'd better to support destroying the container in provisioning state so that the subsequent containers created from the same image will not be affected.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)