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

Solution Unverified - 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.