diff options
| author | Zuul <zuul@review.opendev.org> | 2022-03-03 16:40:09 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2022-03-03 16:40:09 +0000 |
| commit | 68bc4f8f52f3e086efb1e72fd6ccdd36e8d0139a (patch) | |
| tree | 355d3fad3c40eef8861bf33606f86dd9001fecbb /doc | |
| parent | 9a1bd06098f23a4ea771a3b8d14b9c11c3050786 (diff) | |
| parent | baeca81a4354a590d743715481f2367a84467595 (diff) | |
| download | kolla-ansible-68bc4f8f52f3e086efb1e72fd6ccdd36e8d0139a.tar.gz kolla-ansible-68bc4f8f52f3e086efb1e72fd6ccdd36e8d0139a.zip | |
Merge "Enable Ironic iPXE support by default"
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/source/reference/bare-metal/ironic-guide.rst | 46 |
1 files changed, 20 insertions, 26 deletions
diff --git a/doc/source/reference/bare-metal/ironic-guide.rst b/doc/source/reference/bare-metal/ironic-guide.rst index 8fc9d1ff8..086cebc85 100644 --- a/doc/source/reference/bare-metal/ironic-guide.rst +++ b/doc/source/reference/bare-metal/ironic-guide.rst @@ -66,20 +66,8 @@ You may optionally pass extra kernel parameters to the inspection kernel using: in ``/etc/kolla/globals.yml``. -Enable iPXE booting (optional) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -You can optionally enable booting via iPXE by setting ``enable_ironic_ipxe`` to -true in ``/etc/kolla/globals.yml``: - -.. code-block:: yaml - - enable_ironic_ipxe: "yes" - -When iPXE booting is enabled, the ``ironic_ipxe`` container is used to serve -the iPXE boot images as described below. Regardless of the setting above, the -same container is used to support the ``direct`` deploy interface. - +Configure iPXE HTTP server port (optional) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The port used for the iPXE webserver is controlled via ``ironic_ipxe_port`` in ``/etc/kolla/globals.yml``: @@ -87,25 +75,31 @@ The port used for the iPXE webserver is controlled via ``ironic_ipxe_port`` in ironic_ipxe_port: "8089" -The following changes will occur if iPXE booting is enabled: +Revert to plain PXE (not recommended) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Starting with Yoga, Ironic has changed the default PXE from plain PXE to iPXE. +Kolla Ansible follows this upstream decision but allows users to revert to +plain PXE. Please note Kolla Ansible does not support plain PXE and iPXE at the +same time - the user must choose one. + +If you have to revert to plain iPXE, set: -- Ironic will be configured with the ``ipxe_enabled`` configuration option set - to true -- The inspection ramdisk and kernel will be loaded via iPXE -- The DHCP servers will be configured to chainload iPXE from an existing PXE - environment. You may also boot directly to iPXE by some other means e.g by - burning it to the option rom of your ethernet card. +.. code-block:: yaml -Note that due to a limitation in Kolla Ansible, PXE and iPXE cannot be used -together in a single deployment. + enable_ironic_ipxe: "no" -In order to enable the iPXE driver in Ironic, set the ``[DEFAULT] -enabled_boot_interfaces`` option in ``/etc/kolla/config/ironic.conf``: +And also remove ``ipxe`` from the ``enabled_boot_interfaces`` in +``/etc/kolla/config/ironic.conf``, leaving only ``pxe`` (and possibly other +alternatives) around: .. code-block:: yaml [DEFAULT] - enabled_boot_interfaces = ipxe + enabled_boot_interfaces = pxe + +When iPXE booting is enabled, the ``ironic_ipxe`` container is used to serve +the iPXE boot images as described below. Regardless of that setting, the +same container is used to support the ``direct`` deploy interface. Attach ironic to external keystone (optional) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
