[PATCH] [test] fix corosync.conf: no interface error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



systemctl status corosync (version: 2.4.5) report error:
  parse error in config: No interfaces defined

Signed-off-by: Zhao Heming <heming.zhao@xxxxxxxx>
---
 test/lib/test-corosync-conf | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/test/lib/test-corosync-conf b/test/lib/test-corosync-conf
index ccc958f1d1..e04be73998 100644
--- a/test/lib/test-corosync-conf
+++ b/test/lib/test-corosync-conf
@@ -3,6 +3,13 @@ totem {
         version: 2
         secauth: off
         cluster_name: test
+        interface {
+            ingnumber: 0
+            bindnetaddr: 127.0.0.1
+            mcastaddr: 239.255.255.100
+            mcastport: 5405
+            ttl: 1
+        }
 }
 nodelist {
         node {
@@ -12,6 +19,8 @@ nodelist {
 }
 quorum {
         provider: corosync_votequorum
+        expected_votes: 1
+        two_node: 0
 }
 logging {
         to_syslog: yes
-- 
2.24.0


_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux