cb61a8d6c052f4401d482ca45b43bc53935a6b28
Go to file
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
2023年08月31日 06:22:22 -07:00
2023年10月10日 09:15:31 -07:00
2023年10月10日 09:15:31 -07:00
2023年08月24日 16:29:50 +02:00
2019年12月02日 12:11:58 +01:00
2019年04月19日 19:48:56 +00:00
2017年09月26日 09:23:53 -07:00
2022年06月30日 23:33:05 +00:00
2023年05月17日 15:38:57 -07:00
2013年09月17日 13:41:59 -07:00
2020年01月15日 12:44:31 +01:00
2023年05月17日 15:38:57 -07:00
2023年08月31日 06:22:22 -07:00
2023年01月02日 14:40:35 +01:00
2020年12月14日 14:47:57 +01:00
2023年08月02日 16:59:59 +08:00

Ironic Python Agent

Team and repository tags

image

Overview

An agent for controlling and deploying Ironic controlled baremetal nodes.

The ironic-python-agent works with the agent driver in Ironic to provision the node. Starting with ironic-python-agent running on a ramdisk on the unprovisioned node, Ironic makes API calls to ironic-python-agent to provision the machine. This allows for greater control and flexibility of the entire deployment process.

The ironic-python-agent may also be used with the original Ironic pxe drivers as of the Kilo OpenStack release.

Building the IPA deployment ramdisk

For more information see the Image Builder section of the Ironic Python Agent developer guide.

Using IPA with devstack

This is covered in the Deploying Ironic with DevStack section of the Ironic dev-quickstart guide.

Project Resources

Project bugs are tracked on Launchpad:

https://bugs.launchpad.net/ironic-python-agent/+bugs

Developer documentation can be found here:

https://docs.openstack.org/ironic-python-agent/latest/

Release notes for the project are available at:

https://docs.openstack.org/releasenotes/ironic-python-agent/

Source code repository for the project is located at:

https://opendev.org/openstack/ironic-python-agent/

IRC channel:

#openstack-ironic on irc.oftc.net

To contribute, start here: Openstack: How to contribute.

Description
A Python agent for provisioning and deprovisioning Bare Metal servers.
Readme 36 MiB
Languages
Python 99.9%
Shell 0.1%