| Workbook name: | tripleo.baremetal.v1 | 
|---|
TripleO Baremetal Workflows
Workflows in the Baremetal Workbook
tripleo.baremetal.v1._introspectAn internal workflow. The tripleo.baremetal.v1.introspect workflow should be used for introspection.
Workflow inputs:
| Input node_uuid: | |
|---|---|
| Required. | |
| Input timeout: | Required. | 
| Input queue_name: | |
| Required. | |
tripleo.baremetal.v1.apply_bios_settingsApply BIOS settings for given nodes
Workflow inputs:
| Input node_uuids: | |
|---|---|
| Required. | |
| Input settings: | Required. | 
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.apply_bios_settings_on_manageable_nodesApply BIOS settings on manageable nodes
Workflow inputs:
| Input settings: | Required. | 
|---|---|
| Input {‘concurrency’: | |
| 20}: Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.cellv2_discoveryRun cell_v2 host discovery
Workflow inputs:
| Input node_uuids: | |
|---|---|
| Required. | |
tripleo.baremetal.v1.clean_manageable_nodesClean all nodes in a ‘manageable’ state.
Workflow inputs:
| Input {‘concurrency’: | |
|---|---|
| 20}: Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.clean_nodesWipe partition tables on all disks of given nodes
Workflow inputs:
| Input node_uuids: | |
|---|---|
| Required. | |
| Input {‘concurrency’: | |
| 20}: Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.configureTake a list of manageable nodes and update their boot configuration.
Workflow inputs:
| Input node_uuids: | |
|---|---|
| Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
| Input {‘kernel_name’: | |
| ‘bm-deploy-kernel’}: Required. | |
| Input {‘ramdisk_name’: | |
| ‘bm-deploy-ramdisk’}: Required. | |
| Input {‘instance_boot_option’: | |
| None}: Required. | |
| Input {‘root_device’: | |
| None}: Required. | |
| Input {‘root_device_minimum_size’: | |
| 4}: Required. | |
| Input {‘overwrite_root_device_hints’: | |
| False}: Required. | |
tripleo.baremetal.v1.configure_manageable_nodesUpdate the boot configuration of all nodes in ‘manageable’ state.
Workflow inputs:
| Input {‘queue_name’: | |
|---|---|
| ‘tripleo’}: Required. | |
| Input {‘kernel_name’: | |
| ‘bm-deploy-kernel’}: Required. | |
| Input {‘ramdisk_name’: | |
| ‘bm-deploy-ramdisk’}: Required. | |
| Input {‘instance_boot_option’: | |
| None}: Required. | |
| Input {‘root_device’: | |
| None}: Required. | |
| Input {‘root_device_minimum_size’: | |
| 4}: Required. | |
| Input {‘overwrite_root_device_hints’: | |
| False}: Required. | |
tripleo.baremetal.v1.create_raid_configurationCreate and apply RAID configuration for given nodes
Workflow inputs:
| Input node_uuids: | |
|---|---|
| Required. | |
| Input configuration: | |
| Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.discover_and_enroll_nodesRun nodes discovery over the given IP range and enroll nodes
Workflow inputs:
| Input ip_addresses: | |
|---|---|
| Required. | |
| Input credentials: | |
| Required. | |
| Input {‘ports’: | [623]}: Required. | 
| Input {‘kernel_name’: | |
| None}: Required. | |
| Input {‘ramdisk_name’: | |
| None}: Required. | |
| Input {‘instance_boot_option’: | |
| None}: Required. | |
| Input {‘initial_state’: | |
| ‘manageable’}: Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.discover_nodesRun nodes discovery over the given IP range
Workflow inputs:
| Input ip_addresses: | |
|---|---|
| Required. | |
| Input credentials: | |
| Required. | |
| Input {‘ports’: | [623]}: Required. | 
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.introspectTake a list of nodes and move them through introspection. By default each node will attempt introspection up to 3 times (two retries plus the initial attemp) if it fails. This behaviour can be modified by changing the max_retry_attempts input. The workflow will assume the node has timed out after 20 minutes (1200 seconds). This can be changed by passing the node_timeout input in seconds.
Workflow inputs:
| Input node_uuids: | |
|---|---|
| Required. | |
| Input {‘run_validations’: | |
| False}: Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
| Input {‘concurrency’: | |
| 20}: Required. | |
| Input {‘max_retry_attempts’: | |
| 2}: Required. | |
| Input {‘node_timeout’: | |
| 1200}: Required. | |
tripleo.baremetal.v1.introspect_manageable_nodesIntrospect all nodes in a ‘manageable’ state.
Workflow inputs:
| Input {‘run_validations’: | |
|---|---|
| False}: Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
| Input {‘concurrency’: | |
| 20}: Required. | |
tripleo.baremetal.v1.manageSet a list of nodes to ‘manageable’ state
Workflow inputs:
| Input node_uuids: | |
|---|---|
| Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.manual_cleaningWorkflow inputs:
| Input node_uuid: | |
|---|---|
| Required. | |
| Input clean_steps: | |
| Required. | |
| Input {‘timeout’: | |
| 7200}: Required. | |
| Input {‘retry_delay’: | |
| 10}: Required. | |
| Input {‘retry_count’: | |
| 720}: Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.nodes_with_hintFind nodes matching a hint regex
Workflow inputs:
| Input hint_regex: | |
|---|---|
| Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.nodes_with_profileFind nodes with a specific profile
Workflow inputs:
| Input profile: | Required. | 
|---|---|
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.provideTake a list of nodes and move them to “available”
Workflow inputs:
| Input node_uuids: | |
|---|---|
| Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.provide_manageable_nodesProvide all nodes in a ‘manageable’ state.
Workflow inputs:
| Input {‘queue_name’: | |
|---|---|
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.register_or_updateTake nodes JSON and create nodes in a “manageable” state
Workflow inputs:
| Input nodes_json: | |
|---|---|
| Required. | |
| Input {‘remove’: | |
| False}: Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
| Input {‘kernel_name’: | |
| None}: Required. | |
| Input {‘ramdisk_name’: | |
| None}: Required. | |
| Input {‘instance_boot_option’: | |
| None}: Required. | |
| Input {‘initial_state’: | |
| ‘manageable’}: Required. | |
tripleo.baremetal.v1.reset_bios_settingsReset BIOS settings for given nodes to factory default
Workflow inputs:
| Input node_uuids: | |
|---|---|
| Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.reset_bios_settings_on_manageable_nodesReset BIOS settings on manageable nodes to factory default
Workflow inputs:
| Input {‘concurrency’: | |
|---|---|
| 20}: Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.set_node_stateWorkflow inputs:
| Input node_uuid: | |
|---|---|
| Required. | |
| Input state_action: | |
| Required. | |
| Input target_state: | |
| Required. | |
| Input {‘error_states’: | |
| [‘error’, ‘adopt failed’, ‘clean failed’, ‘deploy failed’, ‘inspect failed’, ‘rescue failed’]}: Required. | |
tripleo.baremetal.v1.set_power_stateWorkflow inputs:
| Input node_uuid: | |
|---|---|
| Required. | |
| Input state_action: | |
| Required. | |
| Input target_state: | |
| Required. | |
| Input {‘error_state’: | |
| ‘error’}: Required. | |
tripleo.baremetal.v1.tag_nodeTag a node with a role
Workflow inputs:
| Input node_uuid: | |
|---|---|
| Required. | |
| Input {‘role’: | None}: Required. | 
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.tag_nodesRuns the tag_node workflow in a loop
Workflow inputs:
| Input tag_node_uuids: | |
|---|---|
| Required. | |
| Input untag_node_uuids: | |
| Required. | |
| Input role: | Required. | 
| Input {‘plan’: | ‘overcloud’}: Required. | 
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
tripleo.baremetal.v1.validate_nodesValidate nodes JSON
Workflow inputs:
| Input nodes_json: | |
|---|---|
| Required. | |
| Input {‘queue_name’: | |
| ‘tripleo’}: Required. | |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.