Local Repository and Pulp Issues¶
Issues related to Repository Manager, Pulp service operations, and repository synchronization.
Package Download Failure Due to Slow Storage¶
Symptom
The Repository Manager download phase reports a failed package, or a
package reports success but is unavailable from its Pulp distribution.
Cause
Slow or full storage can cause a Pulp task or package download to time out. An unreachable source, invalid catalog entry, or registry authentication failure can produce the same symptom.
Resolution
- Check free space and storage latency for the configured Pulp paths.
-
Review
/var/log/omnia/repo_manager/repo_manager.logand the current runtime status files:$OMNIA_DATA_PATH/repo_manager/log/<os>/<version>/<architecture>/groups_status.csv $OMNIA_DATA_PATH/repo_manager/log/<os>/<version>/<architecture>/<group>/status.csv $OMNIA_DATA_PATH/repo_manager/log/<os>/catalog_execution_summary.yml
-
Correct the source or storage problem, then rerun:
=== "Using omnia.sh (recommended)" ```bash title="Run on: OIM host" cd <OMNIA_SOURCE_PATH>/src/main ./omnia.sh --run repo_manager --tags download ./omnia.sh --run repo_manager --tags status ``` === "Using ansible-playbook" ```bash title="Run on: OIM host" source /opt/omnia/activate-omnia.sh cd <OMNIA_SOURCE_PATH>/src/repo_manager/playbooks ansible-playbook repo_manager.yml --tags download ansible-playbook repo_manager.yml --tags status ```Repository Manager uses its runtime status to resume idempotently. Do not delete status files or edit an upgrade manifest to retry a download.
Playbook Fails When Re-Run Multiple Times¶
Symptom
A Repository Manager download fails when another synchronization task is already active.
Cause
Concurrent runs can contend for the same Pulp resources. An interrupted run can also leave an active Pulp task that has not finished cancelling.
Resolution
Do not start concurrent Repository Manager runs. Inspect the active Pulp
tasks, allow the current task to finish, and rerun the download phase.
Repository Manager detects and recovers an active task left by an
interrupted earlier run before deciding whether to synchronize again.
Multi-Version Repository Context Is Missing or Incomplete¶
Symptom
One of the following occurs:
- Repository Manager reports a missing mapping or subscription repository for a RHEL 10.x minor version selected by the catalog.
repo_status.ymlreports one version assuccessand another asfailedorpending.- Image Build Manager reports that no repositories are available for a required OS version and architecture.
Cause
The selected catalog references a version, architecture, or repository that
is missing from repo_manager_config.yml, is unavailable through the RHEL
subscription, or has an unreachable explicit URL. Repository Manager
processes versions numerically and stops after the first failed context, so
later versions remain pending. An output file generated for an earlier
catalog selection can also contain stale context information.
Resolution
- Compare every catalog RPM source with the matching
repositories.<version>.<architecture>.<repository>entry. - If an explicit
urlis configured, verify that URL first; it takes precedence over subscription discovery. - If the entry uses subscription content, confirm the repository-level
standardvalue or the globalstandardvalue selects an available channel for that RHEL version. - Run the Repository Manager precheck, download, and status phases again.
- Confirm
overall_statusand every value underoverall_status_by_versionaresuccess, and verify that each requiredrepositories.<version>.<architecture>map contains usable URLs before starting Image Build Manager.
Do not use a partial multi-version result for image building. When the
catalog selection changes, regenerate repo_status.yml so versions and
architectures that are no longer selected are removed.
Pulp Reset Password Failed¶
Symptom
Pulp credential setup fails during the Repository Manager prepare phase.
Cause
- NFS Storage Export Configuration (PowerScale): Missing or incorrect settings for
nfsv4-no-names,nfsv4-no-domain,nfsv4-no-domain-uids, andnfsv4-allow-numeric-ids. - Inconsistent UID and GID mappings between NFS server and client.
- Missing
no_root_squashoption in NFS export configuration. - NFS server connectivity issues or firewall blocking ports 2049, 111, and 20048.
Resolution
Verify the NFS export settings, then rerun
./omnia.sh --run repo_manager --tags prepare from src/main.
For PowerScale-specific configuration details, see the PowerScale configuration on Deploy PowerScale CSI page.
EPEL Repository Unavailable/Unstable/Too Slow¶
Symptom
The Repository Manager download phase fails while synchronizing EPEL
metadata or downloading and validating an EPEL package.
- Pulp sync stage: The EPEL URL reachability check fails or the Pulp remote sync to
x86_64_rhel_10.0_epel(oraarch64_rhel_10.0_epel) times out. - RPM download/validation stage: Individual EPEL-dependent packages (
gedit,fping,clustershell,nss-pam-ldapd,apptainer) fail duringdnf downloadordnf infovalidation.
Cause
The EPEL repository is unavailable, unreachable through the configured proxy or firewall, or contains stale metadata. Additional causes include:
- Pulp container is not running (verify with
podman ps | grep pulp). - Pulp sync timeout for large EPEL repository (syncs can take 10–20 minutes, especially with
pulp_concurrency: 1on NFS storage). - The EPEL GPG key URL (
https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-10) configured inrepo_manager_config.ymlunderrepositories.<version>.<arch>.epel.gpgkeyis unreachable.
Resolution
-
Verify connectivity to the EPEL repository and GPG key:
Run on: OIM hostcurl -I --connect-timeout 10 https://dl.fedoraproject.org/pub/epel/10/Everything/x86_64/ curl -I --connect-timeout 10 https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-10 -
Verify the Pulp container is running and the EPEL repository sync status:
Run on: OIM hostpodman ps | grep pulp pulp rpm repository show --name x86_64_rhel_10.0_epel pulp rpm remote show --name x86_64_rhel_10.0_epel -
Identify the failed EPEL package in the Omnia logs. The Ansible log is at
/var/log/omnia/repo_manager/repo_manager.log. Runtime status files are under$OMNIA_DATA_PATH/repo_manager/log/<os>/<version>/<architecture>/(default/opt/omnia/repo_manager/log/):Run on: OIM hostgrep -i "epel" /var/log/omnia/repo_manager/repo_manager.log grep -iE "epel|failed|timeout|error" /var/log/omnia/repo_manager/repo_manager.log cat /opt/omnia/repo_manager/log/rhel/10.0/x86_64/groups_status.csv find /opt/omnia/repo_manager/log/rhel/10.0/x86_64 -name status.csv -print -
Apply the appropriate recovery:
- If EPEL is temporarily unavailable, retry after service recovery by
rerunning the Repository Manager
downloadandstatusphases. -
To force re-sync of only the EPEL repository without resyncing all repos:
Run on: OIM hostcd <OMNIA_SOURCE_PATH>/src/main ./omnia.sh --run repo_manager --tags download \ -e "resync_repos=x86_64_rhel_10.0_epel"Run on: OIM hostsource /opt/omnia/activate-omnia.sh cd <OMNIA_SOURCE_PATH>/src/repo_manager/playbooks ansible-playbook repo_manager.yml --tags download \ -e "resync_repos=x86_64_rhel_10.0_epel" -
If the EPEL repository is corrupted in Pulp, clean it up and rerun:
Run on: OIM hostcd <OMNIA_SOURCE_PATH>/src/main ./omnia.sh --run repo_manager --tags cleanup_repos \ -e "cleanup_repos=x86_64_rhel_10.0_epel,aarch64_rhel_10.0_epel"Run on: OIM hostsource /opt/omnia/activate-omnia.sh cd <OMNIA_SOURCE_PATH>/src/repo_manager/playbooks ansible-playbook repo_manager.yml --tags cleanup_repos \ -e "cleanup_repos=x86_64_rhel_10.0_epel,aarch64_rhel_10.0_epel"
- If EPEL is temporarily unavailable, retry after service recovery by
rerunning the Repository Manager
-
If the default EPEL mirror (
dl.fedoraproject.org) is slow or unreliable, switch to a faster mirror:a. Find available EPEL mirrors using the Fedora Mirror Manager:
For x86_64:
Run on: OIM hostcurl -sL "https://mirrors.fedoraproject.org/mirrorlist?repo=epel-z-10.0&arch=x86_64" | grep -v "^#"For aarch64:
Run on: OIM hostcurl -sL "https://mirrors.fedoraproject.org/mirrorlist?repo=epel-z-10.0&arch=aarch64" | grep -v "^#"Note
The mirror list URL uses
epel-z-<major>.<minor>format for point releases (e.g.,epel-z-10.0for RHEL 10.0,epel-z-10.1for RHEL 10.1). Usingepel-10without thezprefix returns mirrors for the latest point release, which may not have packages built for your OS version.b. Test mirror download speed by downloading a sample package from each candidate mirror. Not all mirrors in the list may be synced or reachable, so test before choosing:
For x86_64:
Run on: OIM hostwget -O /dev/null https://fedora-archive.ip-connect.info/epel/10.0/Everything/x86_64/Packages/f/fping-5.2-3.el10_0.x86_64.rpm wget -O /dev/null http://mirror.math.princeton.edu/pub/fedora-archive/epel/10.0/Everything/x86_64/Packages/f/fping-5.2-3.el10_0.x86_64.rpm wget -O /dev/null https://dl.fedoraproject.org/pub/archive/epel/10.0/Everything/x86_64/Packages/f/fping-5.2-3.el10_0.x86_64.rpmFor aarch64:
Run on: OIM hostwget -O /dev/null https://fedora-archive.ip-connect.info/epel/10.0/Everything/aarch64/Packages/f/fping-5.2-3.el10_0.aarch64.rpm wget -O /dev/null http://mirror.math.princeton.edu/pub/fedora-archive/epel/10.0/Everything/aarch64/Packages/f/fping-5.2-3.el10_0.aarch64.rpm wget -O /dev/null https://dl.fedoraproject.org/pub/archive/epel/10.0/Everything/aarch64/Packages/f/fping-5.2-3.el10_0.aarch64.rpmNote
Some mirrors from the mirrorlist may return 404 or time out because they have not fully synced the EPEL 10.0 archive. Skip those and test the next mirror. Choose the mirror with the highest download speed.
c. Update the EPEL URL in
$OMNIA_DATA_PATH/repo_manager/input/$OMNIA_PROJECT_NAME/repo_manager_config.yml. Set theepel.urlvalue under the applicable OS version and architecture:For x86_64:
File: /opt/omnia/repo_manager/input/project_default/repo_manager_config.ymlrepositories: "10.0": x86_64: epel: url: "https://fedora-archive.ip-connect.info/epel/10.0/Everything/x86_64/" gpgkey: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-10"For aarch64:
File: /opt/omnia/repo_manager/input/project_default/repo_manager_config.ymlrepositories: "10.0": aarch64: epel: url: "https://fedora-archive.ip-connect.info/epel/10.0/Everything/aarch64/" gpgkey: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-10"Note
If the default
gpgkeyURL is unreachable, replace it with a reachable mirror URL or a local copy of the EPEL GPG key. The repository mapping key must remainepelso it matches the selected catalog. EPEL 10.0 packages are in the Fedora archive mirrors. -
Rerun the Repository Manager
downloadandstatusphases and verify thatrepo_status.ymlreportsoverall_status: success.
Note
For repeatable or air-gapped deployments, host the required EPEL
packages locally instead of relying on the external EPEL service
during deployment. In repo_manager_config.yml, set repo_config to
always and set caching to false for the EPEL repository so that
Pulp synchronizes its content for offline use.
CRI-O repository URL is unreachable from OIM¶
Symptom
The Repository Manager download phase fails for the cri-o-v1-35
repository.
Cause
The configured CRI-O repository URL is unreachable due to DNS failure, geographic mirror redirection, or network restrictions. The default CRI-O repository may be inaccessible from the OIM host.
Resolution
-
Remove stale Pulp objects for the affected architecture:
Run on: OIM hostsource /opt/omnia/activate-omnia.sh pulp rpm distribution destroy --name "x86_64_rhel_10.0_cri-o-v1-35" pulp rpm repository destroy --name "x86_64_rhel_10.0_cri-o-v1-35" pulp rpm remote destroy --name "x86_64_rhel_10.0_cri-o-v1-35"For aarch64, use
aarch64_rhel_10.0_cri-o-v1-35. -
Verify accessibility of the primary CRI-O repository URL:
Run on: OIM hostCRIO_REPO_URL='https://download.opensuse.org/repositories/isv:/cri-o:/stable:/v1.35/rpm/' curl --fail --silent --show-error --head "$CRIO_REPO_URL" curl --fail --silent --show-error --head "${CRIO_REPO_URL}repodata/repomd.xml" -
If the primary URL is unreachable, verify the alternative mirror:
Run on: OIM hostCRIO_REPO_URL='https://ftp.gwdg.de/pub/opensuse/repositories/isv:/cri-o:/stable:/v1.35/rpm/' curl --fail --silent --show-error --head "$CRIO_REPO_URL" curl --fail --silent --show-error --head "${CRIO_REPO_URL}repodata/repomd.xml" -
Update the CRI-O URL in
$OMNIA_DATA_PATH/repo_manager/input/$OMNIA_PROJECT_NAME/repo_manager_config.ymlunder the applicable OS version and architecture:File: /opt/omnia/repo_manager/input/project_default/repo_manager_config.ymlrepositories: "10.0": x86_64: cri-o-v1-35: url: "https://ftp.gwdg.de/pub/opensuse/repositories/isv:/cri-o:/stable:/v1.35/rpm/" gpgkey: "https://ftp.gwdg.de/pub/opensuse/repositories/isv:/cri-o:/stable:/v1.35/rpm/repodata/repomd.xml.key" -
Rerun the Repository Manager
downloadphase:Run on: OIM hostcd <OMNIA_SOURCE_PATH>/src/main ./omnia.sh --run repo_manager --tags downloadRun on: OIM hostsource /opt/omnia/activate-omnia.sh cd <OMNIA_SOURCE_PATH>/src/repo_manager/playbooks ansible-playbook repo_manager.yml --tags download -
Rerun the
statusphase and verify thatrepo_status.ymlreportsoverall_status: success.
Intermittent Local Repository Sync Failure Due to Non-Persistent Iptables Rules¶
Symptom
Local repository synchronization fails intermittently, particularly after an OIM restart or firewall reload. The OIM may have internet access while the repository container cannot reach external repositories.
Cause
Required outbound traffic from the Podman container network is blocked by the OIM firewall. Temporary firewall rules may also be lost after a restart or firewall reload.
Warning
Do not set the INPUT, FORWARD, or OUTPUT policies to ACCEPT:
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
These commands effectively bypass the OIM firewall policy and may expose the system to unauthorized traffic.
Resolution
-
Identify the repository container and Podman network:
Run on: OIM hostpodman ps -a podman network ls podman network inspect <network_name> -
Verify connectivity from the affected container:
Run on: OIM hostpodman exec <container_name> getent hosts <repository_fqdn> podman exec <container_name> curl -Iv --connect-timeout 10 https://<repository_fqdn>/ -
Review the active forwarding rules:
Run on: OIM hostiptables -L FORWARD -n -v --line-numbers -
Add narrowly scoped rules. Replace the placeholders with values from your environment:
Run on: OIM host# Allow established return traffic iptables -I FORWARD 1 \ -d <container_subnet> \ -m conntrack --ctstate ESTABLISHED,RELATED \ -j ACCEPT # Allow container DNS queries iptables -I FORWARD 1 \ -s <container_subnet> -d <dns_server_ip> \ -p udp --dport 53 \ -m conntrack --ctstate NEW,ESTABLISHED \ -j ACCEPT # Allow HTTPS only to the approved repository or proxy iptables -I FORWARD 1 \ -s <container_subnet> -d <repository_or_proxy_cidr> \ -p tcp --dport 443 \ -m conntrack --ctstate NEW,ESTABLISHED \ -j ACCEPTAdd TCP port 80 only if the repository explicitly requires HTTP.
Warning
Do not set the INPUT, FORWARD, or OUTPUT policies to ACCEPT:
Do NOT run these commandsiptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPTThese commands effectively bypass the OIM firewall policy and may expose the system to unauthorized traffic.
-
Retest repository access:
Run on: OIM hostpodman exec <container_name> curl -Iv --connect-timeout 10 https://<repository_fqdn>/ -
Make the scoped rules persistent using the firewall manager configured on the OIM, such as firewalld or nftables.
Note
For repositories using CDNs or frequently changing IP addresses, route container traffic through an approved outbound proxy and restrict access to the proxy IP and port. Do not create broad internet-access rules.
Validation
Verify the following to confirm the resolution:
- Repository synchronization completes successfully without errors
- The scoped firewall rules persist after an OIM restart or firewall reload
- Default firewall policies remain unchanged (not set to blanket ACCEPT)
- No unnecessary inbound or forwarded access has been enabled
Connectivity Issues¶
Symptom
The Repository Manager precheck or download phase fails with
connectivity errors. Failures can occur at multiple stages:
- Validation stage: URL reachability checks fail with
<url> is either unreachable, invalid or has incorrect SSL certificatesorUnreachable registries detected: <host>. - Pulp sync stage: Repository sync to the local Pulp server fails or times out.
- Download stage: Package downloads fail with
Download interrupted,Max retries exceeded, download failed, orUnable to reach Docker Hub (network DNS/timeout/SSL issue). - Status phase:
repo_status.ymlreportsoverall_status: failedor omits a catalog-required distribution URL.
Cause
The OIM was unable to reach a required online resource. Specific causes include:
- External repository URLs are unreachable due to a network outage, DNS failure, or firewall rule.
- User-defined registries or repository URLs in
repo_manager_config.ymlare unreachable. - SSL/TLS certificate issues — mismatched, expired, or missing certificates for user repositories or registries.
- Docker Hub rate limiting (HTTP 429), invalid credentials (HTTP 401), or server errors (HTTP 5xx).
- Pulp container is not running or Pulp endpoint is unresponsive.
Resolution
-
Verify connectivity to the upstream repository URLs configured in the project-scoped
repo_manager_config.yml. -
Verify that the Pulp container is running and Pulp endpoint is accessible:
Run on: OIM hostpodman ps | grep pulp curl -k https://<pulp_server_ip>:<pulp_port>/pulp/api/v3/status/ -
If user registries are configured, verify connectivity on the OIM.
-
Check the logs for specific error messages. The Ansible log is at
/var/log/omnia/repo_manager/repo_manager.log. Runtime status files are under$OMNIA_DATA_PATH/repo_manager/log/<os>/<version>/<architecture>/(default/opt/omnia/repo_manager/log/):Run on: OIM hostgrep -i "unreachable" /var/log/omnia/repo_manager/repo_manager.log grep -iE "unreachable|timeout|connection|failed|SSL" /var/log/omnia/repo_manager/repo_manager.log cat /opt/omnia/repo_manager/log/rhel/10.0/x86_64/groups_status.csv -
Apply the appropriate recovery:
- If the Pulp container is not running, rerun the Repository Manager
preparephase. - If external URLs are unreachable, verify DNS resolution and firewall rules on OIM.
- If SSL certificate errors occur for user repos, verify that certificate files exist under the expected path and are valid.
- If Docker Hub rate limiting occurs, wait and retry, or run the
Repository Manager credential flow and configure the registry entry
in
repo_manager_config.yml.
- If the Pulp container is not running, rerun the Repository Manager
-
Rerun the Repository Manager
downloadandstatusphases after resolving the connectivity issue. Previously synchronized content is reused unlessresync_reposrequests a resynchronization.
Software Installation Fails With Checksum Error¶
Symptom
Software installation fails with a checksum error.
Cause
Repository Manager did not publish the catalog source that provides the software, or the node is using a stale repository configuration.
Resolution
- Confirm that the selected catalog references the package and that
repo_manager_config.ymldefines its source repository. - Run the Repository Manager
downloadandstatusphases and verify a successfulrepo_status.yml. - Refresh the node repository metadata and rerun the failed installation.
Pulp Certificate Trust Failure on Compute Nodes¶
Symptom
dnf installfails with SSL certificate errors on provisioned compute nodes.- Package installation during cloud-init
runcmdphase fails. - Container image pulls from the Pulp mirror fail on nodes.
Example errors on the compute node:
SSL certificate problem: unable to get local issuer certificate
Peer's certificate issuer is not recognized
Error: Failed to download metadata for repo 'pulp_mirror'
Cause
The Pulp webserver certificate (pulp_webserver.crt) was not copied or trusted on the node. All cloud-init templates include a runcmd step that copies the certificate from the NFS-mounted /cert directory:
cp /cert/pulp_webserver.crt /etc/pki/ca-trust/source/anchors && update-ca-trust
This step can fail if the NFS mount for /cert was not established before the certificate copy step executes.
Resolution
-
Verify the certificate and NFS mount status:
Run on: compute node# Check if the certificate is present and trusted ls -la /etc/pki/ca-trust/source/anchors/pulp_webserver.crt ls -la /cert/pulp_webserver.crt # Verify the NFS mount for /cert mount | grep /cert # Test SSL connectivity to Pulp openssl s_client -connect <admin_nic_ip>:2225 -showcerts </dev/null 2>&1 | grep -i verify # Test package manager connectivity dnf repolist -
Mount the certificate NFS share and copy the certificate manually:
Run on: compute nodemount | grep /cert || mount -t nfs <admin_nic_ip>:<share_path>/cert /cert cp /cert/pulp_webserver.crt /etc/pki/ca-trust/source/anchors/ update-ca-trust -
Verify package manager connectivity:
Run on: compute nodednf repolist dnf makecache -
If the issue recurs on re-provisioned nodes, verify the NFS export for the
/certdirectory is accessible from the node network.
Container Image Pull Fails From Pulp Mirror¶
Symptom
- Container images (SIF format) fail to download on Slurm/HPC nodes.
/var/log/apptainer_pull.logshows pull failures.- Expected container images are missing under
/hpc_tools/container_images.
Example errors in /var/log/container_image_download.log or /var/log/apptainer_pull.log:
[ERROR] Failed to pull container image from Pulp mirror (exit code: 1).
[INFO] Image may not be available in Pulp or download was interrupted.
Error: error pulling image: unable to pull <image>: Error initializing source
TIMEOUT: Container image pull timed out after 1800 seconds
Cause
- Repository Manager did not synchronize the container image selected by the catalog.
- Pulp mirror endpoint is unreachable from the node (firewall, network issues).
- Pulp certificate not trusted on the node (see Pulp certificate trust failure above).
- Image tag mismatch between
container_image.listand what is available in Pulp.
Resolution
-
Check download logs and image status:
Run on: compute node# Check download log tail -50 /var/log/container_image_download.log tail -50 /var/log/apptainer_pull.log # Check if Pulp mirror is reachable from the node curl -sk https://<admin_nic_ip>:2225/v2/_catalog # Check what images are expected cat /hpc_tools/scripts/container_image.list # Check downloaded images ls -lh /hpc_tools/container_images/ -
Verify the container image exists in Pulp. From the OIM:
Run on: OIM hostsource /opt/omnia/activate-omnia.sh pulp container repository list -
If the image is missing in Pulp, ensure that it is included in the catalog selected by
CATALOG_FILE_PATH, and rerun Repository Manager. -
If the image exists in Pulp but the pull fails, verify certificate trust (see Pulp certificate trust failure) and re-run the download script:
Run on: compute node/hpc_tools/scripts/download_container_image.sh
Upstream Repository Sync Failure Due to Stale Metadata (404 on Missing RPM (OR) Checksum Validation Issue)¶
Symptom
The Repository Manager download phase fails during Pulp synchronization
with a 404 Not Found or checksum mismatch for a specific RPM package,
even though the repository URL is reachable.
Example errors:
404, message='Not Found', url='https://<upstream-repo>/<package>-1.<arch>.rpm'
Downloading Artifacts: corrupted downloaded file
Checksum mismatch for <package>-1.<arch>.rpm: expected <expected_checksum>, got <actual_checksum>
Cause
- The upstream repository metadata (
repodata/*-primary.xml.gz) references a package file that no longer exists on the server. - A newer version of the RPM (e.g.,
-2) has replaced the old version (e.g.,-1) on the server, but the repository metadata was not regenerated and still lists both versions. - The upstream repository replaced a package file (same filename) with updated content, but the repository metadata still contains the old checksum. Pulp downloads the new file, compares it against the stale checksum in the metadata, and fails validation.
- Pulp with
immediatedownload policy (the default whenrepo_config: always) attempts to download all packages listed in the metadata. If any package returns HTTP 404 or fails checksum validation, the entire sync fails — there is no partial sync.
Note
This is an upstream repository issue (stale metadata on the vendor server) and cannot be resolved from the OIM side. The fix must come from the upstream repository owner (e.g., NVIDIA) regenerating their metadata with createrepo_c --update. However, the workarounds below allow syncing to proceed until the upstream metadata is corrected.
Example (CUDA RHEL10 Repository):
The NVIDIA CUDA repository for RHEL 10 x86_64 may list cccl-13-3-13.3.3.3.1-1.x86_64.rpm in metadata while only cccl-13-3-13.3.3.3.1-2.x86_64.rpm exists on the server:
PRIMARY_FILE=$(curl -s "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/repodata/repomd.xml" \
| grep -oP 'href="repodata/\K[^"]*primary\.xml\.gz')
curl -s "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/repodata/$PRIMARY_FILE" \
| gunzip | grep "cccl-13-3-13.3.3.3.1"
curl -I "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/cccl-13-3-13.3.3.3.1-1.x86_64.rpm"
curl -I "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/cccl-13-3-13.3.3.3.1-2.x86_64.rpm"
Resolution
If the download fails because upstream metadata is stale, set the affected
repository to policy: partial with caching: true. This selects Pulp's
on_demand policy, which synchronizes metadata and defers package
downloads. Download all required content before disconnecting the
environment from the internet.
-
List the available Pulp repository names to identify the correct
repoidfor the affected repository:Run on: OIM hostsource /opt/omnia/activate-omnia.sh pulp rpm repository list --field nameThe output lists repository names such as
x86_64_rhel_10.0_cuda,aarch64_rhel_10.0_cuda, etc. Use the appropriate name as the--repoidvalue and as the value ofcleanup_reposwhen runningrepo_manager.ymlwith thecleanup_repostag in the following steps. -
Clean up the affected repositories in Pulp before re-syncing. This removes any corrupted or partially synced content from previous failed attempts. Run this for both x86_64 and aarch64 repositories:
Run on: OIM hostcd <OMNIA_SOURCE_PATH>/src/main ./omnia.sh --run repo_manager --tags cleanup_repos \ -e "cleanup_repos=x86_64_rhel_10.0_cuda,aarch64_rhel_10.0_cuda"Run on: OIM hostsource /opt/omnia/activate-omnia.sh cd <OMNIA_SOURCE_PATH>/src/repo_manager/playbooks ansible-playbook repo_manager.yml --tags cleanup_repos \ -e "cleanup_repos=x86_64_rhel_10.0_cuda,aarch64_rhel_10.0_cuda" -
Update the affected entry in the project-scoped configuration file at
$OMNIA_DATA_PATH/repo_manager/input/<project>/repo_manager_config.yml(default/opt/omnia/repo_manager/input/project_default/repo_manager_config.yml), then run the Repository Managerdownloadphase:Example: CUDA repository entries with caching: truerepositories: "10.0": x86_64: cuda: url: "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/" gpgkey: "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/repodata/repomd.xml.key" policy: partial caching: true aarch64: cuda: url: "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/sbsa/" gpgkey: "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/sbsa/repodata/repomd.xml.key" policy: partial caching: trueRun on: OIM hostcd <OMNIA_SOURCE_PATH>/src/main ./omnia.sh --run repo_manager --tags downloadRun on: OIM hostsource /opt/omnia/activate-omnia.sh cd <OMNIA_SOURCE_PATH>/src/repo_manager/playbooks ansible-playbook repo_manager.yml --tags downloadRefer to the Policy and Caching Behavior table in the Repository Manager configuration reference for the full mapping of policy and caching combinations.
-
After Repository Manager completes with the partial policy, synchronize the entire required repository content from Pulp to a local directory.
Run on: OIM hostdnf reposync --repoid=x86_64_rhel_10.0_cuda \ --download-path=/path/to/download/directory \ --download-metadata \ --norepopath -
To download specific RPMs from the Pulp repository instead of the full sync, run for both x86_64 and aarch64 repositories:
Single package:
Run on: OIM hostdnf download --destdir /path/to/download/directory \ --repo x86_64_rhel_10.0_cuda \ package-nameMultiple specific packages:
Run on: OIM hostdnf download --destdir /path/to/download/directory \ --repo x86_64_rhel_10.0_cuda \ package1 package2 package3 -
Report the stale metadata issue to the upstream repository owner (e.g., NVIDIA) so that
createrepo_c --updateis run on their server to remove the obsolete entry and update checksums.
Info
- Create Local Repositories -- Local repository setup guide.
- Log Management -- Where to find logs for deeper diagnosis.
- Pulp Cleanup -- Pulp cleanup procedures.