[
https://issues.apache.org/jira/browse/MESOS-6485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15698201#comment-15698201
]
haosdent edited comment on MESOS-6485 at 11/26/16 5:01 PM:
-----------------------------------------------------------
{{-v /var/run/docker.sock:/var/run/docker.sock:ro}} Should change to rw? It
looks like the command
{code}
docker -H unix:///var/run/docker.sock inspect
mesos-f82fd98b-ba99-4ffe-bab5-eaa9dab8d5cc-S1.d84d9d59-218d-47fd-b930-e0d2359e61fa
{code}
is failed in your docker contaienr which you start the mesos agent while it
exists.
May you mount {{-v /var/run/docker.sock:/var/run/docker.sock}} in rw mode?
was (Author: [email protected]):
{{-v /var/run/docker.sock:/var/run/docker.sock:ro}} Should change to rw? It
looks like the command
{code}
docker -H unix:///var/run/docker.sock inspect
mesos-f82fd98b-ba99-4ffe-bab5-eaa9dab8d5cc-S1.d84d9d59-218d-47fd-b930-e0d2359e61fa
{code}
is failed in your docker contaienr which you start the mesos agent.
> task launched and lost management after task failed
> ---------------------------------------------------
>
> Key: MESOS-6485
> URL: https://issues.apache.org/jira/browse/MESOS-6485
> Project: Mesos
> Issue Type: Bug
> Components: docker, framework
> Affects Versions: 1.0.1
> Reporter: Daniel Kang
> Assignee: haosdent
> Attachments: agent-log.txt, master-log.txt, stderr.txt, stdout.txt
>
>
> i used marathon+mesos to launch my apps.
> when i update my app's image configuration and deploy it, i found a task
> failed, and then a new task is launched. Meanwhile, i use "docker ps" to get
> all containers, i found the failed task was launched, and the status of this
> task in mesos is failed and completed.
> mesos lost the management for this failed task.
> is this a bug?
> steps to reproduce:
> 1. update image configuration, and redploy
> 2. make sure image be pulled after a long time
> logs for this:
> State
> TASK_FAILED
> Message
> Failed to launch container: Failed to run 'docker -H
> unix:///var/run/docker.sock inspect
> mesos-f82fd98b-ba99-4ffe-bab5-eaa9dab8d5cc-S1.d84d9d59-218d-47fd-b930-e0d2359e61fa':
> exited with status 1; stderr='Error: No such image, container or task:
> mesos-f82fd98b-ba99-4ffe-bab5-eaa9dab8d5cc-S1.d84d9d59-218d-47fd-b930-e0d2359e61fa
> '
> docker ps | grep
> mesos-f82fd98b-ba99-4ffe-bab5-eaa9dab8d5cc-S1.d84d9d59-218d-47fd-b930-e0d2359e61fa
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)