Skip to content

Commit

Permalink
Merge pull request #106 from varkoly/SLE-15-SP5
Browse files Browse the repository at this point in the history
There are some issues in yast2-cluster write function
  • Loading branch information
varkoly authored Mar 23, 2023
2 parents 2c8775a + 42f7df4 commit 09b2309
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 23 deletions.
10 changes: 10 additions & 0 deletions package/yast2-cluster.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 23 07:55:52 UTC 2023 - Peter Varkoly <varkoly@suse.com>

- bsc#1209602 bugs in yast2-cluster Write funcion
- Remove sensless call to sysconfig.openais
- Remove sensless sysconfig.openais agent
- Enable csync2.socket
- Add SCR.Write(PATH,nil) to save the configuration inmediately
- Version 4.5.2

-------------------------------------------------------------------
Fri Nov 4 15:20:47 UTC 2022 - XinLiang <XLiang@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-cluster.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
%define _fwdefdir %{_prefix}/lib/firewalld/services

Name: yast2-cluster
Version: 4.5.1
Version: 4.5.2
Release: 0
Summary: Configuration of cluster
License: GPL-2.0-only
Expand Down
9 changes: 3 additions & 6 deletions src/modules/Cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -531,13 +531,10 @@ def save_csync2_conf
SCR.Write(path(".csync2_ha.value.ha_group.host"), @csync2_host)
SCR.Write(path(".csync2_ha.value.ha_group.include"), @csync2_include)
SCR.Write(path(".csync2_ha.value.ha_group.key"), [@csync2_key_file])
SCR.Write(path(".csync2_ha"), nil)

SCR.Write(path(".sysconfig.pacemaker.LRMD_MAX_CHILDREN"), 4)
SCR.Write(
path(".sysconfig.openais.COROSYNC_DEFAULT_CONFIG_IFACE"),
"openaisserviceenableexperimental:corosync_parser"
)

SCR.Write(path(".sysconfig.pacemaker"), nil)
nil
end

Expand Down Expand Up @@ -747,7 +744,7 @@ def Write
SCR.Execute(path(".target.bash_output"), "systemctl enable corosync.service")
end
if @global_startcsync2 == true
SCR.Execute(path(".target.bash_output"), "systemctl enable csync2")
SCR.Execute(path(".target.bash_output"), "systemctl enable csync2.socket")
end

return false if Abort()
Expand Down
16 changes: 0 additions & 16 deletions src/scrconf/cfg_openais.scr

This file was deleted.

0 comments on commit 09b2309

Please sign in to comment.