ironic.conductor.steps module

ironic.conductor.steps.find_step(steps, step)[source]

Find an identical step in the list of steps.

ironic.conductor.steps.is_equivalent(step1, step2)[source]

Compare steps, ignoring their priority.

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, reset_current=True, skip_missing=False)[source]

Set up the node with deployment step information for deploying.

Get the deploy steps from the driver.

Parameters

reset_current – Whether to reset the current step to the first one.

Raises

InstanceDeployFailure if there was a problem getting the deployment steps.

ironic.conductor.steps.validate_deploy_templates(task, skip_missing=False)[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.