- podman-etcd: fix listen-peer-urls binding
Resolves: RHEL-88431
This commit is contained in:
parent
4fe47b1875
commit
79171a398a
36
RHEL-88431-3-podman-etcd-fix-listen-peer-urls-binding.patch
Normal file
36
RHEL-88431-3-podman-etcd-fix-listen-peer-urls-binding.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
From 5f7b9b045d4713e8ff27a4fc8b2799669c1b823a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Carlo Lobrano <c.lobrano@gmail.com>
|
||||||
|
Date: Tue, 20 May 2025 09:34:03 +0200
|
||||||
|
Subject: [PATCH] podman-etcd: fix listen-peer-urls binding (#2049)
|
||||||
|
|
||||||
|
This change ensures learner etcd listens on all interfaces for peer
|
||||||
|
connections, resolving accessibility issues.
|
||||||
|
|
||||||
|
Fix: OCPBUGS-56447
|
||||||
|
---
|
||||||
|
heartbeat/podman-etcd | 12 +++---------
|
||||||
|
1 file changed, 3 insertions(+), 9 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/heartbeat/podman-etcd b/heartbeat/podman-etcd
|
||||||
|
index 3a2323260..6762112ec 100755
|
||||||
|
--- a/heartbeat/podman-etcd
|
||||||
|
+++ b/heartbeat/podman-etcd
|
||||||
|
@@ -436,15 +436,9 @@ prepare_env() {
|
||||||
|
ETCD_PEER_CERT=$(get_env_from_manifest "ETCDCTL_CERT")
|
||||||
|
ETCD_PEER_KEY=$(get_env_from_manifest "ETCDCTL_KEY")
|
||||||
|
|
||||||
|
- if is_learner; then
|
||||||
|
- LISTEN_CLIENT_URLS="$NODEIP"
|
||||||
|
- LISTEN_PEER_URLS="$NODEIP"
|
||||||
|
- LISTEN_METRICS_URLS="$NODEIP"
|
||||||
|
- else
|
||||||
|
- LISTEN_CLIENT_URLS="0.0.0.0"
|
||||||
|
- LISTEN_PEER_URLS="0.0.0.0"
|
||||||
|
- LISTEN_METRICS_URLS="0.0.0.0"
|
||||||
|
- fi
|
||||||
|
+ LISTEN_CLIENT_URLS="0.0.0.0"
|
||||||
|
+ LISTEN_PEER_URLS="0.0.0.0"
|
||||||
|
+ LISTEN_METRICS_URLS="0.0.0.0"
|
||||||
|
}
|
||||||
|
|
||||||
|
archive_data_folder()
|
@ -45,7 +45,7 @@
|
|||||||
Name: resource-agents
|
Name: resource-agents
|
||||||
Summary: Open Source HA Reusable Cluster Resource Scripts
|
Summary: Open Source HA Reusable Cluster Resource Scripts
|
||||||
Version: 4.16.0
|
Version: 4.16.0
|
||||||
Release: 15%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
Release: 16%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
||||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
URL: https://github.com/ClusterLabs/resource-agents
|
URL: https://github.com/ClusterLabs/resource-agents
|
||||||
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
||||||
@ -74,6 +74,7 @@ Patch21: RHEL-13089-2-crypt-fix-crypt_type-check-and-usage.patch
|
|||||||
Patch22: RHEL-88538-Filesystem-avoid-chance-of-getting-the-wrong-bind-mount.patch
|
Patch22: RHEL-88538-Filesystem-avoid-chance-of-getting-the-wrong-bind-mount.patch
|
||||||
Patch23: RHEL-88431-1-podman-etcd-new-ra.patch
|
Patch23: RHEL-88431-1-podman-etcd-new-ra.patch
|
||||||
Patch24: RHEL-88431-2-podman-etcd-remove-unused-actions-from-metadata.patch
|
Patch24: RHEL-88431-2-podman-etcd-remove-unused-actions-from-metadata.patch
|
||||||
|
Patch25: RHEL-88431-3-podman-etcd-fix-listen-peer-urls-binding.patch
|
||||||
|
|
||||||
# bundled ha-cloud-support libs
|
# bundled ha-cloud-support libs
|
||||||
Patch500: ha-cloud-support-aliyun.patch
|
Patch500: ha-cloud-support-aliyun.patch
|
||||||
@ -257,6 +258,7 @@ exit 1
|
|||||||
%patch -p1 -P 22
|
%patch -p1 -P 22
|
||||||
%patch -p1 -P 23 -F1
|
%patch -p1 -P 23 -F1
|
||||||
%patch -p1 -P 24
|
%patch -p1 -P 24
|
||||||
|
%patch -p1 -P 25
|
||||||
|
|
||||||
# bundled ha-cloud-support libs
|
# bundled ha-cloud-support libs
|
||||||
%patch -p1 -P 500
|
%patch -p1 -P 500
|
||||||
@ -587,11 +589,15 @@ rm -rf %{buildroot}/usr/share/doc/resource-agents
|
|||||||
%{_usr}/lib/ocf/lib/heartbeat/OCF_*.pm
|
%{_usr}/lib/ocf/lib/heartbeat/OCF_*.pm
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Apr 28 2025 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.16.0-15
|
* Tue May 20 2025 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.16.0-16
|
||||||
- podman-etcd: new resource agent
|
- podman-etcd: new resource agent
|
||||||
|
|
||||||
|
Resolves: RHEL-88431
|
||||||
|
|
||||||
|
* Mon Apr 28 2025 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.16.0-15
|
||||||
- Filesystem: avoid chance of getting the wrong bind mount
|
- Filesystem: avoid chance of getting the wrong bind mount
|
||||||
|
|
||||||
Resolves: RHEL-88431, RHEL-88538
|
Resolves: RHEL-88538
|
||||||
|
|
||||||
* Thu Apr 24 2025 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.16.0-14
|
* Thu Apr 24 2025 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.16.0-14
|
||||||
- crypt: new resource agent
|
- crypt: new resource agent
|
||||||
|
Loading…
Reference in New Issue
Block a user