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, 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