Skip to content

BuildStreaM Issues

Issues related to BuildStreaM pipeline execution, GitLab integration, catalog validation, and image deployment.

Health Check Stage Failing

Symptom

Health Check stage is failing in the BuildStreaM pipeline.

Cause
  • GitLab target IP and host IP of the BuildStreaM API server are not reachable from each other
  • BuildStreaM containers are not running properly
Resolution
  1. Ensure the GitLab target IP and BuildStreaM API server are in the same subnet.

  2. Verify that the omnia_build_stream container and the omnia_postgres and playbook-watcher services are running on the OIM node:

    Run on: OIM host
    systemctl status omnia_build_stream.service
    systemctl status omnia_postgres.service
    systemctl status playbook-watcher.service
    
  3. If there are failures in any of the containers, capture and verify the logs from journalctl:

    Run on: OIM host
    journalctl -u omnia_build_stream --no-pager
    journalctl -u omnia_postgres --no-pager
    

API Registration Stage Failing

Symptom

API-Registration stage is failing in the BuildStreaM pipeline.

Cause
  • Maximum client limit reached for BuildStreaM API server registration
  • Other API registration errors

Note

Currently, only one client can be registered with the BuildStreaM API server.

Resolution
  1. If you encounter the max_clients_limit_reached error:

    • Either run the pipeline from the already registered client
    • Or perform the cleanup_gitlab and reconfigure GitLab using the playbook
  2. For other non-successful API responses, check the authentication log on the OIM at <OMNIA_DATA_PATH>/log/build_stream/events.log.

OMNIA_DATA_PATH is configurable and defaults to /opt/omnia. With the default value, the log is located at /opt/omnia/log/build_stream/events.log.

Token Generation Stage Failing

Symptom

Token-Generation stage is failing in the BuildStreaM pipeline.

Cause
  • Token generation failed due to authentication issues
  • Token generation failed due to network issues
Resolution

On the OIM, check the authentication log at <OMNIA_DATA_PATH>/log/build_stream/events.log.

Parse Catalog Stage Failing

Symptom

Parse-Catalog stage is failing in the BuildStreaM pipeline.

Cause
  • Invalid JSON schema format
  • The catalog_rhel.json structure does not match the expected catalog schema
Resolution

Create Local Repo Stage Failing

Symptom

Create-Local-Repo stage is failing in the BuildStreaM pipeline.

Cause
  • Playbook execution failed
  • Catalog, repo_manager_config.yml, or repo_manager_endpoint_config.yml configuration issues
Resolution
  1. If there are issues with playbook execution, the log path is available from the API response. Check the logs at the path specified in the log_file_path field.

    Example API response format:

    Example API response format
    {
        "stage_name": "create-local-repository",
        "stage_state": "FAILED",
        "started_at": "2026-03-11T10:07:58.906785+00:00Z",
        "ended_at": "2026-03-11T10:49:20.639894+00:00Z",
        "error_code": "PLAYBOOK_EXECUTION_FAILED",
        "error_summary": "Playbook exited with code 2",
        "log_file_path": "/var/log/omnia/repo_manager/<job-id>/repo_manager.yml_20260311_171630.log"
    }
    
  2. Verify the selected catalog and the project-scoped repo_manager_config.yml and repo_manager_endpoint_config.yml settings.

  3. After fixing the configuration issues, re-run the pipeline.

Build Images Stage Failing

Symptom

Build Images stage is failing in the BuildStreaM pipeline.

Cause
  • Playbook execution failed
  • Catalog does not have predefined functional groups
Resolution
  1. Ensure the catalog has the predefined functional groups. For the supported functional groups, see the BuildStreaM deployment guide.

  2. If changes are required in the catalog, make the necessary modifications to the catalog.

  3. After fixing catalog issues, re-run the pipeline.

Deploy Images Stage Failing

Symptom

Deploy Images stage is failing in the BuildStreaM pipeline.

Cause
  • Playbook execution failed
  • The functional groups listed in the PXE mapping file do not adhere to functional groups in the catalog_rhel.json
Resolution
  1. Check the log path from the API response for detailed error information.

  2. Ensure the functional groups listed in the PXE mapping file matches the functional groups defined in the catalog_rhel.json.

  3. After making necessary modifications to the PXE mapping, re-run the pipeline manually.

