You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jason Lai (JIRA)" <ji...@apache.org> on 2018/11/11 20:58:00 UTC

[jira] [Created] (MESOS-9383) Registry puller needs to implement retry upon failing image pulls

Jason Lai created MESOS-9383:
--------------------------------

             Summary: Registry puller needs to implement retry upon failing image pulls
                 Key: MESOS-9383
                 URL: https://issues.apache.org/jira/browse/MESOS-9383
             Project: Mesos
          Issue Type: Improvement
          Components: containerization
            Reporter: Jason Lai


UCR's {{RegistryPuller}} doesn't support [retry upon failures on fetching container images|https://github.com/apache/mesos/blob/1.7.0/src/slave/containerizer/mesos/provisioner/docker/registry_puller.cpp] and below is an example of the issue:

{code:text}
mesos-slave.{hostname}.root.log.INFO.20181016-193329.90745.6.gz:E1029 21:28:16.114250 90838 slave.cpp:6191] Container '28a416f4-9b3f-41f5-b343-17281c796c81' for executor '747f92c4-a0d7-4b8a-927a-596feac33af1-1-4' of framework 3dcc744f-016c-6579-9b82-6325424502d2-9999 failed to start: Collect failed: Failed to perform 'curl': curl: (18) transfer closed with 9732 bytes remaining to read
mesos-slave.{hostname}.root.log.INFO.20181016-193329.90745.6.gz:E1029 21:28:16.118737 90829 slave.cpp:6191] Container 'e80c5a81-c849-4aa3-bae3-a1d55fa1b9da' for executor '747f92c4-a0d7-4b8a-927a-596feac33af1-2-4' of framework 3dcc744f-016c-6579-9b82-6325424502d2-9999 failed to start: Collect failed: Failed to perform 'curl': curl: (18) transfer closed with 9732 bytes remaining to read
{code}

On the other hand, such logic was [implemented|https://github.com/moby/moby/blob/v17.05.0-ce/distribution/xfer/download.go#L250-L304] long time ago in Docker and quite necessary for UCR at scale.



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