Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6378

Error downloading docker images using mesos-execute cli

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.0.1
    • None
    • docker, fetcher
    • None

    Description

      When using mesos-execute cli with mesos containerizer to spawn a docker image, the curl for the image fails.

      [root@host-62-214 mesos]#  sudo mesos-execute --command=/bin/bash --docker_image=library/ubuntu:latest --master=172.22.62.215:5050 --name="yeah" --containerizer=mesos
      I1012 16:30:15.426878 15457 scheduler.cpp:172] Version: 1.0.1
      I1012 16:30:15.430287 15462 scheduler.cpp:461] New master detected at master@172.22.62.215:5050
      Subscribed with ID 'cd0ce0ef-330f-441b-8189-ab1a1ee760d1-0036'
      Submitted task 'yeah' to agent 'cd0ce0ef-330f-441b-8189-ab1a1ee760d1-S10'
      Received status update TASK_FAILED for task 'yeah'
        message: 'Failed to launch container: Failed to perform 'curl': curl: (7) Failed connect to registry-1.docker.io:443; Operation now in progress
      ; Container destroyed while provisioning images'
        source: SOURCE_AGENT
        reason: REASON_CONTAINER_LAUNCH_FAILED
      

      Mesos-slave args:

      /usr/sbin/mesos-slave --master=zk://172.22.62.215:2181/mesos --log_dir=/var/log/mesos --containerizers=mesos,docker --executor_registration_timeout=5mins --image_providers=appc,docker --isolation=filesystem/linux,docker/runtime --work_dir=/var/lib/mesos
      

      Attachments

        1. mesos-slave.INFO
          15 kB
          Aniket Bhat
        2. mesos-slave.log
          19 kB
          Aniket Bhat

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abhat Aniket Bhat
              Gilbert Song Gilbert Song
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: