Baremetal Workbook

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 timeout:Required.
Input queue_name:
 Required.
tripleo.baremetal.v1.apply_bios_settings

Apply BIOS settings for given nodes

Workflow inputs:

Input node_uuids:
 Required.
Input settings:Required.
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.apply_bios_settings_on_manageable_nodes

Apply BIOS settings on manageable nodes

Workflow inputs:

Input settings:Required.
Input concurrency:
 Default: 20
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.cellv2_discovery

Run cell_v2 host discovery

Workflow inputs:

Input node_uuids:
 Required.
tripleo.baremetal.v1.clean_manageable_nodes

Clean all nodes in a ‘manageable’ state.

Workflow inputs:

Input concurrency:
 Default: 20
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.clean_nodes

Wipe partition tables on all disks of given nodes

Workflow inputs:

Input node_uuids:
 Required.
Input concurrency:
 Default: 20
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.discover_and_enroll_nodes

Run nodes discovery over the given IP range and enroll nodes

Workflow inputs:

Input ip_addresses:
 Required.
Input credentials:
 Required.
Input ports:Default: [623]
Input kernel_name:
 Default: None
Input ramdisk_name:
 Default: None
Input instance_boot_option:
 Default: local
Input initial_state:
 Default: manageable
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.discover_nodes

Run nodes discovery over the given IP range

Workflow inputs:

Input ip_addresses:
 Required.
Input credentials:
 Required.
Input ports:Default: [623]
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.introspect

Take 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:
 Default: False
input queue_name:
 Default: tripleo
input concurrency:
 Default: 20
input max_retry_attempts:
 Default: 2
input node_timeout:
 Default: 1200
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_hint

Find nodes matching a hint regex

Workflow inputs:

Input hint_regex:
 Required.
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.reset_bios_settings

Reset BIOS settings for given nodes to factory default

Workflow inputs:

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

Reset BIOS settings on manageable nodes to factory default

Workflow inputs:

Input concurrency:
 Default: 20
Input queue_name:
 Default: tripleo
tripleo.baremetal.v1.set_node_state

Workflow inputs:

Input node_uuid:
 Required.
Input state_action:
 Required.
Input target_state:
 Required.
Input error_states:
 Default: [‘error’, ‘adopt failed’, ‘clean failed’, ‘deploy failed’, ‘inspect failed’, ‘rescue failed’]
tripleo.baremetal.v1.set_power_state

Workflow inputs:

Input node_uuid:
 Required.
Input state_action:
 Required.
Input target_state:
 Required.
Input error_state:
 Default: error
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
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.