You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/include/baremetal_management.rst
+25-4Lines changed: 25 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ Static switch configuration
123
123
- Optionally switches the node onto the provisioning network (when using ``--enable-discovery``)
124
124
125
125
+ NOTE: This is a dangerous operation as it can wipe out the dynamic VLAN configuration applied by neutron/ironic.
126
-
You should only run this when initially enrolling a node. It is possible to use the ``interface-description-limit``. For example:
126
+
You should only run this when initially enrolling a node, and should always use the ``interface-description-limit`` option. For example:
127
127
128
128
.. code-block::
129
129
@@ -156,7 +156,7 @@ Ironic dynamically configures the switches using the Neutron `Networking Generic
156
156
157
157
- Only configures VLAN membership of the switch interfaces or port groups. To prevent conflicts with the static switch configuration,
158
158
the convention used is: after the node is in service in Ironic, VLAN membership should not be manually adjusted and
159
-
should be left to be controlled by ironic i.e *don't* use ``--enable-discovery`` without a limit when configuring the
159
+
should be left to be controlled by ironic i.e *don't* use ``--enable-discovery`` without an interface limit when configuring the
160
160
switches with kayobe.
161
161
- Ironic is configured to use the neutron networking driver.
162
162
@@ -202,7 +202,7 @@ The switch configuration that NGS will apply to these ports is detailed in :ref:
202
202
Ironic node discovery
203
203
---------------------
204
204
205
-
Discovery is the process of PXE booting the nodes into the Ironic Python Agent (IPA) ramdisk. This ramdisk will collect hardware and networking configuration from the node in a process known as introspection. This data is used to populate the baremetal node object in Ironic. The series of steps you need to take to enrol a new node is as follows:
205
+
Discovery is a process used to automatically enrol new nodes in Ironic. It works by PXE booting the nodes into the Ironic Python Agent (IPA) ramdisk. This ramdisk will collect hardware and networking configuration from the node in a process known as introspection. This data is used to populate the baremetal node object in Ironic. The series of steps you need to take to enrol a new node is as follows:
206
206
207
207
- Configure credentials on the |bmc|. These are needed for Ironic to be able to perform power control actions.
208
208
@@ -220,7 +220,7 @@ Discovery is the process of PXE booting the nodes into the Ironic Python Agent (
- Put the node onto the provisioning network by using the ``--enablediscovery`` flag. See :ref:`static-switch-config`.
223
+
- Put the node onto the provisioning network by using the ``--enable-discovery`` flag and either ``--interface-description-limit`` or ``--interface-limit`` (do not run this command without one of these limits). See :ref:`static-switch-config`.
224
224
225
225
* This is only necessary to initially discover the node. Once the node is in registered in Ironic,
226
226
it will take over control of the the VLAN membership. See :ref:`dynamic-switch-configuration`.
@@ -243,6 +243,27 @@ Discovery is the process of PXE booting the nodes into the Ironic Python Agent (
243
243
244
244
- PXE boot the node.
245
245
246
+
- If the discovery process is successful, the node will appear in Ironic and will get populated with the necessary information from the hardware inspection process.
247
+
248
+
.. TODO: Link to the Kayobe inventory in the repo
249
+
250
+
- Add node to the Kayobe inventory in the ``baremetal-compute`` group.
251
+
252
+
- The node will begin in the ``enroll`` state, and must be moved first to ``manageable``, then ``available`` before it can be used.
The node must complete a cleaning process before it can reach the available state.
257
+
258
+
* Use Kayobe to attempt to move the node to the ``available`` state.
259
+
260
+
.. code-block:: console
261
+
262
+
source etc/kolla/public-openrc.sh
263
+
kayobe baremetal compute provide --limit <node>
264
+
265
+
- Once the node is in the ``available`` state, Nova will make the node available for scheduling. This happens periodically, and typically takes around a minute.
0 commit comments