ironic/releasenotes/notes/anaconda-deploy-interface-c04932f6f469227a.yaml
Arun S A G 288b8fd883 Add agent_status and agent_status_message params to heartbeat
agent_status is used by anaconda ramdisk to inform the
conductor about state of the deployment. Valid agent
states are 'start', 'end' and 'error'. The agent_status_message
is used to describe the why the agent_status is set to a
particular state. Use of these parameters require API
version 1.72 or greater.

When anaconda finishes deployment the agent_status is
set to 'end'. When anaconda ramdisk is unable to deploy
the OS for some reason the agent_status is set to 'error'.

PXEAnacondaDeploy is implemented to handle the 'anaconda'
deploy interface. PXEAnacondaDeploy ties to together pieces
needed to deploy a node using anaconda ramdisk.

Co-Authored-By: Jay Faulkner <jay@jvf.cc>
Change-Id: Ieb452149730510b001c4712bbb2e0f28acfc3c2e
2021-03-31 14:20:39 -07:00

18 lines
886 B
YAML

---
features:
- |
Add ``anaconda`` deploy interface to Ironic. This driver will deploy
the OS using anaconda installer and kickstart file instead of IPA. To
support this feature a new configuration group ``anaconda`` is added to
Ironic configuration file along with ``default_ks_template`` configuration
option.
The deploy interface uses heartbeat API to communicate. The kickstart
template must include %pre %post %onerror and %traceback sections that
should send status of the deployment back to Ironic API using heartbeats.
An example of such calls to hearbeat API can be found in the default
kickstart template. To enable anaconda to send status back to Ironic API
via heartbeat ``agent_status`` and ``agent_status_message`` are added to
the heartbeat API. Use of these new parameters require API microversion
1.72 or greater.