summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-07-09 14:30:45 +0000
committerGerrit Code Review <review@openstack.org>2020-07-09 14:30:45 +0000
commitf6ea886aa613df43f0b164e68eb286130be8f153 (patch)
tree57b6ea0cdacaf10b0f3d06379ae2a07ed85d5fb3 /doc/source
parentc42656ea57ddc0aaaec6408457c72fcaea16caba (diff)
parent2a6b5c14d5c45728fc63fc89b501beb74a64ca60 (diff)
downloadironic-f6ea886aa613df43f0b164e68eb286130be8f153.tar.gz
Merge "Decompose the core deploy step of the direct deploy"
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/admin/node-deployment.rst29
1 files changed, 28 insertions, 1 deletions
diff --git a/doc/source/admin/node-deployment.rst b/doc/source/admin/node-deployment.rst
index 03dfbfec2..d535a4a75 100644
--- a/doc/source/admin/node-deployment.rst
+++ b/doc/source/admin/node-deployment.rst
@@ -68,7 +68,34 @@ Accordingly, the following priority ranges can be used for custom deploy steps:
1 to 19
Any steps that are run when the user instance is already running.
-.. note:: Priorities 60 to 99 are currently reserved and should not be used.
+Direct deploy
+^^^^^^^^^^^^^
+
+The :ref:`direct-deploy` interface splits the ``deploy.deploy`` step into:
+
+
+``deploy.deploy`` (priority 100)
+ In this step the node is booted using a provisioning image.
+``deploy.write_image`` (priority 80)
+ A combination of an out-of-band and in-band step that downloads and writes
+ the image to the node. The step is executed asynchronously by the ramdisk.
+``deploy.prepare_instance_boot`` (priority 60)
+ In this step the boot device is configured and the bootloader is installed.
+
+Additional priority ranges can be used for custom deploy steps:
+
+81 to 99
+ In-band deploy steps to run before the image is written.
+61 to 79
+ In-band deploy steps to run after the image is written but before the
+ bootloader is installed.
+
+Other deploy interfaces
+^^^^^^^^^^^^^^^^^^^^^^^
+
+Priorities 60 to 99 are currently reserved and should not be used.
+
+.. TODO(dtantsur): update once iscsi and ansible are converted
Writing a Deploy Step
---------------------