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

Run bundle failed when the index image ConfigMap size exceed 1048576 bytes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 4.14.0
    • Operator SDK
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • No
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Operator-sdk run bundle failed when the index image is too big (exceed 1048576 bytes).

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

      operator-sdk version: "v1.31.0-ocp", commit: "44591feccc299d1f73a2289f2c836579b2bf218e", kubernetes version: "v1.26.0", go version: "go1.20.5 X:strictfipsruntime", GOOS: "linux", GOARCH: "amd64"

      How reproducible:

      always

      Steps to Reproduce:

      1. operator-sdk run bundle quay.io/olmqe/upgradefbc-bundle:v0.1 --index-image quay.io/olmqe/bigcatalog:latest -n default 

      Actual results:

      INFO[0005] Creating a File-Based Catalog of the bundle "quay.io/olmqe/upgradefbc-bundle:v0.1" 
      INFO[0007] Rendering a File-Based Catalog of the Index Image "quay.io/olmqe/bigcatalog:latest" to verify if bundle "upgradefbc.v0.0.1" is present 
      INFO[0013] Generated the extra FBC for the bundle image "upgradefbc.v0.0.1" 
      INFO[0027] Generated a valid File-Based Catalog         
      FATA[0058] Failed to run bundle: create catalog: error creating registry pod: error building registry pod definition: configMap error: error updating ConfigMap: error creating ConfigMap: ConfigMap "upgradefbc-catalog-configmap-partition-23" is invalid: []: Too long: must have at most 1048576 bytes 

      Expected results:

      Install operator success

      Additional info:

       

              rh-ee-cchantse Catherine Chan-Tse
              rhn-support-jfan Jia Fan
              None
              None
              Jia Fan Jia Fan
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: