Enabling Cleaning mode by default

Enabling cleaning mode which will cause nodes to be scrubbed
before being available for re-use.
This commit is contained in:
Julia Kreger 2015-03-24 13:19:47 -04:00
parent e6544bdf3d
commit 57f8992e28
2 changed files with 22 additions and 0 deletions

View File

@ -1,4 +1,7 @@
---
# Cleaning turns on ironic conductor clean_nodes flag
# chich causes the nodes to be wiped after deletion.
cleaning: true
required_packages_ubuntu:
- mysql-server
- dnsmasq

View File

@ -619,6 +619,25 @@ node_locked_retry_interval=1
# when configdrive_use_swift is True. (string value)
#configdrive_swift_container=ironic_configdrive_container
# Cleaning is a configurable set of steps, such as erasing
# disk drives, that are performed on the node to ensure it is
# in a baseline state and ready to be deployed to. This is
# done after instance deletion, and during the transition from
# a "managed" to "available" state. When enabled, the
# particular steps performed to clean a node depend on which
# driver that node is managed by; see the individual driver's
# documentation for details. NOTE: The introduction of the
# cleaning operation causes instance deletion to take
# significantly longer. While this provides a better and more
# secure user experience, it does impact the service behavior,
# and as such IS DISABLED BY DEFAULT until consuming services
# (eg, Nova) have been updated to accommodate the additional
# time for deletion. (boolean value)
#clean_nodes=false
{% if cleaning %}
clean_nodes=true
{% endif %}
[console]