Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-7545

ovn-bgp-agent should log to journal

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • RHOSO sprint FR1 1/2
    • Important

      The logs generated by the ovn-bgp-agent containers running on EDPM nodes can only be read using the `podman logs -f ovn_bgp_agent` command. The problem is that, eventually, old logs are lost.

      This doesn't affect other containers.

      [root@compute-0 ~]# ls -ltrah /var/log/containers/ovn-bgp-agent/
      total 0
      drwxr-x---. 2 root root  6 Jun  4 18:58 .
      drwxr-x---. 8 root root 99 Jun  4 19:06 ..
      [root@compute-0 ~]# ls -ltrah /var/log/containers/neutron/
      total 2.2M
      drwxr-x---. 8 root  root    99 Jun  4 19:06 ..
      -rw-rw-rw-. 1 root  root   39K Jun  5 00:00 kill-script.log.1
      -rw-rw-rw-. 1 root  root     0 Jun  5 00:00 kill-script.log
      -rw-r--r--. 1 root  root  234K Jun  5 00:00 ovn-metadata-agent.log.2.gz
      drwxr-xr-x. 2 42435 42435  151 Jun  6 00:00 .
      -rw-r--r--. 1 root  root  1.2M Jun  6 00:00 ovn-metadata-agent.log.1
      -rw-r--r--. 1 root  root  746K Jun  6 15:39 ovn-metadata-agent.log
      [root@compute-0 ~]# ls -ltrah /var/log/containers/openvswitch/
      total 200K
      drwxr-x---. 8 root root   99 Jun  4 19:06 ..
      drwxr-x---. 2 root root   60 Jun  5 00:00 .
      -rw-r-----. 1 root root 198K Jun  5 00:00 ovn-controller.log.1
      -rw-r-----. 1 root root    0 Jun  5 00:00 ovn-controller.log

       

            jlibosva Jakub Libosvar
            eolivare Eduardo Olivares Toledo
            Eduardo Olivares Toledo Eduardo Olivares Toledo
            rhos-dfg-networking-squad-bgp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: