17
0

6 Commits

Author SHA256 Message Date
2d4ac42510 jsc#PED-14860 2025-12-22 15:16:21 +01:00
6f43b44015 Fix merge 2025-12-22 13:00:16 +01:00
88b49842fa New version 2025-12-17 18:55:47 +01:00
b0fc26f829 Update to version 4.16.0+git109.0a3c03c0 2025-10-20 16:07:37 +02:00
fe083d6760 Accepting request 1302689 from network:ha-clustering:Factory
- Update to version 4.16.0+git92.52e588f2:
  * Fix shellcheck errors on output redirection [SC2328]

OBS-URL: https://build.opensuse.org/request/show/1302689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/resource-agents?expand=0&rev=142
2025-09-05 19:42:13 +00:00
1e69e0a64b - Update to version 4.16.0+git92.52e588f2:
* Fix shellcheck errors on output redirection [SC2328]

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=82
2025-09-04 08:06:09 +00:00
6 changed files with 78 additions and 50 deletions

View File

@@ -1,33 +0,0 @@
From ef5552acb8177dc97af6722d2be2041248e1d475 Mon Sep 17 00:00:00 2001
From: Peter Varkoly <varkoly@suse.com>
Date: Mon, 22 Sep 2025 15:36:07 +0200
Subject: [PATCH] Enhance documentation: setproctitle_enable and background
must be set correctly. Use -f for pgrep to find the right pid.
---
heartbeat/vsftpd.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/heartbeat/vsftpd.in b/heartbeat/vsftpd.in
index 3831c4fa82..e62171f554 100644
--- a/heartbeat/vsftpd.in
+++ b/heartbeat/vsftpd.in
@@ -53,7 +53,8 @@ cat <<END
<resource-agent name="vsftpd" version="1.0">
<version>1.0</version>
<longdesc lang="en">
-This script manages vsftpd
+This script manages vsftpd.
+The parameter background in the vsftpd.conf must be set to yes and setproctitle_enable must be disabled. Otherwise the RA can not work.
</longdesc>
<shortdesc lang="en">Manages an vsftpd</shortdesc>
@@ -155,7 +156,7 @@ vsftpd_start()
exit $OCF_ERR_GENERIC
fi
- PID=$( pgrep $OCF_RESKEY_binpath )
+ PID=$( pgrep -f $OCF_RESKEY_binpath )
case $? in
0)
ocf_log info "PID file (pid:${PID} at $PIDFILE) created for vsftpd."

View File

@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/ClusterLabs/resource-agents.git</param>
<param name="changesrevision">968ad70124518348f8115fc414cf48bd1193e538</param>
<param name="changesrevision">92719d83353a8c7128f5fc72812e4b7c06cf8a6b</param>
</service>
</servicedata>
</servicedata>

Binary file not shown.

View File

