TAP Workload build fails with UNKNOWN: unknown error Err:28 when pushing image to harbor
search cancel

TAP Workload build fails with UNKNOWN: unknown error Err:28 when pushing image to harbor

book

Article ID: 382593

calendar_today

Updated On:

Products

VMware Tanzu Application Platform

Issue/Introduction

When deploying a TAP workload fails during the step-build-and-push

To get more info you getting more info 

kubectl logs -n <namespace> <pod-failing-name> -c step-build-and-push
And the logs show this error
 
checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "harbor.##########": POST https://harbor.##########/v2/supply-chain/workloads/##########/blobs/uploads/: UNKNOWN: unknown error; map[DriverName:filesystem Enclosed:map[Err:28 Op:mkdir Path:/storage/docker/registry/v2/repositories/supply-chain/workloads/##########/_uploads/XXXXXX]]

Resolution

Errors with prefix "[Err:28" on most *nix platforms indicates that there is an issue with Harbor's filesystem.

The error also indicates that the driver was unable to create folder for the uploading.

Most common cause would be not enough space on the disk or user permissions on Harbor's filesystem.