[
https://issues.apache.org/jira/browse/MESOS-8577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524489#comment-16524489
]
Till Toenshoff commented on MESOS-8577:
---------------------------------------
1.5.x backport:
{noformat}
commit e5dc6dabbe736ed0fa3005b61817364ae5f49eef{noformat}
> Destroy nested container if `LAUNCH_NESTED_CONTAINER_SESSION` fails
> -------------------------------------------------------------------
>
> Key: MESOS-8577
> URL: https://issues.apache.org/jira/browse/MESOS-8577
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: Andrei Budnik
> Assignee: Andrei Budnik
> Priority: Major
> Labels: mesosphere
> Fix For: 1.5.1, 1.6.0
>
>
> Currently, if `attachContainerOutput()`
> [fails|https://github.com/apache/mesos/blob/bc6b61bca37752689cffa40a14c53ad89f24e8fc/src/slave/http.cpp#L3550-L3552]
> for `LAUNCH_NESTED_CONTAINER_SESSION` call, then we return HTTP 500 error to
> the client, but we don't destroy the nested container.
> However, we
> [destroy|https://github.com/apache/mesos/blob/bc6b61bca37752689cffa40a14c53ad89f24e8fc/src/slave/http.cpp#L3607-L3612]
> a nested container if `attachContainerOutput()` returns a failure.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)