Failure Importing Hub to OpsMan: Zip File is not valid
search cancel

Failure Importing Hub to OpsMan: Zip File is not valid

book

Article ID: 424948

calendar_today

Updated On:

Products

VMware Tanzu Platform - Hub

Issue/Introduction

When importing the Hub tile (21GB) to OpsManager you may receive a misleading "Zip file is not valid: write error (disk full?)" error in the UI, even though there is sufficient free disk space.

 

Zip file is not valid: Archive: /tmp/RackMultipart20260107-1176-2bolhx.pivotal extracting: /tmp/ops_manager/d20260107-1176-cpl85v/metadata/metadata.yml extracting: /tmp/ops_manager/d20260107-1176-cpl85v/migrations/v1/202406200200_migration_placeholder.js extracting: /tmp/ops_manager/d20260107-1176-cpl85v/releases/antrea-1.13.3-build.3-ubuntu-jammy-1.866.tgz extracting: /tmp/ops_manager/d20260107-1176-cpl85v/releases/bpm-1.4.20-ubuntu-jammy-1.866.tgz extracting: /tmp/ops_manager/d20260107-1176-cpl85v/releases/kubo-1.23.0-build.8.main-ubuntu-jammy-1.866.tgz extracting: /tmp/ops_manager/d20260107-1176-cpl85v/releases/tanzu-platform-100.0.27-ubuntu-jammy-1.866.tgz extracting: /tmp/ops_manager/d20260107-1176-cpl85v/releases/tanzu-platform-registry-data-100.0.40-ubuntu-jammy-1.866.tgz /tmp/ops_manager/d20260107-1176-cpl85v/releases/tanzu-platform-registry-data-100.0.40-ubuntu-jammy-1.866.tgz: write error (disk full?). Continue? (y/n/^C) warning: /tmp/ops_manager/d20260107-1176-cpl85v/releases/tanzu-platform-registry-data-100.0.40-ubuntu-jammy-1.866.tgz is probably truncated

Environment

Hub v10.2.1

Cause

When attempting the same upload via the OM CLI, it also fails due to a 30min timeout, which concludes that the request timeout is the actual root cause, not disk space. 

Resolution

The OM CLI allows specifying a timeout, which is not possible in the UI. The upload is successful after extending the timeout to 1 hour using the OM CLI. The misleading "disk full" UI error is likely a result of the large tile size and the UI's default timeout.

om upload-product --product <product/*.pivotal> -r 3600