Failure of "ovs-appctl -t /var/run/openvswitch/ovn-controller.$pid.ctl" to exit causes logrotate run to hang and cron.daily to lock indefinitely.

Solution Verified - Updated -

Issue

Found that logrotate run from cron.daily is hanging on running /etc/logrotate.d/openvswitch, and more specifically on rotating portion of rotating the ovn-controller log which calls for `ovs-appctl -t "$ctl" vlog/reopen 2>/dev/null"

This is only failing for the ovn-controller, not ovsdb-server or ovs-vswitchd.

/var/log/cron contains multiple entries containing "Job `cron.daily' locked by another anacron - skipping

Environment

Red Hat Virtualization 4.2

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