This is the default hardware manager for ironic-python-agent. It provides support for Hardware Inventory and the default deploy and clean steps.
deploy.write_image(node, ports, image_info, configdrive=None)write_image deploy step of the
:ironic-doc:`direct deploy interface
<admin/interfaces/deploy.html#direct-deploy>`.
Should not be used explicitly, but can be overridden to provide a custom
way of writing an image.deploy.erase_devices_metadata(node, ports)raid.apply_configuration(node, ports, raid_config, delete_existing=True)raid interface
and must be used through the :ironic-doc:`ironic RAID feature
<admin/raid.html>`.deploy.inject_files(node, ports, files, verify_ca=True)
This optional deploy step (introduced in the Wallaby release series) allows
injecting arbitrary files into the node. The list of files is built from the
optional inject_files property of the node concatenated with the explicit
files argument. Each item in the list is a dictionary with the following
fields:
path (required)partitionSpecifies the target partition in one of 3 ways:
/dev/sda1 or
/dev/disk/by-partlabel/<something>.path on the root device. E.g. for
/etc/sysctl.d/my.conf, look for a partition containing /etc.deletedTrue, the file is deleted, not created.
Incompatible with content.contentData to write. Incompatible with deleted. Can take two forms:
http://server/{node[uuid]}/{ports[0][address]}.mode, owner, groupdirmodeThis deploy step is disabled by default and can be enabled via a deploy
template or via the ipa-inject-files-priority kernel parameter.
Known limitations:
owner and group.deploy.erase_devicesdeploy.erase_devices_metadataerase_devices step.deploy.erase_pstoreraid.create_configurationraid interface
and must be used through the :ironic-doc:`ironic RAID feature
<admin/raid.html>`.raid.delete_configurationraid interface
and must be used through the :ironic-doc:`ironic RAID feature
<admin/raid.html>`.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.