Retry Button Not Displayed

Symptom

The Retry button is not displayed for failed pipeline stages, including deploy, restart, and validate operations.

Cause

The Retry button may not appear in certain failed pipeline stages due to GitLab issues.

Resolution
  1. Initiate a restart from the parent pipeline to resolve this issue.

  2. This action restarts the entire pipeline from the beginning, allowing all stages to execute again.

Parse Catalog Reports an Unsupported Schema Version

Symptom

The Parse Catalog stage fails with an unsupported catalog schema version.

Cause

The value of schema_version is not supported by the installed BuildStreaM release.

Resolution
  1. Compare the catalog with a sample under src/main/samples/ from the same Omnia release.
  2. For a new Omnia 2.3 catalog, set schema_version to 2.
  3. Validate the complete catalog and commit a new revision.

Parse Catalog Reports a Duplicate Image Group

Symptom

The Parse Catalog stage fails with a duplicate image-group error.

Cause

The composite catalog revision <identifier>-v<version> has already been used by another image group.

Resolution
  1. Keep identifier and increment version when creating another revision of the same catalog family.
  2. Use a different identifier only when creating a different catalog family.
  3. Commit the catalog after confirming that the resulting composite value is unique.

Catalog-Authoring Skill Cannot Resolve Package Metadata

Symptom

A catalog-authoring skill cannot complete the requested operation because required package or catalog information is unavailable.

Cause

The request does not provide all required inputs, or the assistant cannot access the selected skill, its companion files, or the target catalog.

Resolution
  1. Identify the skill operation and target catalog.
  2. Provide the package or component name, version, operating system, architecture, source, consuming role, and installation method when applicable.
  3. Confirm that the selected SKILL.md, its required companion files, and the catalog are from the same Omnia checkout.
  4. Retry the request. If required information remains unavailable, keep it unresolved instead of supplying an assumed value.

Cadence Timer Does Not Start

Symptom

playbook-watcher.service is active, but its journal reports that cadence polling is disabled or does not report a started cadence timer.

Cause
  • cadence.enabled is false.
  • The staged build_stream_config.yml was not validated.
Resolution
  1. Validate the staged BuildStreaM configuration with the validate tag.
  2. Allow the complete configured interval to elapse; the first cycle is not immediate.

Cadence Cycle Does Not Start a Pipeline

Symptom

The cadence interval elapsed, but no unified pipeline appears in GitLab.

Cause
  • Another pipeline was running, so the cycle was suppressed.
  • Repository reconciliation did not complete successfully.
  • repo_resync_status.yml was missing, malformed, failed, or reported stale packages.
  • The cadence catalog commit could not be pushed.
Resolution
  1. Review journalctl -u playbook-watcher.service for the suppression, reconciliation, or Git error.
  2. Inspect $OMNIA_DATA_PATH/repo_manager/output/$OMNIA_PROJECT_NAME/repo_resync_status.yml.
  3. Require successful aggregate, orphan-cleanup, synchronization, and cleanup states; zero stale packages; and valid package counters.

Cadence Builds Using Cached Builds

Symptom

Cadence builds are using cached builds instead of performing full builds.

Cause

The force_rebuild parameter in image_build_config.yml within GitLab is not set to True.

Resolution

The cadence pipeline is designed to execute full builds rather than differential builds. Verify that the force_rebuild parameter in image_build_config.yml within GitLab is set to True.

aarch64 Build Node Resource Conflicts

Symptom

Cadence pipeline encounters resource conflicts when building catalogs containing aarch64 functional groups.

Cause

The same node is used for both building aarch64 images and provisioning, or a dedicated aarch64 node is not available in diskful state with the appropriate OS.

Resolution

For catalogs containing aarch64 functional groups, a dedicated aarch64 node must be provisioned for building aarch64 images. If the same node is used for both image building and provisioning, the cadence pipeline will encounter resource conflicts. When a dedicated node is not available, ensure that before the periodic cadence run is triggered, an aarch64 node is available in diskful state with the appropriate OS for building aarch64 images in the subsequent pipeline.

Info