Baremetal Workbook

Workbook name:tripleo.baremetal.v1

TripleO Baremetal Workflows

Workflows in the Baremetal Workbook

tripleo.baremetal.v1._introspect

An internal workflow. The tripleo.baremetal.v1.introspect workflow should be used for introspection.

Workflow inputs:

Input node_uuid:
 Required.
Input queue_name:
 Required.
tripleo.baremetal.v1.cellv2_discovery

Run cell_v2 host discovery

Workflow inputs:

Input node_uuids:
 Required.
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.configure

Take a list of manageable nodes and update their boot configuration.

Workflow inputs:

Input node_uuids:
 Required.
Input queue_name:
 Default: tripleo
Input kernel_name:
 Default: bm-deploy-kernel
Input ramdisk_name:
 Default: bm-deploy-ramdisk
Input instance_boot_option:
 Default: None
Input root_device:
 Default: None
Input root_device_minimum_size:
 Default: 4
Input overwrite_root_device_hints:
 Default: False
tripleo.baremetal.v1.configure_manageable_nodes

Update the boot configuration of all nodes in ‘manageable’ state.

Workflow inputs:

Input queue_name:
 Default: tripleo
Input kernel_name:
 Default: bm-deploy-kernel
Input ramdisk_name:
 Default: bm-deploy-ramdisk
Input instance_boot_option:
 Default: None
Input root_device:
 Default: None
Input root_device_minimum_size:
 Default: 4
Input overwrite_root_device_hints:
 Default: False
tripleo.baremetal.v1.create_raid_configuration

Create and apply RAID configuration for given nodes

Workflow inputs:

Input node_uuids:
 Required.
Input configuration:
 Required.
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.introspect

Take a list of nodes and move them through introspection.

Workflow inputs:

Input node_uuids:
 Required.
Input run_validations:
 Default: False
Input queue_name:
 Default: tripleo
Input concurrency:
 Default: 20
tripleo.baremetal.v1.introspect_manageable_nodes

Introspect all nodes in a ‘manageable’ state.

Workflow inputs:

Input run_validations:
 Default: False
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.manage

Set a list of nodes to ‘manageable’ state

Workflow inputs:

Input node_uuids:
 Required.
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.manual_cleaning

Workflow inputs:

Input node_uuid:
 Required.
Input clean_steps:
 Required.
Input timeout:Default: 7200
Input retry_delay:
 Default: 10
Input retry_count:
 Default: 720
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.nodes_with_profile

Find nodes with a specific profile

Workflow inputs:

Input profile:Required.
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.provide

Take a list of nodes and move them to “available”

Workflow inputs:

Input node_uuids:
 Required.
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.provide_manageable_nodes

Provide all nodes in a ‘manageable’ state.

Workflow inputs:

Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.register_or_update

Take nodes JSON and create nodes in a “manageable” state

Workflow inputs:

Input nodes_json:
 Required.
Input remove:Default: False
Input queue_name:
 Default: tripleo
Input kernel_name:
 Default: None
Input ramdisk_name:
 Default: None
Input instance_boot_option:
 Default: local
Input initial_state:
 Default: manageable
tripleo.baremetal.v1.set_node_state

Workflow inputs:

Input node_uuid:
 Required.
Input state_action:
 Required.
Input target_state:
 Required.
tripleo.baremetal.v1.set_power_state

Workflow inputs:

Input node_uuid:
 Required.
Input state_action:
 Required.
Input target_state:
 Required.
tripleo.baremetal.v1.tag_node

Tag a node with a role

Workflow inputs:

Input node_uuid:
 Required.
Input role:Default: None
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.tag_nodes

Runs the tag_node workflow in a loop

Workflow inputs:

Input tag_node_uuids:
 Required.
Input untag_node_uuids:
 Required.
Input role:Required.
Input plan:Default: overcloud
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.validate_nodes

Validate nodes JSON

Workflow inputs:

Input nodes_json:
 Required.
Input queue_name:
 Default: tripleo