Jay Faulkner fa072d50b4 Fix: Remove legacy agent_token fallback code
Removes the very old fallback code which would allow a
client to GET /v1/commands unauthenticated very early
in an IPA run.

This cleans up the checks entirely, making the code
suitable for a world that always has an agent token.

Assisted-by: Claude Code (Sonnet)
Closes-Bug: #2160196
Change-Id: Ia869cd1c796660cbd7e6656a5a2dd49d89be30b0
Signed-off-by: Jay Faulkner <jay@jvf.cc>
2026-07-15 16:19:47 +00:00
2026-06-26 09:26:00 +12:00
2025-02-10 11:05:12 +00:00
2019-04-19 19:48:56 +00:00
2025-02-07 15:59:48 -08:00
2013-09-17 13:41:59 -07:00
2026-04-20 14:56:07 +00:00
2024-04-30 22:46:45 +09:00

Ironic Python Agent

image

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.

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