Document using UEFI mode with overcloud nodes
Change-Id: I67799d0d3742b7c5e5545d443ec1b89de1b98fb1
This commit is contained in:
parent
2ac02e6fb6
commit
4d3a93e6c8
|
@ -14,3 +14,4 @@ Documentation on how to do advanced configuration of baremetal nodes in
|
|||
ready_state
|
||||
introspection_data
|
||||
whole_disk_images
|
||||
uefi_boot
|
||||
|
|
|
@ -0,0 +1,73 @@
|
|||
Booting in UEFI mode
|
||||
====================
|
||||
|
||||
TripleO supports booting overcloud nodes in UEFI_ mode instead of the default
|
||||
BIOS mode. This is required to use advanced features like *secure boot* (not
|
||||
covered by this guide), and some hardware may only feature UEFI support.
|
||||
|
||||
Configuring nodes
|
||||
-----------------
|
||||
|
||||
Depending on the driver, nodes have to be put in the UEFI mode manually or the
|
||||
driver can put them in it. For example, manual configuration is required for
|
||||
``ipmi`` (including ``pxe_ipmitool``) and ``idrac`` (including ``pxe_drac``)
|
||||
drivers, while ``ilo`` (including ``pxe_ilo``) and ``irmc`` (starting with
|
||||
the Queens release) drivers can set boot mode automatically.
|
||||
|
||||
Independent of the driver, you have to configure the UEFI mode manually, if
|
||||
you want introspection to run in it.
|
||||
|
||||
Manual configuration is usually done by entering node's *system setup* and
|
||||
changing boot setting there.
|
||||
|
||||
Introspection
|
||||
-------------
|
||||
|
||||
The introspection process is flexible enough to automatically detect the boot
|
||||
mode of the node. The only requirement is iPXE: TripleO currently does not
|
||||
support using PXE with UEFI. Make sure the following options are enabled
|
||||
in your ``undercloud.conf`` (they are on by default):
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
ipxe_enabled = True
|
||||
inspection_enable_uefi = True
|
||||
|
||||
Then you can run introspection as usual.
|
||||
|
||||
Deployment
|
||||
----------
|
||||
|
||||
Starting with the Pike release, the introspection process configures bare
|
||||
metal nodes to run in the same boot mode as it was run in. For example, if
|
||||
introspection was run on nodes in UEFI mode, **ironic-inspector** will
|
||||
configure introspected nodes to deploy in UEFI mode as well.
|
||||
|
||||
Here is how the ``properties`` field looks for nodes configured in BIOS mode::
|
||||
|
||||
$ openstack baremetal node show <NODE> -f value -c properties
|
||||
{u'capabilities': u'profile:compute,boot_option:local,boot_mode:bios', u'memory_mb': u'6144', u'cpu_arch': u'x86_64', u'local_gb': u'49', u'cpus': u'1'}
|
||||
|
||||
Note that ``boot_mode:bios`` capability is set. For a node in UEFI mode, it
|
||||
will look like this::
|
||||
|
||||
$ openstack baremetal node show <NODE> -f value -c properties
|
||||
{u'capabilities': u'profile:compute,boot_option:local,boot_mode:uefi', u'memory_mb': u'6144', u'cpu_arch': u'x86_64', u'local_gb': u'49', u'cpus': u'1'}
|
||||
|
||||
You can change the boot mode with the following command (required for UEFI
|
||||
before the Pike release)::
|
||||
|
||||
$ openstack baremetal node set <NODE> --property capabilities=profile:compute,boot_option:local,boot_mode:uefi
|
||||
|
||||
.. warning::
|
||||
Do not forget to copy all other capabilities, particularly ``profile`` and
|
||||
``boot_option``, literally.
|
||||
|
||||
Finally, you may configure your flavors to explicitly request nodes that boot
|
||||
in UEFI mode, for example::
|
||||
|
||||
$ openstack flavor set --property capabilities:boot_mode='uefi' compute
|
||||
|
||||
Then proceed with the deployment as usual.
|
||||
|
||||
.. _UEFI: https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface
|
|
@ -279,6 +279,9 @@ as a root device. Please see :ref:`root_device` for details.
|
|||
across rebuilds. Make sure to wipe the previous installation before
|
||||
rebuilding in this case.
|
||||
|
||||
Finally, if you want your nodes to boot in the UEFI mode, additional steps may
|
||||
have to be taken - see :doc:`../advanced_deployment/uefi_boot` for details.
|
||||
|
||||
.. warning::
|
||||
It's not recommended to delete nodes and/or rerun this command after
|
||||
you have proceeded to the next steps. Particularly, if you start introspection
|
||||
|
|
Loading…
Reference in New Issue