summaryrefslogtreecommitdiff
path: root/doc/source/admin/fast-track.rst
blob: 20ca6199f05116dcd00928d9ac53584e898d61eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
=====================
Fast-Track Deployment
=====================

*Fast track* is a mode of operation where the Bare Metal service keeps a
machine powered on with the agent running between provisioning operations.
It is first booted during in-band inspection or cleaning (whatever happens
first) and is only shut down before rebooting into the final instance.
Depending on the configuration, this mode can save several reboots and is
particularly useful for scenarios where nodes are enrolled, prepared and
provisioned within a short period of time.

.. warning::
   Fast track deployment targets standalone use cases and is only tested with
   the ``noop`` networking. The case where inspection, cleaning and
   provisioning networks are different is not supported.

Enabling
========

Fast track is off by default and should be enabled in the configuration:

.. code-block:: ini

   [deploy]
   fast_track = true

Starting with the Yoga release series, it can also be enabled or disabled per
node:

.. code-block:: console

   baremetal node set <node> --driver-info fast_track=true

Inspection
----------

If using :ref:`in-band inspection`, you need to tell ironic-inspector not to
power off nodes afterwards. Depending on the inspection mode (managed or
unmanaged), you need to configure two places. In ``ironic.conf``:

.. code-block:: ini

   [inspector]
   power_off = false

And in ``inspector.conf``:

.. code-block:: ini

   [processing]
   power_off = false

Finally, you need to update the :ironic-inspector-doc:`inspection PXE
configuration <install/index.html#configuration>` to include the
``ipa-api-url`` kernel parameter, pointing at the **ironic** endpoint, in
addition to the existing ``ipa-inspection-callback-url``.