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

Facing an issue while creating a whereabouts-reconciler daemon set the `whereabouts-controller` pod stuck in `CreateContainerError` in only RHOCP v4.18.19

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.18.z
    • Networking / multus
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • Yes
    • None
    • None
    • None
    • None
    • +
    • None
    • None
    • None

      Description of problem:

      • The issue only occurs in the OpenShift v4.18.19 only not in other versions of 4.18.
      • While trying to creating a whereabouts-reconciler daemon set the pod `whereabouts-controller` is stuck in the `CreateContainerError`.

      The pod whereabouts-controller does not start, due to an incorrect definition of the RS.

      $ oc get rs -n openshift-multus whereabouts-controller-6cdb576698 -o json | jq '.spec.template.spec.containers[].image'
      "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:65d7ead618f2fc253f14c5baa4f22ad8c60936540985045d8b51c89f2436f418"
      
      $ oc get rs -n openshift-multus whereabouts-controller-6cdb576698 -o json | jq '.spec.template.spec.containers[].command'
      [
        "/usr/src/whereabouts/bin/node-slice-controller"
      ]    

      Inspecting the image `quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:65d7ead618f2fc253f14c5baa4f22ad8c60936540985045d8b51c89f2436f418`, the file does not exists at the indicated path.

       

      $ podman run -it quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:65d7ead618f2fc253f14c5baa4f22ad8c60936540985045d8b51c89f2436f418 bash
      [root@437a12c60d99 /]# ls -al /usr/src/whereabouts/bin
      total 103152
      drwxr-xr-x. 2 root root       69 Jun 23 10:16 .
      drwxr-xr-x. 6 root root       57 Jun 23 10:16 ..
      -rwxrwxr-x. 1 root root      779 Jun 23 10:11 entrypoint.sh
      -rwxr-xr-x. 1 root root 54842200 Jun 23 10:16 ip-control-loop
      -rwxr-xr-x. 1 root root 50774248 Jun 23 10:16 whereabouts

      Pod error:

      $ oc get pod -n openshift-multus -l app=whereabouts-controller
      NAME                                      READY   STATUS                 RESTARTS   AGE
      whereabouts-controller-6cdb576698-d7sr9   0/1     CreateContainerError   0          34m
      

       

      $ oc describe pod -n openshift-multus -l app=whereabouts-controller | grep Error
            Reason:       CreateContainerError
        Warning  Failed          32m (x12 over 34m)     kubelet            Error: container create failed: executable file `/usr/src/whereabouts/bin/node-slice-controller` not found: No such file or directory
      These pods are created after running the steps outlined in https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/networking/multiple-networks#nw-multus-creating-whereabouts-reconciler-daemon-set_configuring-additional-network

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

      V4.18.19  

      How reproducible:

      Yes    

      Steps to Reproduce:

      [1] Create the `whereabouts-reconciler` daemon set by following the steps outlined in: https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/networking/multiple-networks#nw-multus-creating-whereabouts-reconciler-daemon-set_configuring-additional-network 
      
      [2] Pod error:
      ~~~
      $ oc get pod -n openshift-multus -l app=whereabouts-controller
      NAME                                      READY   STATUS                 RESTARTS   AGE
      whereabouts-controller-6cdb576698-d7sr9   0/1     CreateContainerError   0          34m
      
      $ oc describe pod -n openshift-multus -l app=whereabouts-controller | grep Error
            Reason:       CreateContainerError
        Warning  Failed          32m (x12 over 34m)     kubelet            Error: container create failed: executable file `/usr/src/whereabouts/bin/node-slice-controller` not found: No such file or directory
      ~~~

      Actual results:

      The `whereabouts-controller` pod stuck in the CreateContainerError state with the below error in OCP v4.18.19:

             message: |
                container create failed: executable file `/usr/src/whereabouts/bin/node-slice-controller` not found: No such file or directory
              reason: CreateContainerError

      Expected results:

      The `whereabouts-controller` pod is not expected to be present in OpenShift Container Platform versions 4.18.z, except for version 4.18.19.    

      Additional info:

          

              bpickard@redhat.com Ben Pickard
              rhn-support-hthakare Harshal Thakare
              None
              None
              Weibin Liang Weibin Liang
              None
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: