Logs do not rotate in logrotate_crond when there is a symbolic link in /var/log/containers

Solution Verified - Updated -

Issue

  • Creating a symbolic link in /var/log/containers that points to another location can cause logs to stop rotating
  • A symbolic link was used for Swift logs in OpenStack 13, but when the environment was upgraded to OpenStack 16.1, the logrotate_crond container was not able to see the log directory

Environment

  • Red Hat OpenStack 16.1

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