Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayobe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kayobe
Commits
d17f7dc1
Commit
d17f7dc1
authored
10 months ago
by
Zuul
Committed by
Gerrit Code Review
10 months ago
Browse files
Options
Downloads
Plain Diff
Merge "docs: Reword bare metal registration section"
parents
eb9576f3
039fa30c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/source/administration/bare-metal.rst
+41
-38
41 additions, 38 deletions
doc/source/administration/bare-metal.rst
with
41 additions
and
38 deletions
doc/source/administration/bare-metal.rst
+
41
−
38
View file @
d17f7dc1
...
@@ -16,58 +16,61 @@ node. This behavior can be changed by overriding the variable
...
@@ -16,58 +16,61 @@ 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
[r1]
[r1]
hv100 ipmi_address=1.2.3.4
hv100 ipmi_address=1.2.3.4
...
...
[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
ironic_driver: redfish
ironic_driver: redfish
ironic_driver_info:
ironic_driver_info:
redfish_system_id: "{{ ironic_redfish_system_id }}"
redfish_system_id: "{{ ironic_redfish_system_id }}"
redfish_address: "{{ ironic_redfish_address }}"
redfish_address: "{{ ironic_redfish_address }}"
redfish_username: "{{ ironic_redfish_username }}"
redfish_username: "{{ ironic_redfish_username }}"
redfish_password: "{{ ironic_redfish_password }}"
redfish_password: "{{ ironic_redfish_password }}"
redfish_verify_ca: "{{ ironic_redfish_verify_ca }}"
redfish_verify_ca: "{{ ironic_redfish_verify_ca }}"
ipmi_address: "{{ ipmi_address }}"
ipmi_address: "{{ ipmi_address }}"
ironic_properties:
ironic_properties:
capabilities: "{{ ironic_capabilities }}"
capabilities: "{{ ironic_capabilities }}"
ironic_resource_class: "example_resouce_class"
ironic_resource_class: "example_resou
r
ce_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 }}"
ironic_redfish_username: "{{ inspector_redfish_username }}"
ironic_redfish_username: "{{ inspector_redfish_username }}"
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
i
s essential that the Ironic username and password match the BMC username
and password for your nodes
, i
f the username and password combination is
and password for your nodes
. I
f 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
------
------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment