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

`oc logs` not showin any logs few pods on few nodes

XMLWordPrintable

    • Important
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          - Customer not able to view any logs for few application
          - This is not application specific issue as we deployed on test application but test application given by Red Hat also not showing any logs
          - No logs on node as well on path `/var/log/pods/test-logs_httpd-59dbc4f944-m2nf9_755c7c28-cee3-47a6-bbfa-3ef4649593b7/httpd`

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

          RHOCP version 4.14 (Note: customer had same issue on 4.12)

      How reproducible:

      Using test httpd application on customers cluster    

      Steps to Reproduce:

      - Create new project and run test httpd application
      ~~~
      $ oc new-project test
      $ oc new-app httpd
      ~~~
      - On 1st terminal:
      ~~~
      $ oc logs <pod name> -f.  # `-f` is used to check live logs. 
      ~~~
      - On 2nd terminal
      ~~~
      $ oc get all # Copy service IP or pod IP and port
      $ oc get nodes
      $ oc debug node/<node name>
      $ chroot /host
      $ curl -kvv <service IP>:8080
      ~~~

      Actual results:

          No logs on 1st terminal. Note: Same steps are showing logs on customers another cluster

      Expected results:

          We must get httpd logs on 1st terminal

      Additional info:

          

              rh-ee-kehannon Kevin Hannon
              rhn-support-mdeore Mayur Deore
              Sunil Choudhary Sunil Choudhary
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: