Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44224

Rebuild catalog failed with error : building at STEP "RUN rm -rf /configs": while running runtime: exit status 1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • 4.18
    • oc-mirror
    • Moderate
    • None
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Hide
      *Cause*: What actions or circumstances cause this bug to present.
      *Consequence*: What happens when the bug presents.
      *Fix*: What was done to fix the bug.
      *Result*: Bug doesn’t present anymore.
      Show
      *Cause*: What actions or circumstances cause this bug to present. *Consequence*: What happens when the bug presents. *Fix*: What was done to fix the bug. *Result*: Bug doesn’t present anymore.
    • Bug Fix
    • In Progress

      Description of problem:

      Rebuild catalog failed with error : building at STEP "RUN rm -rf /configs": while running runtime: exit status 1

      Version-Release number of selected component (if applicable):

      ./oc-mirror.rhel8  version 
      WARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version.
      Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.18.0-202410251041.p0.g95f0611.assembly.stream.el9-95f0611", GitCommit:"95f0611c1dc9584a4a9e857912b9eaa539234bbc", GitTreeState:"clean", BuildDate:"2024-10-25T11:28:19Z", GoVersion:"go1.22.7 (Red Hat 1.22.7-1.module+el8.10.0+22325+dc584f75) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}

      How reproducible:

           Always
          

      Steps to Reproduce:

      1. Refer https://access.redhat.com/solutions/6542281 to fix the Invalid GPG signature issue; 
      
      2. Using the imagesetconfig like :  
      cat config-example.yaml 
      kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v2alpha1
      mirror:
        operators:
        - catalog: registry.redhat.io/redhat/redhat-marketplace-index:v4.15
          packages:
          - name: dynatrace-operator-rhmp  
      
      3. run the oc-mirror with rebuild catalog :
      ./oc-mirror.rhel8 -c config-example.yaml file://outexample --v2  --alpha-ctlg-filter --secure-policy=false

       

      Actual results:

      2. Hit error:
      
      ./oc-mirror.rhel8 -c config-example.yaml file://outexample --v2  --alpha-ctlg-filter --secure-policy=false
      
      2024/11/05 06:42:35  [WARN]   : ⚠️  --v2 flag identified, flow redirected to the oc-mirror v2 version. This is Tech Preview, it is still under development and it is not production ready.
      2024/11/05 06:42:35  [INFO]   : 👋 Hello, welcome to oc-mirror
      2024/11/05 06:42:35  [INFO]   : ⚙️  setting up the environment for you...
      2024/11/05 06:42:35  [INFO]   : 🔀 workflow mode: mirrorToDisk 
      2024/11/05 06:42:35  [INFO]   : 🕵️  going to discover the necessary images...
      2024/11/05 06:42:35  [INFO]   : 🔍 collecting release images...
      2024/11/05 06:42:35  [INFO]   : 🔍 collecting operator images...
      2024/11/05 06:42:36  [INFO]   : 🔂 rebuilding catalog (pulling catalog image) registry.redhat.io/redhat/redhat-marketplace-index:v4.15
      2024/11/05 06:43:22  [INFO]   : 👋 Goodbye, thank you for using oc-mirror
      2024/11/05 06:43:22  [ERROR]  : 4 errors occurred:
      	* [linux/arm64]: building at STEP "RUN rm -rf /configs": while running runtime: exit status 1
      	* [linux/s390x]: building at STEP "RUN rm -rf /configs": while running runtime: exit status 1
      	* [linux/amd64]: building at STEP "RUN rm -rf /configs": while running runtime: exit status 1
      	* [linux/ppc64le]: building at STEP "RUN rm -rf /configs": while running runtime: exit status 1 

       

       

      Expected results:

      3. no error.

      Additional info:

       

              luzuccar@redhat.com Luigi Mario Zuccarelli
              yinzhou@redhat.com ying zhou
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: