[ 
https://issues.apache.org/jira/browse/MESOS-6378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aniket Bhat updated MESOS-6378:
-------------------------------
    Description: 
When using mesos-execute cli with mesos containerizer to spawn a docker image, 
the curl for the image fails. 

{code}
[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
{code}


  was:
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
```


> Error downloading docker images using mesos-execute cli
> -------------------------------------------------------
>
>                 Key: MESOS-6378
>                 URL: https://issues.apache.org/jira/browse/MESOS-6378
>             Project: Mesos
>          Issue Type: Bug
>          Components: docker, fetcher
>    Affects Versions: 1.0.1
>            Reporter: Aniket Bhat
>
> When using mesos-execute cli with mesos containerizer to spawn a docker 
> image, the curl for the image fails. 
> {code}
> [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
> {code}



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

Reply via email to