The push-harbor-artifacts.sh script have been traced to push incorrect image tags, leading to failure while upgrading Harbor.
search cancel

The push-harbor-artifacts.sh script have been traced to push incorrect image tags, leading to failure while upgrading Harbor.

book

Article ID: 424793

calendar_today

Updated On:

Products

VMware Telco Cloud Automation VMware Telco Cloud Platform

Issue/Introduction

  • Windows extraction of the Harbor upgrade archive is causing push-harbor-artifacts.sh to push malformed image tags, leading to upgrade failures.

  • Post extraction the filenames are replaced with (_) which was originally (:)

  • Current Output (Incorrect): repository/image_v1.0.0

    Expected Output (Correct): repository/image:v1.0.0

  • Current Output (Incorrect)


    Expected Output (Correct)

Environment

TCA: 3.2

TCP: 5.0

Cause

  • The colon is a reserved character in Windows file systems.
  • Extraction tools (like 7-Zip, WinRAR) automatically replace the invalid (:) with an underscore (_) to prevent the extraction from failing entirely.

Resolution

Resolved in TCA 3.3.0.1

Workaround

Extract the package contents onto your Linux host and run the provided push-harbor-artifacts.sh utility.