Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1056

always send force_pull_image in ContainerInfo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 0.8.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jaybuff Jay Buffington
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: