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
This commit is contained in:
Mark Goddard 2018-05-01 18:33:56 +01:00
parent c93ec09dc7
commit abf8a3b862

View File

@ -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: