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

If a pod container specifies a lifecycle postStart command, and that command hangs for a while or indefinitely, the pod hangs in a "ContainerCreating" state. And the events and pod status do not tell you why it's hanging.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • 4.14
    • Node / CRI-O
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      If a pod container specifies a lifecycle postStart command, and that command hangs for a while or indefinitely, the pod hangs in a "ContainerCreating" state. And the events and pod status do not tell you why it's hanging.

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

          4.14

      How reproducible:

          100 %

      Steps to Reproduce:

          1. Create a pod with lifecycle postStart command
          2.
          3.
          

      Actual results:

          the events and pod status should tell why it's hanging.

      Expected results:

          the events and pod status should tell why it's hanging.

      Additional info:

          We have similar upstream issue 
      
      https://github.com/kubernetes/kubernetes/issues/116032
      but i think that is a different to what customer is asking, cu just wants to know the status if it gets stuck with postStart command 

       

              aos-node@redhat.com Node Team Bot Account
              rhn-support-gmahto Gagan Mahto
              Sunil Choudhary Sunil Choudhary
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: