In RHOSP13, services still refer to the rotated logs.

Solution Verified - Updated -

Issue

  • In RHOSP13, services still refer to the lotated logs. The new log file is empty and lsof shows that rotated old log is still opened by a service.
    Example output of lsof command.

    # for f in `ls /var/log/containers/**/*.log.1`; do lsof $f; done
    COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF      NODE NAME
    ceilomete 31629 root    3w   REG  252,2 10545209 683731349 /var/log/containers/ceilometer/compute.log.1
    

Environment

  • Red Hat OpenStack Platform 13
  • puppet-tripleo

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