ironic/doc/source/admin/drivers/pxe.rst
Fellype Cavalcante 049fd40719 Add a flag to always perform persistent boot on PXE interface
With the proposal to solve the bug that PXE interface should
be using non-persistent boot for cleaning/deploying phases as
default(commit: c7091fb8e2), it's
necessary to create a flag to enable persistent behavior when
you set the boot device.
This flag will override a non-persistent behavior in the
cleaning and deploy process.

Change-Id: I1f47393c17a3f5319fffd963ec0a016b41865c5d
Closes-Bug: 1703945
Co-Authored-By: Stenio Araujo <steniaraujo@lsd.ufcg.edu.br>
2017-08-04 16:28:30 -03:00

959 B

Configuring PXE boot interface

Enable persistent boot device for deploy/clean operation

Ironic uses non-persistent boot for cleaning/deploying phases as default, in PXE interface. For some drivers, a persistent change is far more costly than a non-persistent one, so this can bring performance improvements.

Enable persistent boot device on node

  1. Set the flag force_persistent_boot_device to True in the node's driver_info:

    $ openstack baremetal node set --driver-info force_persistent_boot_device=True <node>

Note

It's recommended to check if the node's state has not changed as there is no way of locking the node between these commands.

Once the flag is present, the next cleaning and deploy steps will be done with persistent boot for that node.