From e87eb26cdf64376b06de46823c4eaecdf4d535c9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 18 2019 16:50:20 +0000 Subject: import pcs-0.10.1-4.el8_0.3 --- diff --git a/SOURCES/fix-communication-over-IPv6.patch b/SOURCES/fix-communication-over-IPv6.patch new file mode 100644 index 0000000..4f51e9d --- /dev/null +++ b/SOURCES/fix-communication-over-IPv6.patch @@ -0,0 +1,29 @@ +From c14ed896c3edc910037cb9765881005a3d3683b2 Mon Sep 17 00:00:00 2001 +From: Ivan Devat +Date: Fri, 24 May 2019 09:26:04 +0200 +Subject: [PATCH] fix communication over IPv6 + +--- + pcs/utils.py | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/pcs/utils.py b/pcs/utils.py +index aa45e0dc..fd29e2fd 100644 +--- a/pcs/utils.py ++++ b/pcs/utils.py +@@ -476,8 +476,10 @@ def sendHTTPRequest( + token = known_host.token + if port is None: + port = settings.pcsd_default_port +- url = "https://{addr}:{port}/{request}".format( +- addr=addr, request=request, port=port ++ url = "https://{host}:{port}/{request}".format( ++ host="[{0}]".format(addr) if ":" in addr else addr, ++ request=request, ++ port=port + ) + if "--debug" in pcs_options: + print("Sending HTTP Request to: " + url) +-- +2.21.0 + diff --git a/SPECS/pcs.spec b/SPECS/pcs.spec index 5a99bb4..86c1a09 100644 --- a/SPECS/pcs.spec +++ b/SPECS/pcs.spec @@ -1,6 +1,6 @@ Name: pcs Version: 0.10.1 -Release: 4%{?dist}.2 +Release: 4%{?dist}.3 # https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses # GPLv2: pcs # ASL 2.0: tornado @@ -10,7 +10,7 @@ URL: https://github.com/ClusterLabs/pcs Group: System Environment/Base Summary: Pacemaker Configuration System #building only for architectures with pacemaker and corosync available -ExclusiveArch: i686 x86_64 s390x ppc64le aarch64 %{arm} +ExclusiveArch: i686 x86_64 s390x ppc64le aarch64 %global pcs_snmp_pkg_name pcs-snmp @@ -89,6 +89,7 @@ Patch101: do-not-support-cluster-setup-with-udp-u-transport.patch Patch102: bz1690290-GUI-cannot-create-a-cluster-if-k.patch Patch103: bz1690304-GUI-submitting-of-create-cluster.patch Patch104: fix-web-UI-dashboard-data-loading-timeout.patch +Patch105: fix-communication-over-IPv6.patch # git for patches BuildRequires: git @@ -238,7 +239,7 @@ update_times_patch %{PATCH1} update_times_patch %{PATCH2} update_times_patch %{PATCH3} update_times_patch %{PATCH4} -update_times_patch %{PATCH5} +update_times_patch %{PATCH105} cp -f %SOURCE1 pcsd/public/images @@ -465,8 +466,9 @@ run_all_tests %license pyagentx_LICENSE.txt %changelog -* Thu May 23 2019 Pablo Greco - 0.10.1-4.el8_0.2 -- Fix build on armhfp +* Fri May 24 2019 Ivan Devat - 0.10.1-4.el8_0.2 +- Fixed communication over IPv6 +- Resolves: rhbz#1710067 * Mon Apr 8 2019 Ondrej Mular - 0.10.1-4.el8_0.2 - Fixed web UI dashboard data loading