Files
cb61a8d6c052f4401d482ca45b43bc53935a6b28
ironic-python-agent /ironic_python_agent
Julia Kreger cb61a8d6c0 Retry on checksum failures
HTTP is a fun protocol.
Size is basically optional. And clients implicitly trust the server
and socket has transferred all the bytes. Which *really* means you
should always checksum.
But... previously we didn't checksum as part of retrying.
So if anything happened with python-requests, or lower level
library code or the system itself causing bytes to be lost off the
buffer, creating an incomplete transfer situation, then we wouldn't
know until the checksum.
So now, we checksum and re-trigger the download if there is a
failure of the checksum.
This involved a minor shift in the download logic, and resulted in
a needful minor fix to an image checksum test as it would loop for
90 seconds as well.
Closes-Bug: 2038934
Change-Id: I543a60555a2621b49dd7b6564bd0654a46db2e9a
2023年10月10日 09:15:31 -07:00
..
2022年04月14日 10:47:06 +00:00
2021年04月01日 11:16:20 -07:00
2023年10月10日 09:15:31 -07:00
2023年10月10日 09:15:31 -07:00
2021年12月16日 22:03:51 +01:00
2023年05月25日 07:59:07 -07:00
2022年01月10日 11:31:33 +01:00
2023年04月17日 09:14:24 -07:00
2020年07月02日 12:18:53 +02:00
2023年08月31日 06:22:22 -07:00
2023年08月31日 06:22:22 -07:00
2020年03月31日 08:13:13 -07:00
2023年06月06日 08:34:55 -07:00
2023年08月22日 16:47:28 -07:00
2023年05月03日 12:20:35 +02:00
2022年06月21日 17:54:39 +02:00