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

Solution Verified - Updated -

Issue

  • The installation of the mirror registry for Red Hat OpenShift fails with an error exit status 127.
$ sudo ./mirror-registry install --quayHostname mirror.example.com --quayRoot /var/lib/quay

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

INFO[2024-06-21 03:11:05] Install has begun                            
INFO[2024-06-21 03:11:05] Found execution environment at /home/user/execution-environment.tar 
INFO[2024-06-21 03:11:05] Loading execution environment from execution-environment.tar 
ERRO[2024-06-21 03:11:05] An error occurred: exit status 127
  • What is the cause?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • mirror registry for Red Hat OpenShift

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