02015a4be6
Change-Id: I13f90a0b183b7799b4c8b5c340052d96f717fa9f
38 lines
1.1 KiB
ReStructuredText
38 lines
1.1 KiB
ReStructuredText
.. _configure-cleaning:
|
|
|
|
Configure the Bare Metal service for cleaning
|
|
=============================================
|
|
|
|
.. note:: If you configured the Bare Metal service to use `Node cleaning`_
|
|
(which is enabled by default), you will need to set the
|
|
``cleaning_network`` configuration option.
|
|
|
|
.. _`Node cleaning`: http://docs.openstack.org/ironic/latest/admin/cleaning.html#node-cleaning
|
|
|
|
#. Note the network UUID (the `id` field) of the network you created in
|
|
:ref:`configure-networking` or another network you created for cleaning:
|
|
|
|
.. code-block:: console
|
|
|
|
$ neutron net-list
|
|
|
|
#. Configure the cleaning network UUID via the ``cleaning_network``
|
|
option in the Bare Metal service configuration file
|
|
(``/etc/ironic/ironic.conf``). In the following, replace ``NETWORK_UUID``
|
|
with the UUID you noted in the previous step:
|
|
|
|
.. code-block:: ini
|
|
|
|
[neutron]
|
|
cleaning_network = NETWORK_UUID
|
|
|
|
#. Restart the Bare Metal service's ironic-conductor:
|
|
|
|
.. code-block:: console
|
|
|
|
Fedora/RHEL7/CentOS7/SUSE:
|
|
sudo systemctl restart openstack-ironic-conductor
|
|
|
|
Ubuntu:
|
|
sudo service ironic-conductor restart
|