17
0
Files
resource-agents/use-python-311.patch

21 lines
751 B
Diff
Raw Permalink Normal View History

--- resource-agents-4.16.0+git38.da9ef4e2/configure.ac.orig 2025-01-28 18:29:13.312397138 +0100
+++ resource-agents-4.16.0+git38.da9ef4e2/configure.ac 2025-01-28 18:29:53.144814319 +0100
- drop HA package cluster-glue and Linux-HA style fence agents in FrameworkOne (jsc#PED-8498) Remove dependency cluster-glue-devel - Update to version 4.16.0+git38.da9ef4e2: * storage-mon: log "storage_mon is already running" in start-action * storage-mon: check if daemon is already running during start-action * storage-mon: replace dashes with underscores in functions * ocf-binaries: add FGREP * Filesystem: dont report warnings when creating a Filesystem resource * ibm-cloud-vpc-move-fip: new resource agent (#2008) * ibm-cloud-vpc-cr-vip: fix ImportError logging * All agents: use detected grep -E/-F instead of egrep/fgrep when detected * ibm-cloud-vpc-cr-vip: dont build if ibm_cloud_fail_over is not installed * nfsserver: dont use init-scripts if systemd is running * ibm-cloud-vpc-cr-vip: new resource agent (#2002) * ocf-shellfuncs: fixed bash systax error added at a25f08cf98d784894df9c52960eff5ccef059393 * openstack-cinder-volume: fix detach not working during start-action after #2000 * openstack-cinder-volume: wait for volume to be available * spec: update Requires paths for RHEL10/CentOS 10 * awsvip: let user specify which interface to use, and make the parameter optional in aws-vpc-move-ip * aws.sh: add get_interface_mac() * Mid: storage-mon RA: Wait until monitor confirms the startup pid according to the OCF resource specification. * High: storage-mon: Correct the timing of setting notification values to storage-mon(RA) clients. * aws.sh/ocf-shellfuncs: add ability to fresh token if it's invalid * aws.sh: chmod 600 $TOKEN_FILE, add get_instance_id() with DMI support, and use get_instance_id() in AWS agents OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=56
2025-01-28 15:59:24 +00:00
@@ -503,7 +503,7 @@
AC_SUBST(RM)
AC_SUBST(TEST)
-AM_PATH_PYTHON([3.6])
+AM_PATH_PYTHON([3.11])
if test -z "$PYTHON"; then
echo "*** Essential program python not found" 1>&2
exit 1
@@ -523,7 +523,7 @@
- drop HA package cluster-glue and Linux-HA style fence agents in FrameworkOne (jsc#PED-8498) Remove dependency cluster-glue-devel - Update to version 4.16.0+git38.da9ef4e2: * storage-mon: log "storage_mon is already running" in start-action * storage-mon: check if daemon is already running during start-action * storage-mon: replace dashes with underscores in functions * ocf-binaries: add FGREP * Filesystem: dont report warnings when creating a Filesystem resource * ibm-cloud-vpc-move-fip: new resource agent (#2008) * ibm-cloud-vpc-cr-vip: fix ImportError logging * All agents: use detected grep -E/-F instead of egrep/fgrep when detected * ibm-cloud-vpc-cr-vip: dont build if ibm_cloud_fail_over is not installed * nfsserver: dont use init-scripts if systemd is running * ibm-cloud-vpc-cr-vip: new resource agent (#2002) * ocf-shellfuncs: fixed bash systax error added at a25f08cf98d784894df9c52960eff5ccef059393 * openstack-cinder-volume: fix detach not working during start-action after #2000 * openstack-cinder-volume: wait for volume to be available * spec: update Requires paths for RHEL10/CentOS 10 * awsvip: let user specify which interface to use, and make the parameter optional in aws-vpc-move-ip * aws.sh: add get_interface_mac() * Mid: storage-mon RA: Wait until monitor confirms the startup pid according to the OCF resource specification. * High: storage-mon: Correct the timing of setting notification values to storage-mon(RA) clients. * aws.sh/ocf-shellfuncs: add ability to fresh token if it's invalid * aws.sh: chmod 600 $TOKEN_FILE, add get_instance_id() with DMI support, and use get_instance_id() in AWS agents OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=56
2025-01-28 15:59:24 +00:00
AC_PYTHON_MODULE(urllib3)
AC_PYTHON_MODULE(ibm_cloud_fail_over)
- drop HA package cluster-glue and Linux-HA style fence agents in FrameworkOne (jsc#PED-8498) Remove dependency cluster-glue-devel - Update to version 4.16.0+git38.da9ef4e2: * storage-mon: log "storage_mon is already running" in start-action * storage-mon: check if daemon is already running during start-action * storage-mon: replace dashes with underscores in functions * ocf-binaries: add FGREP * Filesystem: dont report warnings when creating a Filesystem resource * ibm-cloud-vpc-move-fip: new resource agent (#2008) * ibm-cloud-vpc-cr-vip: fix ImportError logging * All agents: use detected grep -E/-F instead of egrep/fgrep when detected * ibm-cloud-vpc-cr-vip: dont build if ibm_cloud_fail_over is not installed * nfsserver: dont use init-scripts if systemd is running * ibm-cloud-vpc-cr-vip: new resource agent (#2002) * ocf-shellfuncs: fixed bash systax error added at a25f08cf98d784894df9c52960eff5ccef059393 * openstack-cinder-volume: fix detach not working during start-action after #2000 * openstack-cinder-volume: wait for volume to be available * spec: update Requires paths for RHEL10/CentOS 10 * awsvip: let user specify which interface to use, and make the parameter optional in aws-vpc-move-ip * aws.sh: add get_interface_mac() * Mid: storage-mon RA: Wait until monitor confirms the startup pid according to the OCF resource specification. * High: storage-mon: Correct the timing of setting notification values to storage-mon(RA) clients. * aws.sh/ocf-shellfuncs: add ability to fresh token if it's invalid * aws.sh: chmod 600 $TOKEN_FILE, add get_instance_id() with DMI support, and use get_instance_id() in AWS agents OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=56
2025-01-28 15:59:24 +00:00
-AS_VERSION_COMPARE([$PYTHON_VERSION], [3.6], [BUILD_OCF_PY=0], [BUILD_OCF_PY=1], [BUILD_OCF_PY=1])
+AS_VERSION_COMPARE([$PYTHON_VERSION], [3.11], [BUILD_OCF_PY=0], [BUILD_OCF_PY=1], [BUILD_OCF_PY=1])
BUILD_AZURE_EVENTS=1
if test -z "$PYTHON" || test $BUILD_OCF_PY -eq 0; then