Merge "Add node state management to ironic guide"

This commit is contained in:
Zuul 2018-05-02 09:54:46 +00:00 committed by Gerrit Code Review
commit 32fa09968b

View File

@ -93,7 +93,6 @@ Create a baremetal flavor:
Create the baremetal node and associate a port. (Ensure to substitute correct Create the baremetal node and associate a port. (Ensure to substitute correct
values for the kernel, ramdisk, and MAC address for your baremetal node) values for the kernel, ramdisk, and MAC address for your baremetal node)
.. code-block:: console .. code-block:: console
openstack baremetal node create --driver ipmi --name baremetal-node \ 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 .. 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 Booting the baremetal
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
You can now use the following sample command to boot the baremetal instance: You can now use the following sample command to boot the baremetal instance: