aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2018-05-01 18:33:56 +0100
committerMark Goddard <mark@stackhpc.com>2018-05-01 18:33:58 +0100
commitabf8a3b862d7f2d67c71c0e40cbd9dccf5b89dad (patch)
treeb4cef959bf4bf621ddedd7ccd8eefb2758ca9004 /doc
parentc93ec09dc7d31ecec74eedac493592a22ee395d2 (diff)
downloadkolla-ansible-abf8a3b862d7f2d67c71c0e40cbd9dccf5b89dad.tar.gz
kolla-ansible-abf8a3b862d7f2d67c71c0e40cbd9dccf5b89dad.zip
Add node state management to ironic guide
Without these commands, the bare metal node will not be available for scheduling in nova. Change-Id: If1fc16721110b6c6e362bdd59aac02d9ec5d8415
Diffstat (limited to 'doc')
-rw-r--r--doc/source/reference/ironic-guide.rst20
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/source/reference/ironic-guide.rst b/doc/source/reference/ironic-guide.rst
index 8d176bc20..95f0fb17d 100644
--- a/doc/source/reference/ironic-guide.rst
+++ b/doc/source/reference/ironic-guide.rst
@@ -93,7 +93,6 @@ Create a baremetal flavor:
Create the baremetal node and associate a port. (Ensure to substitute correct
values for the kernel, ramdisk, and MAC address for your baremetal node)
-
.. code-block:: console
openstack baremetal node create --driver ipmi --name baremetal-node \
@@ -110,6 +109,25 @@ values for the kernel, ramdisk, and MAC address for your baremetal node)
.. end
+Make the baremetal node available to nova:
+
+.. code-block:: console
+
+ openstack baremetal node manage 57aa574a-5fea-4468-afcf-e2551d464412
+ openstack baremetal node provide 57aa574a-5fea-4468-afcf-e2551d464412
+
+.. end
+
+It may take some time for the node to become available for scheduling in nova.
+Use the following commands to wait for the resources to become available:
+
+.. code-block:: console
+
+ openstack hypervisor stats show
+ openstack hypervisor show 57aa574a-5fea-4468-afcf-e2551d464412
+
+.. end
+
Booting the baremetal
~~~~~~~~~~~~~~~~~~~~~
You can now use the following sample command to boot the baremetal instance: