Installation of mirror registry for Red Hat OpenShift fails with an error exit status 125

Solution Verified - Updated -

Issue

  • The installation of the mirror registry for Red Hat OpenShift fails with an error exit status 125.
# ./mirror-registry install --quayHostname quay-mirror.example.com --quayRoot /root/mirror

   __   __
  /  \ /  \     ______   _    _     __   __   __
 / /\ / /\ \   /  __  \ | |  | |   /  \  \ \ / /
/ /  / /  \ \  | |  | | | |  | |  / /\ \  \   /
\ \  \ \  / /  | |__| | | |__| | / ____ \  | |
 \ \/ \ \/ /   \_  ___/  \____/ /_/    \_\ |_|
  \__/ \__/      \ \__
                  \___\ by Red Hat
 Build, Store, and Distribute your Containers

INFO[2025-03-17 04:31:42] Install has begun                            
INFO[2025-03-17 04:31:42] Found execution environment at /root/execution-environment.tar 
INFO[2025-03-17 04:31:42] Loading execution environment from execution-environment.tar 
INFO[2025-03-17 04:31:45] Detected an installation to localhost        
INFO[2025-03-17 04:31:45] Found SSH key at /root/.ssh/quay_installer   
INFO[2025-03-17 04:31:45] Attempting to set SELinux rules on /root/.ssh/quay_installer 
WARN[2025-03-17 04:31:45] Could not set SELinux rule. If your system does not have SELinux enabled, you may ignore this. 
INFO[2025-03-17 04:31:45] Found image archive at /root/image-archive.tar 
INFO[2025-03-17 04:31:45] Detected an installation to localhost        
INFO[2025-03-17 04:31:45] Unpacking image archive from /root/image-archive.tar 
INFO[2025-03-17 04:31:46] Loading pause image archive from pause.tar   
INFO[2025-03-17 04:31:47] Loading redis image archive from redis.tar   
INFO[2025-03-17 04:31:49] Loading Quay image archive from quay.tar     
ERRO[2025-03-17 04:31:50] An error occurred: exit status 125   

Environment

  • Red Hat Quay

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content