@@ -1,9 +1,73 @@
-------------------------------------------------------------------
Wed Sep 24 08:33:56 UTC 2025 - Peter Varkoly <varkoly@suse.com>
Mon Dec 22 11:58:06 UTC 2025 - Peter Varkoly <varkoly@suse.com>
- L3: OCF Resource Agents for vsftpd failure: No PID found (bsc#1249819)
Add patch:
2075.patch
- (jsc#PED-14860) Fix packages for Immutable Mode - resource-agents
-------------------------------------------------------------------
Wed Dec 17 17:47:09 UTC 2025 - Peter Varkoly <varkoly@suse.com>
- Update to version 4.17.0+git18.92719d83:
* Filesystem: signal many processes in parallel
* podman-etcd: sync environment variables with Pod manifest
* OCPEDGE-2231: podman-etcd: improve error handling to support retry on start errors (#2105)
* Filesystem: new force_unmount=move option
* Filesystem: try umount immediately after signals are sent
* Filesystem: tmpfs/overlayfs have no need for systemd_drop_in
* Filesystem: improve shell trace (set -x) output
* OCPEDGE-2213: podman-etcd: fix to prevent learner from starting before cluster is ready (#2098)
* exportfs: fix grep error on stop
-------------------------------------------------------------------
Tue Nov 25 13:22:46 UTC 2025 - Peter Varkoly <varkoly@suse.com>
- Update to version 4.17.0+git5.e3a22113:
* podman-etcd: remove test code (#2103)
* ocft: fix failing tests in resource-agents v4.17.0
* OCPBUGS-60098: podman-etcd: prevent last active member from leaving the etcd member list
* build: update ChangeLog for 4.17.0
* nginx: restore SELinux context for pid-file during validate-all
* build: update ChangeLog for 4.17.0-rc1
* storage_mon.c: fix block-seek mask deriving it from the block-size
* storage_mon.c: refactor moving up getting blocksize
* storage_mon: refactor removing basically duplicate code
* podman-etcd: fix count of fnc holders in container_health_check
* nginx: fix ls-redirection, mute non-errors in validate-all, and set unique intervals for monitor actions
* powervs-move-ip: add optional iflabel argument, increase maximum number of retries for requests (#2092)
* nfsserver: set systemd_running before nfsserver_validate() to avoid error message
* oracle: improve monpassword description
* MailTo: add s-nail support for multiple recipients
* Update truly active resources count with safer empty calculation
* podman-etcd: add container crash detection with coordinated recovery
* db2: fix monitor_retries_sleep variable name
* Filesystem: speed up get pids (#2084)
* podman-etcd: compute dynamic revision bump from maxRaftIndex (#2087)
* OCPEDGE-1502: feat: podman-etcd: add support for cert rotation (#2085)
* portblock: add Promoted monitor op, validate-all checks, and add "method" and "status_check" parameters
* db2: use reintegration flag to avoid race condition on cluster reintegration, and removed FAL, as it's no longer needed
* Redo counting of active_resources
* spec: make nfs-utils a weak dependency
* OCPBUGS-42808: podman-etcd: add automatic learner member promotion (#2078)
* portblock: fix incorrect promotable description
* nfsserver: add ability to set e.g. "pipefs-directory=/run/nfs/rpc_pipefs" in /etc/nfs.conf to avoid issues with non-clustered Kerberized mounts
-------------------------------------------------------------------
Sun Oct 05 09:30:34 UTC 2025 - Peter Varkoly <varkoly@suse.com>
- Update to version 4.16.0+git104.b9d8ef2b:
* Enhance documentation: setproctitle_enable and background must be set correctly. (#2075) (bsc#1249819)
* podman-etcd: Add cluster-wide force_new_cluster attribute checking
* powervs-move-ip: new resource agent (#2072)
* portblock: add nftables and multi-state support
* podman-etcd: preserve containers for debugging
* OCPBUGS-60977: podman-etcd: wrap ipv6 address in brackets for attribute_node_ip (#2068)
* db2: add "monitor_retries", "monitor_sleep", and "monitor_retry_all_errors" parameters to be able to avoid failing on first try
* db2: add "skip_basic_sql_health_check" parameter to avoid failing on systems with high load
-------------------------------------------------------------------
Thu Sep 04 08:05:12 UTC 2025 - varkoly@suse.com
- Update to version 4.16.0+git92.52e588f2:
* Fix shellcheck errors on output redirection [SC2328]
-------------------------------------------------------------------
Thu Jul 24 07:38:20 UTC 2025 - Peter Varkoly <varkoly@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package resource-agents
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: resource-agents
Version: 4.16.0+git90.968ad701
Version: 4.17.0+git18.92719d83
Release: 0
Summary: HA Reusable Cluster Resource Scripts
License: GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
@@ -32,17 +32,16 @@ Patch2: 0002-nfsserver-fix-path-to-sm-notify.patch
Patch3: 0003-ldirectord-don-t-create-subsys-lock.patch
# PATCH-FIX-OPENSUSE: Revert moving binaries to /usr/libexec
Patch4: 0004-Revert-Low-build-Move-binaries-in-usr-lib-heartbeat-.patch
# PATCH-FIX-OPENSUSE: Remove deprecated perl-IO-Socket-INET6 dependency
Patch5: resource-agents-deprecate-INET6.patch
## PATCH-FIX-OPENSUSE:
%if "%{python_flavor}" == "python311"
Patch7: use-python-311.patch
%endif
Patch8: nfsnotify.patch
Patch9: portblock.patch
Patch10: bsc-1241692.patch
Patch11: 2075.patch
# PATCH-FIX-OPENSUSE: Remove deprecated perl-IO-Socket-INET6 dependency
Patch10: resource-agents-deprecate-INET6.patch
Patch11: bsc-1241692.patch
BuildRequires: %{python_module requests}
BuildRequires: %{python_module urllib3}
@@ -114,7 +113,6 @@ See 'ldirectord -h' and linux-ha/doc/ldirectord for more information.
%patch -P 2 -p1
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
%if "%{python_flavor}" == "python311"
%patch -P 7 -p1
%endif
@@ -218,7 +216,6 @@ ln -s %{_prefix}/lib/ocf/resource.d/heartbeat/aws-vpc-move-ip aws-vpc-move-ip
%{_sbindir}/ocf-tester
%{_sbindir}/ocft
%{_includedir}/heartbeat
%ghost %dir %attr (1755, root, root) %{_rundir}/resource-agents
%doc AUTHORS
%license COPYING
%license COPYING.LGPL