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
-
Ensure the GitLab target IP and BuildStreaM API server are in the same subnet.
-
Verify that the
omnia_build_streamcontainer and theomnia_postgresandplaybook-watcherservices are running on the OIM node:Run on: OIM hostsystemctl status omnia_build_stream.service systemctl status omnia_postgres.service systemctl status playbook-watcher.service -
If there are failures in any of the containers, capture and verify the logs from journalctl:
Run on: OIM hostjournalctl -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
-
If you encounter the
max_clients_limit_reachederror:- Either run the pipeline from the already registered client
- Or perform the
cleanup_gitlaband reconfigure GitLab using the playbook
-
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.jsonstructure does not match the expected catalog schema
Resolution
- Ensure the JSON is aligned with the schema as shown in the reference examples available at:
- If the issue persists, check the job-specific log on the OIM at
<OMNIA_DATA_PATH>/log/build_stream/<job-id>/<job-id>.log.
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, orrepo_manager_endpoint_config.ymlconfiguration issues
Resolution
-
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_pathfield.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" } -
Verify the selected catalog and the project-scoped
repo_manager_config.ymlandrepo_manager_endpoint_config.ymlsettings. -
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
-
Ensure the catalog has the predefined functional groups. For the supported functional groups, see the BuildStreaM deployment guide.
-
If changes are required in the catalog, make the necessary modifications to the catalog.
-
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
-
Check the log path from the API response for detailed error information.
-
Ensure the functional groups listed in the PXE mapping file matches the functional groups defined in the
catalog_rhel.json. -
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
-
Initiate a restart from the parent pipeline to resolve this issue.
-
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
- Compare the catalog with a sample under
src/main/samples/from the same Omnia release. - For a new Omnia 2.3 catalog, set
schema_versionto2. - 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
- Keep
identifierand incrementversionwhen creating another revision of the same catalog family. - Use a different
identifieronly when creating a different catalog family. - 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
- Identify the skill operation and target catalog.
- Provide the package or component name, version, operating system, architecture, source, consuming role, and installation method when applicable.
- Confirm that the selected
SKILL.md, its required companion files, and the catalog are from the same Omnia checkout. - 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.enabledisfalse.- The staged
build_stream_config.ymlwas not validated.
Resolution
- Validate the staged BuildStreaM configuration with the
validatetag. - 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.ymlwas missing, malformed, failed, or reported stale packages.- The cadence catalog commit could not be pushed.
Resolution
- Review
journalctl -u playbook-watcher.servicefor the suppression, reconciliation, or Git error. - Inspect
$OMNIA_DATA_PATH/repo_manager/output/$OMNIA_PROJECT_NAME/repo_resync_status.yml. - 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
- BuildStreaM -- BuildStreaM and GitLab deployment procedures
- Execute Build Pipeline -- Build pipeline operations
- Execute Deploy Pipeline -- Deploy pipeline operations
- Automate Build and Deployment with Cadence -- Cadence configuration and unified pipeline operations
- Retry Pipelines -- Retry failed pipeline operations
- Update Catalog -- Catalog configuration
- AI-Assisted Catalog Authoring -- Catalog generation, editing, analysis, and comparison