Skip to content

Telemetry Domain Contract

Deployment module: Telemetry | CLI identifier: telemetry

Upstream domain contract

In offline mode, Telemetry consumes package content hosted by Repository Manager. It also consumes the Orchestrator inventory contract to resolve the service Kubernetes virtual IP and the Slurm node groups used by enabled collectors. These upstream values must be configured or staged explicitly; Telemetry does not automatically transfer them into the Telemetry project.

repo_url

Configured in: <OMNIA_DATA_PATH>/telemetry/input/<OMNIA_PROJECT_NAME>/telemetry_packages.yml

Required when: install_mode is offline.

repo_url is the base URL of the Repository Manager Pulp content for the target architecture, operating system, and version. Use this format:

https://<ip_or_hostname>:<port>/pulp/content/offline_repo/cluster/<arch>/<os>/<version>

For example:

install_mode: "offline"
repo_url: "https://192.0.2.10:2225/pulp/content/offline_repo/cluster/x86_64/rhel/10.0"

Telemetry combines this value with the package metadata in telemetry_packages.yml to derive the Pulp URLs for Helm chart tarballs, Git repository archives, and Python modules. The endpoint must be reachable from the hosts that download those artifacts. When install_mode is online, leave repo_url empty; Telemetry uses each package's upstream URL instead. Telemetry does not populate repo_url automatically from repo_status.yml.

orchestrator_inventory.yml

Producer location: $OMNIA_DATA_PATH/orchestrator/output/$OMNIA_PROJECT_NAME/orchestrator_inventory.yml

Structure

The inventory follows the standard Ansible inventory hierarchy. Telemetry uses kube_vip_group to resolve the service Kubernetes virtual IP and the Slurm groups to identify collector targets. Other groups can be present.

all:
  children:
    kube_vip_group:
      hosts:
        kube-vip:
          ansible_host: "192.0.2.10"
          ansible_user: "root"
    service_kube_control_plane_first_x86_64:
      hosts:
        service-kube-control-plane-1:
          ansible_host: "192.0.2.11"
          bmc_ip: "198.51.100.11"
          service_tag: "ABC1234"
          group_name: "grp1"
    slurm_control_node_rhel_10_0_x86_64:
      hosts:
        slurm-control-1:
          ansible_host: "192.0.2.20"
          bmc_ip: "198.51.100.20"
          service_tag: "DEF5678"
          group_name: "grp2"
    slurm_node_rhel_10_0_x86_64:
      hosts:
        slurm-node-1:
          ansible_host: "192.0.2.21"
          bmc_ip: "198.51.100.21"
          service_tag: "GHI9012"
          group_name: "grp2"

bmc_pxe_mapping_file.csv

Producer location: $OMNIA_DATA_PATH/discovery/output/$OMNIA_PROJECT_NAME/bmc_pxe_mapping_file.csv

Used when: Planning worker-node VLAN interfaces and routes for iDRAC Telemetry in a multi-subnet deployment.

The file is a symbolic link to the latest timestamped mapping generated by the Discovery domain. Use its BMC_IP column to identify every BMC subnet that must be reachable from the Kubernetes workers that can host Telemetry pods. This file is a network-planning input; the iDRAC runtime inventory remains the CSV configured by idrac_telemetry_configurations.bmc_group_data_path.

bmc_group_data.csv

Producer location: $OMNIA_DATA_PATH/orchestrator/output/$OMNIA_PROJECT_NAME/bmc_group_data.csv

Required when: iDRAC telemetry is enabled.

Structure

The first row defines the required columns. Each subsequent row maps one BMC address to its functional group and, when applicable, its parent service tag.

BMC_IP,GROUP_NAME,PARENT
198.51.100.20,grp2,
198.51.100.21,grp2,DEF5678

Reference these generated files through cluster_inventory and, when iDRAC telemetry is enabled, idrac_telemetry_configurations.bmc_group_data_path in telemetry_config.yml. The generated Orchestrator output is authoritative; review it before using it as Telemetry input.

Lifecycle selection contract

Operation Selection contract
deploy_sinks Use sinks to select kafka, victoria_metrics, victoria_logs, or a comma-separated combination. Omitting sinks selects all three. Sources are not deployed, and unselected sinks remain unchanged.
cleanup_sinks Uses the same sink selection. Runtime dependency checks prevent removal of a requested sink while a running source depends on it. Omitting sinks selects all three.
cleanup_<source> Removes only the selected source and its source-owned persistent volumes. Other sources and all sinks remain unchanged.
cleanup Drains all sources and then removes every source and sink unconditionally. Source-owned volumes are deleted; sink volumes are preserved by default.

Source enablement is controlled by metrics_enabled and logs_enabled in telemetry_config.yml. Rerunning deploy after disabling a source stops its pods while retaining its services and ConfigMaps for later re-enablement.

Output contract

Deployment and cleanup status

Telemetry writes one authoritative status file:

<OMNIA_DATA_PATH>/telemetry/output/<OMNIA_PROJECT_NAME>/telemetry_status.yml

Telemetry data is stored under <OMNIA_DATA_PATH>/telemetry, and OMNIA_PROJECT_NAME defaults to project_default.

Shared structure

The following fields are present for both deployment and cleanup results:

Field Type Purpose
domain String Always telemetry.
type String Operation that produced the file: deploy or cleanup.
project_name String Active Omnia project.
overall_status String Aggregate result: success, failed, or partial.
generated_at String ISO 8601 generation timestamp.
namespace String Kubernetes namespace, normally telemetry.
kube_vip String Kubernetes control-plane VIP used by the workflow.
sinks Object Kafka, VictoriaMetrics, and VictoriaLogs results.
sources Object Per-source metrics and, where supported, logs results.
bridges Object Vector-LDMS and Vector-OME results.

Deployment structure

A file with type: deploy also contains the following fields:

Field Type Purpose
packages.install_mode String Package installation mode: offline or online.
packages.repo_url String Repository URL used by the deployment.

Deployment result values under sinks, sources, and bridges are deployed, failed, or skipped.

The full deployment derives its required sinks from the enabled source and bridge configuration. A deploy_sinks run deploys only the selected sinks and defaults to Kafka, VictoriaMetrics, and VictoriaLogs when no sinks value is supplied. Status values report the state evaluated by the deployment workflow; they do not prove end-to-end ingestion. Verify actual records in the selected sink.

Cleanup structure

Cleanup rewrites the same file with type: cleanup. The deployment-only packages block is replaced by the following cleanup fields:

Field Type Purpose
volumes.delete_requested Boolean Whether cleanup was requested to delete sink persistent volumes.
volumes.status String Aggregate volume result: cleaned, preserved, failed, or skipped.
volumes.components Object Volume result for every source and sink component. Components without persistent storage are skipped.
cleanup_components Object Cleanup result for each source, the source-drain phase, and each sink.
cleanup_unreachable_nodes.ldms List LDMS nodes that could not be reached during cleanup. These nodes are skipped without stopping cleanup of reachable resources.

Cleanup result values under sinks, sources, bridges, and cleanup_components are cleaned, failed, or skipped. A source channel is skipped when that capability was not enabled, even if another channel or the source component itself was cleaned.

The Delete_sinks_volume Boolean extra variable controls whether sink persistent volume claims for Kafka, VictoriaMetrics, and VictoriaLogs are deleted or preserved. Source cleanup always deletes source-owned persistent volumes. For selective sink cleanup, runtime dependency checks prevent removal of a requested sink while a running source depends on it.

Set cleanup_credentials=false to preserve credentials and cleanup_logs=false to preserve logs. When Delete_sinks_volume=true, Telemetry always deletes credentials, inputs, outputs and logs regardless of those preservation values. The cleanup workflow preserves telemetry_status.yml as the last-known result when its output directory is retained.

Cleanup example

The following example shows a successful cleanup in which sink-volume deletion was not requested:

domain: "telemetry"
type: "cleanup"
project_name: "project_default"
overall_status: "success"
generated_at: "2026-09-11T09:45:33+00:00"
namespace: "telemetry"
kube_vip: "192.168.13.150"

volumes:
  delete_requested: false
  status: "preserved"
  components:
    idrac: "cleaned"
    ldms: "cleaned"
    ome: "skipped"
    powerscale: "cleaned"
    ufm: "skipped"
    vast: "skipped"
    kafka: "preserved"
    victoria_metrics: "preserved"
    victoria_logs: "preserved"

sinks:
  kafka: "cleaned"
  victoria_metrics: "cleaned"
  victoria_logs: "cleaned"

sources:
  idrac:
    metrics: "cleaned"
  ldms:
    metrics: "skipped"
  powerscale:
    metrics: "cleaned"
    logs: "cleaned"
  ufm:
    metrics: "cleaned"
    logs: "cleaned"
  vast:
    metrics: "skipped"
    logs: "skipped"
  ome:
    metrics: "cleaned"
    logs: "cleaned"

bridges:
  vector_ldms: "cleaned"
  vector_ome: "cleaned"

cleanup_components:
  idrac: "cleaned"
  ldms: "cleaned"
  ome: "cleaned"
  powerscale: "cleaned"
  ufm: "cleaned"
  vast: "cleaned"
  source_drain: "cleaned"
  kafka: "cleaned"
  victoria_metrics: "cleaned"
  victoria_logs: "cleaned"

cleanup_unreachable_nodes:
  ldms: []

Connection exports

Tag Output
external_kafka <OMNIA_DATA_PATH>/telemetry/output/<project>/external_kafka/external_kafka_connect_details.yml, ca.crt, user.crt, and user.key.
external_victoria <OMNIA_DATA_PATH>/telemetry/output/<project>/external_victoria/external_victoria_connect_details.yml and ca.crt when TLS is enabled. The YAML contains available VictoriaMetrics, VictoriaLogs, and VLAgent endpoints.

These utilities fail when their required deployment or endpoint state is not available instead of presenting an incomplete export as valid.

The lifecycle includes setup, credential collection, preparation/validation, precheck, deployment, cleanup, and the two external connection exports. credentials collects only credentials required by enabled sources. prepare, validate, and validation run input validation and credential collection. The untagged flow runs setup, validation, and deployment; it does not select the opt-in credentials play.