diff --git a/fix-pcs-quorum-device-remove.patch b/fix-pcs-quorum-device-remove.patch new file mode 100644 index 0000000000000000000000000000000000000000..45b079f9b532a37d5d57847c78b43debba1a59d8 --- /dev/null +++ b/fix-pcs-quorum-device-remove.patch @@ -0,0 +1,25 @@ +From 0b2dc6cc49715d8ae006b9f6877324e76ea9a271 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Mon, 4 Sep 2023 18:20:31 +0800 +Subject: [PATCH] fix pcs quorum device remove + +--- + pcsd/remote.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pcsd/remote.rb b/pcsd/remote.rb +index 9dabdd0..ed5f347 100644 +--- a/pcsd/remote.rb ++++ b/pcsd/remote.rb +@@ -1987,7 +1987,7 @@ def qdevice_net_client_destroy(param, request, auth_user) + end + stdout, stderr, retval = run_cmd( + auth_user, +- PCS, '--' 'qdevice', 'net-client', 'destroy' ++ PCS, '--', 'qdevice', 'net-client', 'destroy' + ) + if retval != 0 + return [400, stderr.join('')] +-- +2.39.1 + diff --git a/pcs.spec b/pcs.spec index 700a1fc5a20d25122212ec48e364c51d5ec2ce05..7a1f3d1abefe925151f2234ef9d0e6ba18f6ff23 100644 --- a/pcs.spec +++ b/pcs.spec @@ -1,6 +1,6 @@ Name: pcs Version: 0.11.2 -Release: 4 +Release: 5 License: GPLv2 and BSD-2-Clause and ASL 2.0 and MIT URL: https://github.com/ClusterLabs/pcs Summary: Pacemaker Configuration System @@ -43,6 +43,8 @@ Patch3: Support-for-openEuler.patch Patch4: Adjust-regex-to-support-json-2.6.3-error.patch Patch5: Fix-typing-in-resource_agent-package.patch Patch6: fix-pcs-config-checkpoint-diff-command.patch +#https://github.com/ClusterLabs/pcs/pull/522 +Patch7: fix-pcs-quorum-device-remove.patch # git for patches BuildRequires: git-core @@ -406,6 +408,9 @@ run_all_tests %license pyagentx_LICENSE.txt %changelog +* Tue Sep 05 2023 zouzhimin - 0.11.2-5 +- Fix pcs quorum device remove + * Thu Aug 31 2023 bizhiyuan - 0.11.2-4 - Fix pcs config checkpoint diff command