[CNS|OCS] Container Native Storage logs on Openshift nodes are rotated rarely or not at all

Solution Verified - Updated -

Issue

  • Using Container Native Storage (CNS) on OpenShift (OCP), log files keep growing and are rotated rarely or not at all in the following locations:
    • /var/log/glusterfs/
    • /var/log/glusterfs/gluster-block/
    • /var/log/glusterfs/bricks/
    • /var/lib/origin/openshift.local.volumes/plugins/kubernetes.io/glusterfs/<vol-name>/*.log
  • OpenShift collects GB's of Gluster plugin logs
  • Why are gluster logs not rotated or are growing so fast

Environment

  • Openshift 3.x
  • Container Native Storage (CNS) 3.x
  • Openshift Container Storage (OCS) 3.x

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