[RHOCP 4] kieserver pod taking long time to get the IP assigned

Solution Verified - Updated -

Issue

  • While trying to create a kieserver pod, using a customer deploymentconfig, the pod goes into the ContainerCreating state, and the IP field is showing none.

    $ oc get po -o wide
    NAME                                                                                   READY            STATUS                    RESTARTS   AGE        IP                        NODE                                  NOMINATED NODE      READINESS GATES
    parereunico-dev-881-kieserver-test-26-wlxc8         0/1        ContainerCreating   0          26s                       <none>         ocp4-7s8wr-worker-wltdz                 <none>                        <none>
    
  • But in the pod logs we can see that the IP is getting assigned then tried to ping the IP from the node where the pod is scheduled it was unable to connect, but after some time the pods get up and running and also able to ping from the node.

    Events:
      Type    Reason          Age   From               Message
      ----    ------          ----  ----               -------
      Normal  Scheduled       15s   default-scheduler  Successfully assigned coll-legit-pam-test/parereunico-dev-881-kieserver-test-26-wlxc8 to ocp4-7s8wr-worker-wltdz
      Normal  AddedInterface  13s   multus             Add eth0 [x.x.x.x/23] from openshift-sdn
      Normal  Pulling         13s   kubelet            Pulling image "alm-repos.sogei.it:8082/legit-pam_pam-kie-dev:0.1"
    
    $ ssh ocp4-7s8wr-worker-wltdz
    
    [core@ocp4-7s8wr-worker-wltdz ~]$ ping x.x.x.xPING x.x.x.x (x.x.x.x) 56(84) bytes of data.
    ^C
    --- x.x.x.x ping statistics ---
    11 packets transmitted, 0 received, 100% packet loss, time 10226ms
    

Environment

  • Red Hat OpenShift Container Platform(RHOCP)
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content