DX Platform - Unable to upload images to NEXUS registry , error "blob upload invalid"
search cancel

DX Platform - Unable to upload images to NEXUS registry , error "blob upload invalid"

book

Article ID: 368849

calendar_today

Updated On:

Products

DX Application Performance Management DX Operational Intelligence

Issue/Introduction

Uploading images to local registry fails with below exception:

Error during callback
com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"errorDetail":{"message":"writing manifest: uploading manifest 24.04.02.2 to <your-registry>/dxi/dxi-dxi-installerbase: blob upload invalid"},"error":"writing manifest: uploading manifest 24.04.02.2 to <your-registry>/dxi/dxi-dxi-installerbase: blob upload invalid"}

        at com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:247)
        at com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269)
        at java.base/java.lang.Thread.run(Thread.java:840)
Application run failed

From below output it looks like there are no issues with the image. There are 4 installerbase images with tag "24.04.02.2" and the same ID one loaded from the tar file and 3 tagged to different registries.
 

docker images   | grep installerbase

docker-<repo>/dxi/dxi-dxi-installerbase                                24.04.02.2             463e489334cf  8 weeks ago    402 MB
alm-<rrepo>:8092/dxi/dxi-dxi-installerbase                          24.04.02.2             463e489334cf  8 weeks ago    402 MB
dx-docker.packages.broadcom.com/dxi/dxi-installerbase   24.04.02.2             463e489334cf  8 weeks ago    402 MB
docker-<repo>/dxi/dxi-dxi-installerbase                               24.04.02.2             463e489334cf  8 weeks ago    402 MB

Environment

  • Openshift
  • DX Platform 24.x
  • NEXUS Docker repository manager

Cause

For DX Platform Installer requires that the registry allows pushing the same image with the same tag more than once (registry must be able to check that all layers are the same and nothing needs to be done). 
 
 
 

Resolution

Set a flag on NEXUS to ALLOWS re pushing. 

Additional Information