ironic.conductor.cleaning module

Functionality related to cleaning.

ironic.conductor.cleaning.do_next_clean_step(task, step_index)[source]

Do cleaning, starting from the specified clean step.

Parameters
  • task – a TaskManager instance with an exclusive lock

  • step_index – The first clean step in the list to execute. This is the index (from 0) into the list of clean steps in the node’s driver_internal_info[‘clean_steps’]. Is None if there are no steps to execute.

ironic.conductor.cleaning.do_node_clean(task, clean_steps=None)[source]

Internal RPC method to perform cleaning of a node.

Parameters
  • task – a TaskManager instance with an exclusive lock on its node

  • clean_steps – For a manual clean, the list of clean steps to perform. Is None For automated cleaning (default). For more information, see the clean_steps parameter of ConductorManager.do_node_clean().

ironic.conductor.cleaning.do_node_clean_abort(task, step_name=None)[source]

Internal method to abort an ongoing operation.

Parameters
  • task – a TaskManager instance with an exclusive lock

  • step_name – The name of the clean step.