How to rotate Podman ctr.log for containerized Ceph

Solution Verified - Updated -

Issue

  • A podman container is running, such as containerized Ceph with MON and OSD containers, and the disk space consumed by the logfile "/var/lib/containers/storage/overlay-containers/[CONTAINER-HASH]/userdata/ctr.log" is increasing significantly.
  • The "ctr.log" is required to be enabled.
  • It is necessary to keep rotated logs of the "ctr.log" file.

Environment

  • Red Hat Ceph Storage 4.1

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