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

ZTP container built on ubi9 produces executables incompatible with ubi8 (and argocd)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • 4.15.0
    • 4.15
    • GitOps ZTP
    • Critical
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      We patch the argocd container by copying in the executables from our ZTP container. Because of this, we must build those executables in a way that is compatible with argocd's base image.  The latest change in 4.15 to build with ubi9 produces executables that are incompatible with argocd's ubi8 base.

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

      registry.cnfde20.ptp.lab.eng.bos.redhat.com:5000/ztp/ztp-site-generator:v4.15.0-7

      How reproducible:

      100% of the time

      Steps to Reproduce:

      1. Patch argocd with the ztp container as described in our docs
      2. Attempt to run our SiteConfig or PolicyGenTemplate generators
      3.
      

      Actual results:

      /.config/kustomize/plugin/ran.openshift.io/v1/siteconfig/SiteConfig: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /.config/kustomize/plugin/ran.openshift.io/v1/siteconfig/SiteConfig)

      Expected results:

      The generator runs

      Additional info:

      The previous ztp image that was based on ubi8 did not exhibit this error:
      - registry-proxy.engineering.redhat.com/rh-osbs/openshift4-ztp-site-generate:v4.15.0-6

            sahasan@redhat.com Sabbir Hasan
            jramsay1@redhat.com Jim Ramsay
            Periyamaruthu Mohanraj Periyamaruthu Mohanraj
            Sabbir Hasan
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: