Configure the Bare Metal service for cleaning

Note

If you configured the Bare Metal service to do Automated cleaning (which is enabled by default), you will need to set the cleaning_network configuration option.

  1. Note the network UUID (the id field) of the network you created in Configure the Networking service for bare metal provisioning or another network you created for cleaning:

    $ openstack network list
    
  2. 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:

    [neutron]
    cleaning_network = NETWORK_UUID
    
  3. Restart the Bare Metal service’s ironic-conductor:

    Fedora/RHEL8/CentOS8/SUSE:
      sudo systemctl restart openstack-ironic-conductor
    
    Ubuntu:
      sudo service ironic-conductor restart