Issue:
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.
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
Steps to Reproduce:
Run
# ovs-appctl -t /var/run/openvswitch/ovn-controller.$pid.ctl
Observe that this fails on any hypervisor it's run on, even when run manually, hanging indefinitely.
Other notes:
There do not seem to be any logs at this time showing why this fails. Any additional debugging steps would be appreciated.
Hi,
The Open vSwitch 2.9 is no longer supported.
If this issue is still relevant, please open a new ticket using a supported Open vSwitch version at https://issues.redhat.com/projects/FDP
Thanks