Reviewed: https://review.openstack.org/636405 Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=c3c1f61c9a952fc7806ab8aec379bafd5bd87a94 Submitter: Zuul Branch: master
commit c3c1f61c9a952fc7806ab8aec379bafd5bd87a94 Author: Emilien Macchi <email address hidden> Date: Tue Feb 12 13:08:31 2019 -0500
image_uplaoder: add retry to _layer_stream_registry
We have seen that uploading a layer can be problematic if the fetch is dropped by network issues (like it happens in OpenStack Infra).
This patch adds a retry to the function that fetch the layer and retry if an HTTP exception is raised.
Change-Id: Ia9716447a7d037aaf32c3b01ab511c08e6598e07 Closes-Bug: #1815576
Reviewed: https:/ /review. openstack. org/636405 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=c3c1f61c9a9 52fc7806ab8aec3 79bafd5bd87a94
Committed: https:/
Submitter: Zuul
Branch: master
commit c3c1f61c9a952fc 7806ab8aec379ba fd5bd87a94
Author: Emilien Macchi <email address hidden>
Date: Tue Feb 12 13:08:31 2019 -0500
image_uplaoder: add retry to _layer_ stream_ registry
We have seen that uploading a layer can be problematic if the fetch is
dropped by network issues (like it happens in OpenStack Infra).
This patch adds a retry to the function that fetch the layer and retry
if an HTTP exception is raised.
Change-Id: Ia9716447a7d037 aaf32c3b01ab511 c08e6598e07
Closes-Bug: #1815576