Description of problem: With this user can pause/resume the ovn-northd by running ovs-appctl -t ovn-northd pause/resume If an ovn-northd is paused, it should not process any changes to the DB. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Submitted the patch upstream for review - https://patchwork.ozlabs.org/patch/1116716/
Verified on 2.11..1-8: [root@ibm-x3650m5-03 bz1720728]# rpm -qa | grep ovn ovn2.11-2.11.1-8.el7fdp.x86_64 ovn2.11-central-2.11.1-8.el7fdp.x86_64 kernel-kernel-networking-openvswitch-ovn-1.0-148.noarch ovn2.11-host-2.11.1-8.el7fdp.x86_64 + ovn-nbctl ls-add ls2 + ovn-sbctl lflow-list ls2 + echo 0 0 + ovn-nbctl ls-del ls2 + ovn-sbctl lflow-list ls2 ovn-sbctl: ls2 is not a UUID or the beginning of a UUID + echo 1 1 + ovs-appctl -t ovn-northd is-paused false + ovs-appctl -t ovn-northd pause <=== pause ovn-nbrthd + ovs-appctl -t ovn-northd is-paused true + ovn-nbctl ls-add ls2 + ovn-sbctl lflow-list ls2 + echo 1 1 <=== the changes to DB is not processed by ovn-northd after ovn-northd is paused + ovs-appctl -t ovn-northd resume <=== resumed + ovs-appctl -t ovn-northd is-paused false + ovn-sbctl lflow-list ls2 + echo 0 0 <=== changes to DB is processed + ovn-nbctl ls-del ls2
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3718