Strange log output in "ovn-acl-logging" containers in OVNKubernetes

Solution Verified - Updated -

Issue

  • After upgrading to OpenShift Container Platform 4.15, the following bash output can be seen in the ovn-acl-logging containers in OVNKubernetes:

    + true
    + '[' -f /var/log/ovn/acl-audit-log.log ']'
    ++ du -b /var/log/ovn/acl-audit-log.log
    ++ tr -s '\t' ' '
    ++ cut '-d ' -f1
    + file_size=0
    + '[' 0 -gt 50000000 ']'
    ++ ls -1 /var/log/ovn/acl-audit-log.log
    ++ wc -l
    + num_files=1
    + '[' 1 -gt 5 ']'
    + sleep 30
    
  • Is this expected?

Environment

  • Red Hat OpenShift Container Platform (OCP) 4.15, 4.16, 4.17, 4.18, 4.19

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