Skip to content

Orchestrator Domain Contract

Deployment module: Orchestrator | CLI identifier: orchestrator

Phase input requirements

Orchestrator phase tags select only that phase; they do not run earlier prerequisite phases automatically.

Phase Catalog repo_status.yml build_status.yml Prior state
validate No No No Staged Orchestrator YAML inputs
precheck Yes Successful Successful Current PXE mapping and reachable image artifacts
credentials Yes No No Applicable credential values
prepare Yes No No Current PXE mapping
deploy Yes No No Completed prepare, including stored credentials
provision Yes Successful Successful Successful precheck and prepare; healthy deployed services
execute Yes Successful Successful Same as provision; BMC access when PXE is enabled
validate-deployment Yes No No Complete valid project inputs, generated functional-group state, $OMNIA_DATA_PATH/openchami/configs_vars.yaml, and a healthy deployed OpenCHAMI instance capable of issuing a fresh access token
pxeboot No Successful No Completed provisioning, stored BMC credentials, and reachable mapped iDRACs

Cleanup and credential cleanup do not require upstream status files.

The standalone validate-deployment preamble reloads persisted cluster state, obtains a fresh OpenCHAMI token, and can ensure the cluster-hostname entry in /etc/hosts. It runs the common input validator but does not require the Orchestrator credential files, repo_status.yml, or build_status.yml. Treat it as a readiness operation, not as a purely read-only inspection.

Upstream domain contracts

repo_status.yml

Producer: Repository Manager.

Location: $OMNIA_DATA_PATH/repo_manager/output/$OMNIA_PROJECT_NAME/repo_status.yml

Required provisioning flows validate overall_status: success, operating system metadata, repository mappings, and the Pulp certificate path. The certificate file must exist.

Structure

Repository and artifact names vary according to the selected catalog.

overall_status: "success"
cluster_os_type: "rhel"
repo_config: "partial"

execution_contexts:
  - context_id: "rhel_10.0"
    os_type: "rhel"
    os_version: "10.0"
    architectures:
      - "x86_64"
      - "aarch64"

overall_status_by_version:
  "10.0": "success"

repo_manager:
  port: 2225
  certificates:
    server_crt: "$OMNIA_DATA_PATH/repo_manager/pulp_config/settings/certs/pulp_webserver.crt"
    certs_dir: "$OMNIA_DATA_PATH/repo_manager/pulp_config/settings/certs"

repositories:
  "10.0":
    x86_64:
      baseos:
        url: "https://192.0.2.10:2225/pulp/content/.../baseos/"
        priority: 100
      appstream:
        url: "https://192.0.2.10:2225/pulp/content/.../appstream/"
    aarch64: {}

registries:
  private_registry:
    base_url: "https://registry.example.com"
    port: 443
    host: "registry.example.com:443"
    tls:
      insecure: false

file_repos:
  x86_64:
    tarball:
      example_tarball: "https://192.0.2.10:2225/pulp/content/.../tarball/"
    pip_module:
      example_module: "https://192.0.2.10:2225/pypi/.../pip_module/"
  aarch64: {}

tarball_base_url: "https://192.0.2.10:2225/pulp/content/.../tarball/"
pip_base_url: "https://192.0.2.10:2225/pypi/.../pip_module/"
offline_tarball_path: "https://192.0.2.10:2225/pulp/content/.../tarball/"
offline_pip_module_path: "https://192.0.2.10:2225/pypi/.../pip_module/"

build_status.yml

Producer: Image Build Manager.

Location: $OMNIA_DATA_PATH/image_build_manager/output/$OMNIA_PROJECT_NAME/build_status.yml

Precheck, provisioning, and execute flows require overall_status: success, a supported image_build_type, and a usable S3 endpoint. Functional-group image records supply the boot artifacts. A standalone pxeboot run does not read this file.

Structure

overall_status: "success"
image_build_type: "image-builder"

s3_configurations:
  endpoint_url: "http://192.0.2.10:9000"
  bucket: "boot-images"

functional_group_images:
  - x86_64:
      - functional_group: "slurm_control_node_rhel_10_0_x86_64"
        kernel: "boot-images/efi-images/slurm_control_node_rhel_10_0_x86_64/example-imgbld/vmlinuz-<kernel-version>"
        initrd: "boot-images/efi-images/slurm_control_node_rhel_10_0_x86_64/example-imgbld/initramfs-<kernel-version>.img"
        image: "boot-images/slurm_control_node_rhel_10_0_x86_64/example-imgbld/<rootfs-filename>"
  - aarch64:
      - functional_group: "slurm_node_rhel_10_0_aarch64"
        kernel: "boot-images/efi-images/slurm_node_rhel_10_0_aarch64/example-imgbld/vmlinuz-<kernel-version>"
        initrd: "boot-images/efi-images/slurm_node_rhel_10_0_aarch64/example-imgbld/initramfs-<kernel-version>.img"
        image: "boot-images/slurm_node_rhel_10_0_aarch64/example-imgbld/<rootfs-filename>"

pxe_mapping_file.csv

Producer: Discovery or an administrator.

Discovery output: $OMNIA_DATA_PATH/discovery/output/$OMNIA_PROJECT_NAME/bmc_pxe_mapping_file.csv

Orchestrator input: $OMNIA_DATA_PATH/orchestrator/input/$OMNIA_PROJECT_NAME/pxe_mapping_file.csv

Discovery output must be reviewed and copied to the Orchestrator input path; the handoff is not automatic.

Structure

The first row must contain the following column names in this order. Each subsequent row describes one node.

FUNCTIONAL_GROUP_NAME,GROUP_NAME,SERVICE_TAG,PARENT_SERVICE_TAG,HOSTNAME,ADMIN_MAC,ADMIN_IP,BMC_MAC,BMC_IP,IB_NIC_NAME,IB_IP
slurm_node_rhel_10_0_x86_64,grp1,ABC1234,PARENT1,slurm-node1,02:00:00:00:00:11,192.0.2.11,02:00:00:00:00:12,198.51.100.11,InfiniBand.Slot.7-1,203.0.113.11

Custom Repository Manager and Image Build Manager output paths can be set in orchestrator_config.yml. Discovery output must be reviewed and copied to $OMNIA_DATA_PATH/orchestrator/input/$OMNIA_PROJECT_NAME/pxe_mapping_file.csv. Generated producer outputs remain authoritative.

FUNCTIONAL_GROUP_NAME, GROUP_NAME, HOSTNAME, ADMIN_MAC, and ADMIN_IP are required for each node. SERVICE_TAG is optional, but a nonempty value must be alphanumeric and unique. Physical PXE operations also use the BMC fields. IB_NIC_NAME and IB_IP are supplied together for nodes that use InfiniBand. Keep all 11 columns in the exact order shown, including columns whose values are optional.

Output contract

Customer-readable project outputs are written under:

$OMNIA_DATA_PATH/orchestrator/output/$OMNIA_PROJECT_NAME/

provisioning_report.yml, orchestrator_status.yml, pxeboot_status.yml, and failed_nodes.json use schema version 1.0.

Output Purpose
orchestrator_status.yml Stable aggregate containing the provisioning and PXE phase states.
provisioning_report.yml Expected and registered node counts, missing nodes, and missing boot or metadata configurations.
orchestrator_inventory.yml Generated Ansible inventory for mapped nodes. kube_vip_group is included only when a mapped functional group starts with service_kube_ and a Kubernetes VIP is available.
bmc_group_data.csv BMC inventory generated for downstream iDRAC telemetry. It includes an OIM row only when Networks.admin_network.primary_oim_bmc_ip is set.
failed_nodes.json Per-node failures produced by the iDRAC PXE-boot and registration flow.
pxeboot_status.yml PXE initiation and optional node-verification results for every selected node.
orchestrator_state.yml Persisted feature flags used by subsequent and standalone flows.

Orchestrator also writes the shared generated file:

$OMNIA_DATA_PATH/orchestrator/output/$OMNIA_PROJECT_NAME/.data/functional_groups_config.yml

This file is derived from pxe_mapping_file.csv and is consumed by inventory generation, OpenCHAMI configuration, Slurm and Kubernetes provisioning, and validation roles.

Its generated structure is:

groups:
  grp0:
    parent: ""
  grp1:
    parent: ""

functional_groups:
  - name: "slurm_control_node_rhel_10_0_x86_64"
    cluster_name: "slurm_cluster"
    group:
      - grp0
  - name: "slurm_node_rhel_10_0_aarch64"
    cluster_name: "slurm_cluster"
    group:
      - grp1

groups records each PXE GROUP_NAME and any optional parent metadata carried from the mapping. Orchestrator input validation does not require a parent value or verify a relationship between PARENT_SERVICE_TAG and GROUP_NAME. functional_groups[].group contains group names, not per-node inventory records. Node records remain in the PXE mapping and generated orchestrator_inventory.yml.

orchestrator_status.yml

orchestrator_status.yml uses the same schema for the provisioning and PXE phases. After provisioning, last_completed_phase is provisioning, and phases.pxeboot.status is not_run. After PXE boot, last_completed_phase is pxeboot; phases.provisioning retains the available provisioning result only when that report's inventory_source exactly matches the active PXE inventory. A custom retry or subset inventory therefore records the provisioning phase as not_run and per-node provisioning state as unknown. phases.pxeboot records the PXE result. The top-level node and count fields describe the latest completed phase.

After PXE boot, overall_status is failed when the PXE phase fails or the available provisioning report contains missing nodes. The artifacts section identifies provisioning_report.yml, pxeboot_status.yml, and failed_nodes.json.

Provisioning overall_status is determined by missing SMD nodes. Missing boot configurations, metadata, admin interfaces, or hostname assignments remain visible in their report arrays but do not independently change that status.

When node-registration verification is enabled, Orchestrator connects to each node's admin IP through passwordless root SSH. It derives the boot time from /proc/uptime, requires it to be newer than the current PXE operation, and requires cloud-init status --long to report done. Metadata Service phone-home callbacks are not used. Nodes that fail the iDRAC restart phase are retained in failed_nodes.json and excluded from registration polling.

OpenCHAMI runtime artifacts

The active category-based provisioning workflow creates internal files under:

$OMNIA_DATA_PATH/openchami/workdir/nodes/
Runtime artifact Purpose
nodes_<category>.yaml Supplies the category-specific node records registered in SMD. Categories are kubernetes, slurm, os, and custom.
hostname_<category>.yaml Supplies category-specific xname-to-hostname assignments to metadata-service.
groups-<functional_group>.yml Supplies functional-group membership registered in SMD.
groups-common-<name>.yml Supplies common metadata-service groups such as SSH, chrony, and node registration.

These files are internal working data, not customer-readable project outputs. The generic nodes.yaml, groups.yaml, and hostname.yaml names belong to the older non-category workflow and are not the primary artifacts generated by the current provisioning playbooks.

Service outputs

Orchestrator also creates runtime state through OpenCHAMI and the selected cluster roles. These include SMD node and group records, boot-service configurations, metadata-service cloud-init resources, OpenCHAMI services, and the selected Slurm or Kubernetes deployment. These service resources are not represented by generated slurm_config.yml or kubernetes_config.yml files in the project output directory.

Lifecycle contract

Cleanup

The top-level cleanup tag removes all enabled components and Orchestrator credentials by default. Pass -e cleanup_credentials=false when running the top-level cleanup tag to preserve orchestrator_credentials.yml and .orchestrator_credentials_key. The cleanup_credentials tag limits the operation to credential artifacts, while cleanup,cleanup_credentials explicitly removes both the enabled components and credentials; the explicit credential tag takes precedence over the preservation variable.

Component tags are not accepted by the top-level Orchestrator playbook. Run playbooks/cleanup/cleanup_orchestrator.yml directly for openchami, openldap, slurm, k8s, storage_mounts, or artifacts. Slurm and Kubernetes cleanup select storage unmounting as a dependency. When their shared data is reachable through a mounted share or a local NFS export, the workflow can permanently delete managed directories. DRY_RUN=true uses Ansible check mode. Destructive execution requires the exact interactive response yes, unless SKIP_APPROVAL=true explicitly enables non-interactive cleanup. OpenCHAMI cleanup uninstalls the openchami and ochami RPMs and permanently removes the boot-service-data, metadata-service-data, and postgres-data Podman volumes.