You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Jay Buffington (JIRA)" <ji...@apache.org> on 2015/01/24 02:31:34 UTC

[jira] [Commented] (AURORA-1056) always send force_pull_image in ContainerInfo

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

Jay Buffington commented on AURORA-1056:
----------------------------------------

Here's the protobuf field I'm referencing:

https://issues.apache.org/jira/browse/AURORA/?selectedTab=com.atlassian.jira.jira-projects-plugin:issues-panel

> always send force_pull_image in ContainerInfo
> ---------------------------------------------
>
>                 Key: AURORA-1056
>                 URL: https://issues.apache.org/jira/browse/AURORA-1056
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Jay Buffington
>
> mesos 0.21 introduced "force_pull_image" which IMHO, is a terrible idea and changed existing behavior.
> In 0.20 the image you specify will always be "docker pull"ed which means that if there was a newer version in the registry than the one in the cache you would get it.  
> After 0.21 force_pull_image defaults to false, so unless you make a code change the "docker pull" doesn't happen.  This means that if your cache has an older copy of the image, you run whatever happens to be in the cache.  
> This results in starting 5 instances of the job, and 3 might one the old version (because it was cached on that slave) and 2 might one the new version (because those two slaves didn't have it cached), which is never what users want.



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