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

[4.8] The cpb binary still was built dynamically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 4.8.z
    • Release
    • None
    • Critical
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-16682. The following is the description of the original issue:

      Description of problem:

      Optional operators unpacking failure due to the `cpb` issue.

      MacBook-Pro:~ jianzhang$ oc get pods
      NAME                                                              READY   STATUS       RESTARTS   AGE
      29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00d5pz2   0/1     Init:Error   0          4h24m
      29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00ftpqw   0/1     Init:Error   0          4h25m
      29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00ftts8   0/1     Init:Error   0          4h24m
      29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00jbz8v   0/1     Init:Error   0          4h24m
      certified-operators-xjh27                                         1/1     Running      0          5h25m
      
      MacBook-Pro:~ jianzhang$ oc describe pods pods 29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00jbz8v
      Name:             29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00jbz8v
      Namespace:        openshift-marketplace
      Priority:         0
      ...
      ...
          Image:         quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:90944becade86164c70b8dcd70415de83cab3951cb5dcda9e4fac6968c4f2492
      
      [cloud-user@preserve-olm-env2 jian]$ sudo podman run --rm -ti quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:90944becade86164c70b8dcd70415de83cab3951cb5dcda9e4fac6968c4f2492
      bash-4.4$ which cob
      which: no cob in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
      bash-4.4$ which cpb
      /usr/bin/cpb
      bash-4.4$ ldd /usr/bin/cpb
      	linux-vdso.so.1 (0x00007ffe341a2000)
      	libdl.so.2 => /lib64/libdl.so.2 (0x00007f51a0214000)
      	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f519fff4000)
      	libc.so.6 => /lib64/libc.so.6 (0x00007f519fc2f000)
      	/lib64/ld-linux-x86-64.so.2 (0x00007f51a0418000)

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

      Cluster version is 4.8.0-0.nightly-2023-07-21-001905

      How reproducible:

      always

      Steps to Reproduce:

      1. Install OCP 4.8
      2. Subscribe to an operator.
      

      Actual results:

      Failed to install the operator. Unpack pod failed to init.

      MacBook-Pro:~ jianzhang$ oc get pods
      NAME                                                              READY   STATUS       RESTARTS   AGE
      29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00d5pz2   0/1     Init:Error   0          4h24m
      29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00ftpqw   0/1     Init:Error   0          4h25m
      29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00ftts8   0/1     Init:Error   0          4h24m
      29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00jbz8v   0/1     Init:Error   0          4h24m
      certified-operators-xjh27                                         1/1     Running      0          5h25m
      community-operators-wdzp9                                         1/1     Running      0          5h25m
      marketplace-operator-6d8f7f6f89-bgfxb                             1/1     Running      0          5h36m
      qe-app-registry-zc4pz                                             1/1     Running      0          5h4m
      redhat-marketplace-bffjz                                          1/1     Running      0          5h25m
      redhat-operators-hjjfc                                            1/1     Running      0          5h25m
      MacBook-Pro:~ jianzhang$ oc logs 29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00jbz8v
      Defaulted container "extract" out of: extract, util (init), pull (init)
      Error from server (BadRequest): container "extract" in pod "29f049d4a61031babbbcd0e303a2787017361bdeb45286f923cb891a00jbz8v" is waiting to start: PodInitializing

      Expected results:

      Unpack pod running well.

      Additional info:

       

              lmeyer@redhat.com Luke Meyer
              openshift-crt-jira-prow OpenShift Prow Bot
              Jian Zhang Jian Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: