[linux-lvm] [PATCH] [test] fix corosync.conf: no interface error
Heming Zhao
heming.zhao at suse.com
Wed Jan 15 02:17:47 UTC 2020
systemctl status corosync (version: 2.4.5) report error:
parse error in config: No interfaces defined
Signed-off-by: Zhao Heming <heming.zhao at suse.com>
---
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
More information about the linux-lvm
mailing list