Skip to content

Commit

Permalink
Solve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Varkoly committed Mar 23, 2023
2 parents 2c8775a + a4c0732 commit 6b68d26
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 24 deletions.
12 changes: 11 additions & 1 deletion package/yast2-cluster.changes
@@ -1,5 +1,15 @@
-------------------------------------------------------------------
Fri Nov 4 15:20:47 UTC 2022 - XinLiang <XLiang@suse.com>
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 14:59:10 UTC 2022 - XinLiang <XLiang@suse.com>

- bsc#1204530, set crypto_hash as "sha1" and set crypto_cipher as "aes256",
- set transport as "udpu" by default,
Expand Down
2 changes: 1 addition & 1 deletion package/yast2-cluster.spec
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
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 6b68d26

Please sign in to comment.