You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2015/10/14 02:51:05 UTC
[jira] [Commented] (MESOS-3724) subprocess fail to process "docker
inspect" output if >64KB
[ https://issues.apache.org/jira/browse/MESOS-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14956061#comment-14956061 ]
Benjamin Mahler commented on MESOS-3724:
----------------------------------------
Appears to be fixed here:
https://github.com/apache/mesos/commit/f13239e14f9a982465e93184ef6e34395eb561f4
> subprocess fail to process "docker inspect" output if >64KB
> -----------------------------------------------------------
>
> Key: MESOS-3724
> URL: https://issues.apache.org/jira/browse/MESOS-3724
> Project: Mesos
> Issue Type: Bug
> Components: slave
> Affects Versions: 0.21.1
> Reporter: Bhuvan Arumugam
>
> When running a task with docker and if {{docker inspect}} output size is more than 64k, it fails. The command {{docker inspect}} is blocked. The task remain in ASSIGNED state and after 15mins, the task is KILLED. The subprocess library [1] used in mesos to run this command is not handling the output beyond this size.
> {code}
> docker pull livecipher/mesos-docker-inspect-64k:1.0 > /dev/null && docker inspect livecipher/mesos-docker-inspect-64k:1.0 > inspect.out && du -sh inspect.out && rm -f inspect.out
> 76K inspect.out
> {code}
> You can reproduce it using the above image with any framework. I tested it with aurora.
> Here is a sample failure: http://pastebin.com/w1Ty41rb
> [1] https://github.com/apache/mesos/blob/0.21.1/src/docker/docker.cpp#L804
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)