From 59f91332a0f45eebbe62d4caa00a1ec283d41a1f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Feb 05 2022 05:27:57 +0000 Subject: import pcs-0.10.12-5.el8 --- diff --git a/SOURCES/bz2047983-01-Fix-snmp-client.patch b/SOURCES/bz2047983-01-Fix-snmp-client.patch new file mode 100644 index 0000000..a520771 --- /dev/null +++ b/SOURCES/bz2047983-01-Fix-snmp-client.patch @@ -0,0 +1,25 @@ +From 68aa09a89804084e2764b06f0ae37f56cc609bda Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Valentin=20Vidi=C4=87?= +Date: Wed, 15 Dec 2021 20:32:26 +0100 +Subject: [PATCH 1/2] Fix snmp client + +Required constant is missing causing the command to fail on startup and breaking the pcs_snmp_agent service. +--- + pcsd/pcsd-cli-main.rb | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pcsd/pcsd-cli-main.rb b/pcsd/pcsd-cli-main.rb +index 29b9006d..be72d543 100644 +--- a/pcsd/pcsd-cli-main.rb ++++ b/pcsd/pcsd-cli-main.rb +@@ -10,6 +10,7 @@ require 'remote.rb' + + + PCS = get_pcs_path() ++PCS_INTERNAL = get_pcs_internal_path() + $logger_device = StringIO.new + $logger = Logger.new($logger_device) + early_log($logger) +-- +2.34.1 + diff --git a/SOURCES/do-not-support-cluster-setup-with-udp-u-transport.patch b/SOURCES/do-not-support-cluster-setup-with-udp-u-transport.patch index 9348091..a899160 100644 --- a/SOURCES/do-not-support-cluster-setup-with-udp-u-transport.patch +++ b/SOURCES/do-not-support-cluster-setup-with-udp-u-transport.patch @@ -1,7 +1,7 @@ -From a917cf5ad7883103987b8e939bd2d899c5ba6c35 Mon Sep 17 00:00:00 2001 +From 5ea2b99f6bd32b74e20ad2f83d131a735df1cd24 Mon Sep 17 00:00:00 2001 From: Ivan Devat Date: Tue, 20 Nov 2018 15:03:56 +0100 -Subject: [PATCH 5/5] do not support cluster setup with udp(u) transport +Subject: [PATCH 2/2] do not support cluster setup with udp(u) transport --- pcs/pcs.8.in | 2 ++ @@ -49,5 +49,5 @@ index 2f26e831..a7702ac4 100644 #csetup-transport-options.knet .without-knet { -- -2.31.1 +2.34.1 diff --git a/SPECS/pcs.spec b/SPECS/pcs.spec index d56514a..c045f3a 100644 --- a/SPECS/pcs.spec +++ b/SPECS/pcs.spec @@ -1,6 +1,6 @@ Name: pcs Version: 0.10.12 -Release: 4%{?dist} +Release: 5%{?dist} # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ # https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses # GPLv2: pcs @@ -124,6 +124,7 @@ Patch3: bz2032997-01-skip-checking-of-scsi-devices-to-be-removed.patch Patch4: bz2036633-01-Make-ocf-linbit-drbd-agent-pass-OCF-validation.patch Patch5: bz1990784-01-Multiple-fixes-of-pcs-resource-move-autodelete-comma.patch Patch6: bz2022463-01-fix-creating-empty-cib.patch +Patch7: bz2047983-01-Fix-snmp-client.patch # Downstream patches do not come from upstream. They adapt pcs for specific # RHEL needs. @@ -332,6 +333,7 @@ update_times_patch %{PATCH3} update_times_patch %{PATCH4} update_times_patch %{PATCH5} update_times_patch %{PATCH6} +update_times_patch %{PATCH7} update_times_patch %{PATCH101} cp -f %SOURCE1 %{pcsd_public_dir}/images @@ -581,6 +583,10 @@ remove_all_tests %license pyagentx_LICENSE.txt %changelog +* Tue Feb 01 2022 Miroslav Lisik - 0.10.12-5 +- Fixed snmp client +- Resolves: rhbz#2047983 + * Tue Jan 25 2022 Miroslav Lisik - 0.10.12-4 - Fixed cluster destroy in web ui - Fixed covscan issue in web ui