Andrei Budnik created MESOS-8577:
------------------------------------

             Summary: 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
            Reporter: Andrei Budnik


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)

Reply via email to