ironic.conductor.steps module

ironic.conductor.steps.set_node_cleaning_steps(task)[source]

Set up the node with clean step information for cleaning.

For automated cleaning, get the clean steps from the driver. For manual cleaning, the user’s clean steps are known but need to be validated against the driver’s clean steps.

Raises

InvalidParameterValue if there is a problem with the user’s clean steps.

Raises

NodeCleaningFailure if there was a problem getting the clean steps.

ironic.conductor.steps.set_node_deployment_steps(task)[source]

Set up the node with deployment step information for deploying.

Get the deploy steps from the driver.

Raises

InstanceDeployFailure if there was a problem getting the deployment steps.

ironic.conductor.steps.validate_deploy_templates(task)[source]

Validate the deploy templates for a node.

Parameters

task – A TaskManager object

Raises

InvalidParameterValue if the instance has traits that map to deploy steps that are unsupported by the node’s driver interfaces.

Raises

InstanceDeployFailure if there was a problem getting the deploy steps from the driver.