Merge "docs: Reword bare metal registration section"

This commit is contained in:
Zuul 2024-05-31 08:32:57 +00:00 committed by Gerrit Code Review
commit d17f7dc1b8

View File

@ -16,9 +16,10 @@ node. This behavior can be changed by overriding the variable
Register Register
-------- --------
This is an experimental workflow and acts as an alternative to enrolling nodes This is an experimental workflow which acts as an alternative to enrolling
through inspection where nodes can be registered in Ironic via kayobe given these nodes through inspection. Bare metal compute nodes can be registered in Ironic
nodes are defined in the Kayobe inventory, an example hosts file for group r1 is below: via Kayobe if defined in the Kayobe inventory. An example hosts file for group
r1 is below:
.. code-block:: ini .. code-block:: ini
@ -29,9 +30,10 @@ nodes are defined in the Kayobe inventory, an example hosts file for group r1 is
[baremetal-compute:children] [baremetal-compute:children]
r1 r1
You should also define a group_vars file for this group containing the Ironic You should also define a ``group_vars`` file for this group containing the
vars, this could be in ``etc/kayobe/inventory/group_vars/r1/ironic_vars`` or Ironic variables, this could be in
in the environment you are using. ``etc/kayobe/inventory/group_vars/r1/ironic_vars`` or in the environment you
are using.
.. code-block:: yaml .. code-block:: yaml
@ -48,7 +50,7 @@ in the environment you are using.
ironic_properties: ironic_properties:
capabilities: "{{ ironic_capabilities }}" capabilities: "{{ ironic_capabilities }}"
ironic_resource_class: "example_resouce_class" ironic_resource_class: "example_resource_class"
ironic_redfish_system_id: "/redfish/v1/Systems/System.Embedded.1" ironic_redfish_system_id: "/redfish/v1/Systems/System.Embedded.1"
ironic_redfish_verify_ca: "{{ inspector_rule_var_redfish_verify_ca }}" ironic_redfish_verify_ca: "{{ inspector_rule_var_redfish_verify_ca }}"
ironic_redfish_address: "{{ ipmi_address }}" ironic_redfish_address: "{{ ipmi_address }}"
@ -56,18 +58,19 @@ in the environment you are using.
ironic_redfish_password: "{{ inspector_redfish_password }}" ironic_redfish_password: "{{ inspector_redfish_password }}"
ironic_capabilities: "boot_option:local,boot_mode:uefi" ironic_capabilities: "boot_option:local,boot_mode:uefi"
It's essential that the Ironic username and password match the BMC username It is essential that the Ironic username and password match the BMC username
and password for your nodes, if the username and password combination is and password for your nodes. If the username and password combination is not
not the same for the entire group you will need to adjust your configuration the same for the entire group you will need to adjust your configuration
accordingly. The IPMI address should also match the BMC address for your node. accordingly. The IPMI address should also match the BMC address for your node.
Once this has been completed you can begin enrolling the Ironic nodes:: Once this has been completed you can begin enrolling the Ironic nodes::
(kayobe) $ kayobe baremetal compute register (kayobe) $ kayobe baremetal compute register
Inspector is not used to discover nodes and no node inspection will take place on Inspector is not used to discover nodes and no node inspection will take place
enrollment, nodes will automatically be placed into ``manageable`` state. To inspect, on enrollment, nodes will automatically be placed into ``manageable`` state. To
you should use ``kayobe baremetal compute inspect`` following enrollment. inspect, you should use ``kayobe baremetal compute inspect`` following
enrollment.
Manage Manage
------ ------