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.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.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.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
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.