]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephadm: also retry on digest mismatch
authorSebastian Wagner <sebastian.wagner@suse.com>
Tue, 14 Jul 2020 13:11:46 +0000 (15:11 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 16 Jul 2020 08:07:19 +0000 (10:07 +0200)
Fixes: https://tracker.ceph.com/issues/46534
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/cephadm/cephadm

index dd2c6b826283add5b629162940e4e23b1f2aedb5..13511000e279a0155340fd07865fa4628b65720e 100755 (executable)
@@ -2299,12 +2299,13 @@ def command_pull():
 
 
 def _pull_image(image):
-    # type: () -> None
+    # type: (str) -> None
     logger.info('Pulling container image %s...' % image)
 
     ignorelist = [
         "error creating read-write layer with ID",
         "net/http: TLS handshake timeout",
+        "Digest did not match, expected",
     ]
 
     cmd = [container_path, 'pull', image]