mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunzhe (JIRA)" <>
Subject [jira] [Created] (MESOS-6010) Can't pull Docker images when executing mesos-execute
Date Tue, 09 Aug 2016 08:16:20 GMT
Sunzhe created MESOS-6010:

             Summary: Can't pull Docker images when executing mesos-execute
                 Key: MESOS-6010
             Project: Mesos
          Issue Type: Bug
          Components: containerization, docker
    Affects Versions: 1.0.0
            Reporter: Sunzhe

The {{mesos-agent}} flags:
 GLOG_v=1 ./bin/ \
              --master=zk://${MESOS_MASTER_IP}:2181/mesos  \
              --ip=  \
              --work_dir=${MESOS_WORK_DIR} \
              --enforce_container_disk_quota \
              --containerizers=mesos \
              --image_providers=docker \
And the {{mesos-execute}} flags:
 ./src/mesos-execute \
           --master=${MESOS_MASTER_IP}:5050 \
           --name=${INSTANCE_NAME} \
           --docker_image=${DOCKER_IMAGE} \
           --framework_capabilities=GPU_RESOURCES \
But when {{./src/mesos-execute}}, the errors like below:
I0809 16:11:46.207875 25583 scheduler.cpp:172] Version: 1.0.0
I0809 16:11:46.212442 25582 scheduler.cpp:461] New master detected at master@
Subscribed with ID '168ab900-ee7e-4829-a59a-d16de956637e-0009'
Submitted task 'test' to agent '168ab900-ee7e-4829-a59a-d16de956637e-S1'
Received status update TASK_FAILED for task 'test'
  message: 'Failed to launch container: Failed to decode HTTP responses: No response decoded
HTTP/1.1 200 Connection established

HTTP/1.1 401 Unauthorized
Content-Type: application/json; charset=utf-8
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Bearer realm="",service="",scope="repository:library/redis:pull"
Date: Tue, 09 Aug 2016 08:10:32 GMT
Content-Length: 145
Strict-Transport-Security: max-age=31536000

{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Name":"library/redis","Action":"pull"}]}]}
; Container destroyed while provisioning images'
  source: SOURCE_AGENT

This message was sent by Atlassian JIRA

View raw message