Description of problem: Running '/usr/share/scripts/ovn/ovn-ctl promote_ovnnb/promote_ovnsb is failing in OVN 2.12. Because of this pacemaker ovn resource will also fail. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Start ovn-northd service 2. Run - /usr/share/scripts/ovn/ovn-ctl promote_ovnnb Actual results: This is failing. Expected results: It should not fail. Additional info:
Correction : Running demote_ovnnb/demote_ovnsb fails. Eg. /usr/share/ovn/scripts/ovn-ctl demote_ovnnb --db-nb-sync-from-addr=tcp:192.0.2.254:6641 /usr/share/ovn/scripts/ovn-ctl: line 64: /etc/ovn/ovnnb-active.conf: No such file or directory /usr/share/ovn/scripts/ovn-ctl: active server details not set
Verified on the latest version: [root@dell-per730-42 share]# uname -a Linux dell-per730-42.rhts.eng.pek2.redhat.com 3.10.0-1101.el7.x86_64 #1 SMP Sat Oct 5 04:50:26 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux [root@dell-per730-42 share]# rpm -qa | grep openvswitch kernel-kernel-networking-openvswitch-ovs_qinq-1.3-34.noarch openvswitch-selinux-extra-policy-1.0-14.el7fdp.noarch openvswitch2.12-2.12.0-3.el7fdp.x86_64 ^[[A[root@dell-per730-42 share]# rpm -qa | grep ovn ovn2.12-host-2.12.0-3.el7fdp.x86_64 ovn2.12-central-2.12.0-3.el7fdp.x86_64 ovn2.12-2.12.0-3.el7fdp.x86_64 [root@dell-per730-42 share]# [root@dell-per730-42 share]# /usr/share/ovn/scripts/ovn-ctl demote_ovnnb --db-nb-sync-from-addr=tcp:192.0.2.254:6641 [root@dell-per730-42 share]# /usr/share/ovn/scripts/ovn-ctl promote_ovnnb [root@dell-per730-42 share]# pwd /usr/share [root@dell-per730-42 share]#
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/RHEA-2019:4208