pods in openshift-vsphere-infra namespace so much verbose in RHOCP 4

Solution Verified - Updated -

Issue

  • The log storage is getting full caused by the keepalived-monitor and the haproxy pods in the openshift-vsphere-infra namespace:

    $ oc logs keepalived-master-example-0 -c  keepalived-monitor -n openshift-vsphere-infra`2024-02-15T08:20:21 
    2024-02-15T08:20:21.671390814Z time="2024-02-15T08:20:21Z" level=info msg="Searching for Node IP of worker-example-0. Using 'x.x.x.x/24' as machine network. Filtering out VIPs '[x.x.x.x x.x.x.x]'."
    2024-02-15T08:20:21.671390814Z time="2024-02-15T08:20:21Z" level=info msg="For node worker-example-0 selected peer address x.x.x.x using NodeInternalIP"
    2024-02-15T08:20:21.733399279Z time="2024-02-15T08:20:21Z" level=info msg="Searching for Node IP of worker-example-0. Using 'x.x.x.x' as machine network. Filtering out VIPs '[x.x.x.x x.x.x.x]'."
    2024-02-15T08:20:21.733421398Z time="2024-02-15T08:20:21Z" level=info msg="For node worker-example-0 selected peer address x.x.x.x using NodeInternalIP"
    $ oc logs haproxy-master-0-example -c haproxy-monitor -n openshift-vsphere-infra
    ...
    2024-02-15T08:20:00.517159455Z time="2024-02-15T08:20:00Z" level=info msg="Searching for Node IP of master-example-0. Using 'x.x.x.x/24' as machine network. Filtering out VIPs '[x.x.x.x]'."
    2024-02-15T08:20:00.517159455Z time="2024-02-15T08:20:00Z" level=info msg="For node master-example-0 selected peer address x.x.x.x using NodeInternalIP"
    
  • The keepalived-monitor and the haproxy pods in the openshift-vsphere-infra namespace are printing as INFO logs that should be DEBUG

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.14
    • 4.15
    • 4.16
  • VSphere IPI installation
  • Red Hat OpenShift Logging (RHOL)

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