You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gilbert Song (JIRA)" <ji...@apache.org> on 2018/09/08 01:44:00 UTC

[jira] [Created] (MESOS-9221) If some image layers are large, the image pulling may stuck due to the authorized token expired.

Gilbert Song created MESOS-9221:
-----------------------------------

             Summary: 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


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.



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