[
https://issues.apache.org/jira/browse/MESOS-9964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qian Zhang reassigned MESOS-9964:
---------------------------------
Assignee: Qian Zhang
> Support destroying UCR containers in provisioning state
> -------------------------------------------------------
>
> Key: MESOS-9964
> URL: https://issues.apache.org/jira/browse/MESOS-9964
> Project: Mesos
> Issue Type: Improvement
> Components: containerization
> Reporter: Qian Zhang
> Assignee: Qian Zhang
> Priority: Major
> Labels: containerization
>
> 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.4#803005)