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

Chun-Hung Hsiao reassigned MESOS-9221:
--------------------------------------

    Assignee: Chun-Hung Hsiao

> If some image layers are large, the image pulling may stuck due to the 
> authorized token expired.
> ------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-9221
>                 URL: https://issues.apache.org/jira/browse/MESOS-9221
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>            Reporter: Gilbert Song
>            Assignee: Chun-Hung Hsiao
>            Priority: Major
>              Labels: containerizer
>
> The image layer blobs pulling happen asynchronously but in the same 
> libprocess process. There is a chance that one layer get the token then the 
> thread switch to another layer curling which may take long. When the original 
> layer curling resumes, the token already expired (e.g., after 60 seconds).
> {noformat}
> $ sudo cat 
> /var/lib/mesos/slave/store/docker/staging/0gx64f/sha256\:c75480ad9aafadef6c7faf829ede40cf2fa990c9308d6cd354d53041b01a7cda
> {"errors":[{"code":"UNAUTHORIZED","message":"authentication 
> required","detail":[{"Type":"repository","Class":"","Name":"mesosphere/dapis","Action":"pull"}]}]}
> {noformat}
> The impact is the task launch stuck and all subsequent task using this image 
> would also stuck because it waits for the same image pulling future to become 
> ready.
> Please note that this issue is not likely to be reproduced, unless on a busy 
> system using images containing large layers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to