The agctl rsync is failing at task RsynchHarborImagesAndCharts and RsynchPhotonPackages
search cancel

The agctl rsync is failing at task RsynchHarborImagesAndCharts and RsynchPhotonPackages

book

Article ID: 453520

calendar_today

Updated On:

Products

VMware Telco Cloud Automation VMware Telco Cloud Platform

Issue/Introduction

The local airgap to central airgap rsync is failing at the step to rsync harbor images and charts and rsynch photon packages. The rsync for Harbor images and charts fails at 15% progress. 

Below errors are seen during rsync:

Messages                   | RsyncHarborImagesAndCharts: Waiting for Harbor replication execution successs                                               |
|                            |                                                                                                                             |
|                            | RsyncPhotonPackages: Task RsyncPhotonPackages failed with error: stderr: Error(1229) : Timeout was reached                  |
|                            | Error: Failed to synchronize cache for repo 'Airgap TCP 5.1.1 snapshot (x86_64)'                                            |
|                            | Error(1229) : Timeout was reached stdout: Refreshing metadata for: 'Airgap TCP 5.1.1 snapshot (x86_64)'

Environment

TCA 3.4

TCP 5.1

Airgap 3.4

Cause

The airgap-511-snapshot.repo repository file configured in TCA 3.4 points to an unresolvable or timing-out snapshot path during tdnf metadata synchronization. This timeout blocks the RsyncPhotonPackages task and prevents downstream replication tasks from completing cleanly.

Resolution

  1. Log in to the TCA Airgap appliance via SSH as root.

  2. Navigate to the repository configuration directory:

    cd /etc/yum.repos.d/
  3.  Open the airgap-511-snapshot.repo file in a text editor:
    vi airgap-511-snapshot.repo
  4. Locate the enabled configuration parameter and change its value to 0:

    enabled=0

    (Alternatively, you may remove or rename the file: mv airgap-511-snapshot.repo airgap-511-snapshot.repo.bak)

  5. Retry the synchronization operation:

    agctl rsync