mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-2200) bogus docker images result in bad error message to scheduler
Date Tue, 06 Jan 2015 08:27:34 GMT

    [ https://issues.apache.org/jira/browse/MESOS-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14265844#comment-14265844
] 

Timothy Chen commented on MESOS-2200:
-------------------------------------

Does the cli give you information that there is networking issues?
We normally don't have APIs to propogate containerizer errors back to schedulers, we will
need to introduce new messages to do so.

> bogus docker images result in bad error message to scheduler
> ------------------------------------------------------------
>
>                 Key: MESOS-2200
>                 URL: https://issues.apache.org/jira/browse/MESOS-2200
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>            Reporter: Jay Buffington
>              Labels: mesosphere
>
> When a scheduler specifies a bogus image in ContainerInfo mesos doesn't tell the scheduler
that the docker pull failed or why.
> This error is logged in the mesos-slave log, but it isn't given to the scheduler (as
far as I can tell):
> {noformat}
> E1218 23:50:55.406230  8123 slave.cpp:2730] Container '8f70784c-3e40-4072-9ca2-9daed23f15ff'
for executor 'thermos-1418946354013-xxx-xxx-curl-0-f500cc41-dd0a-4338-8cbc-d631cb588bb1' of
framework '20140522-213145-1749004561-5050-29512-0000' failed to start: Failed to 'docker
pull docker-registry.example.com/doesntexist/hello1.1:latest': exit status = exited with status
1 stderr = 2014/12/18 23:50:55 Error: image doesntexist/hello1.1 not found
> {noformat}
> If the docker image is not in the registry, the scheduler should give the user an error
message.  If docker pull failed because of networking issues, it should be retried.  Mesos
should give the scheduler enough information to be able to make that decision.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message