- Update to version 4.17.0+git30.b33c378d: (jsc#PED-15014)
* powervs-move-ip/powervs-subnet: fix error logging
* Filesystem: optionally report "xargs ps -f" even when killing many processes
* ocf-shellfunc: add ocf_log_pipe
* findif.c: remove unused colonptr variable
* Filesystem: use -eq/-ne for numeric variables
* powervs-subnet: wait until IP is activated before running monitor-check
* OCPBUGS-64765: podman-etcd: add -a option to crictl ps (#2112)
OBS-URL: https://build.opensuse.org/request/show/1329342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/resource-agents?expand=0&rev=146
- 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
OBS-URL: https://build.opensuse.org/request/show/1323402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/resource-agents?expand=0&rev=144
* 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
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=88
- 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
OBS-URL: https://build.opensuse.org/request/show/1320974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/resource-agents?expand=0&rev=143
* 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
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=85
* Enhance documentation: setproctitle_enable and background must be set correctly. (#2075)
* 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
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=84
- Update to version 4.16.0+git90.968ad701:
* OCPBUGS-58324: podman-etcd Add OOM score adjustment for etcd containers
* ocf-shellfuncs: remove extra sleep from curl_retry (#2058)
* Filesystem: remove validate-all fstype check, as there isnt a reliable and portable way to check
* IPaddr2: add link status DOWN/LOWERLAYERDOWN check
* ocf-shellfuncs: set SHELL to default shell if it's set to nologin
* mariadb: add SSL/TLS-Support (#2045)
* findif.sh: fix to avoid duplicate route issues
* podman-etcd: fix listen-peer-urls binding (#2049)
* azure-events-az: Update Deployment info section
* azure-events: backport relevant changes from azure-events-az
- Remove unsupported RAs from resource-agents package
Remove man pages of unsupported RAs from resource-agents package
Adapt drop-deprecated-agents.patch (jsc#PED-8737)
- Move %{_usr}/lib/ocf/resource.d/heartbeat/ldirectord into the
package ldirectord
OBS-URL: https://build.opensuse.org/request/show/1295449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/resource-agents?expand=0&rev=141
* OCPBUGS-58324: podman-etcd Add OOM score adjustment for etcd containers
* ocf-shellfuncs: remove extra sleep from curl_retry (#2058)
* Filesystem: remove validate-all fstype check, as there isnt a reliable and portable way to check
* IPaddr2: add link status DOWN/LOWERLAYERDOWN check
* ocf-shellfuncs: set SHELL to default shell if it's set to nologin
* mariadb: add SSL/TLS-Support (#2045)
* findif.sh: fix to avoid duplicate route issues
* podman-etcd: fix listen-peer-urls binding (#2049)
* azure-events-az: Update Deployment info section
* azure-events: backport relevant changes from azure-events-az
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=76
- L3: DB2 resource agent forcefully shuts down database, risking data loss — ref:_00D1igLOd._500TrYJM7l:ref
(bsc#1241692)
Add patch:
bsc-1241692.patch
- Update to version 4.16.0+git73.99f301e1:
* azure-events-az: Update wording in log line
* podman-etcd: remove unused actions from metadata
* Filesystem: fix getting the wrong block device when doing grep
* crypt: fix crypt_type check, and usage when action has not been specified
* podman-etcd: new resource agent (#2023)
* IPaddr2: fix iface_altname indentation
* IPaddr2: add support for network interfaces altname in the monitor operation (#2027)
* tomcat: only log "validate_all_tomcat[$TOMCAT_NAME]" on debug-level
* mdraid: Add 'auto' and multiple devices support to parameter md_dev (bsc#1200867, jsc#TEAM-6691)
* azure-events-az: Add params defaults to RA description (#2034)
* azure-events-az: Update crm_attribute call in putNodeOnline (#2033)
* azure-events-az: remove unused attr_globalPullState variable (#2032)
* azure-events-az: fix typo (#2031)
* azure-events-az: change variable name allNodesStopped to allResourcesNowStopped (#2030)
* tomcat: fix catalina_base and catalina_out parameter defaults
* tomcat: fix CATALINA_PID not set issue
* crypt: fixes to validate-action and to avoid running as a cloned resource
* Attempting to detect clevis automatically
* initial pass on supporting clevis-unlocked volumes
Remove: 2037.patch
- Failed action that lead to stonith when there is a empty /etc/mdadm.conf on one node on cluster MD
(bsc#1200867)
cluster-md: RA mdraid to support auto-assembly at the cluster level, eg md_dev="auto"
(jsc#TEAM-6691)
OBS-URL: https://build.opensuse.org/request/show/1277158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/resource-agents?expand=0&rev=139
(bsc#1241692)
Add patch:
bsc-1241692.patch
- Update to version 4.16.0+git73.99f301e1:
* azure-events-az: Update wording in log line
* podman-etcd: remove unused actions from metadata
* Filesystem: fix getting the wrong block device when doing grep
* crypt: fix crypt_type check, and usage when action has not been specified
* podman-etcd: new resource agent (#2023)
* IPaddr2: fix iface_altname indentation
* IPaddr2: add support for network interfaces altname in the monitor operation (#2027)
* tomcat: only log "validate_all_tomcat[$TOMCAT_NAME]" on debug-level
* mdraid: Add 'auto' and multiple devices support to parameter md_dev (bsc#1200867, jsc#TEAM-6691)
* azure-events-az: Add params defaults to RA description (#2034)
* azure-events-az: Update crm_attribute call in putNodeOnline (#2033)
* azure-events-az: remove unused attr_globalPullState variable (#2032)
* azure-events-az: fix typo (#2031)
* azure-events-az: change variable name allNodesStopped to allResourcesNowStopped (#2030)
* tomcat: fix catalina_base and catalina_out parameter defaults
* tomcat: fix CATALINA_PID not set issue
* crypt: fixes to validate-action and to avoid running as a cloned resource
* Attempting to detect clevis automatically
* initial pass on supporting clevis-unlocked volumes
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=70
- drop HA package cluster-glue and Linux-HA style fence agents in FrameworkOne
(jsc#PED-8498)
Remove dependency: cluster-glue-devel. As a result of this sfex_init, sfex_stat,
resource-agents-deps.target and ldirectord.service were removed also.
- 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/request/show/1241131
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/resource-agents?expand=0&rev=135
(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
- Update to version 4.16.0+git2.20a433c3:
* storage_mon: remove unused macro variables (#1994)
* AWS agents: reuse IMDS token until it expires (issue #1990) (#1991)
* build: update ChangeLog for 4.16.0
* build: update ChangeLog for 4.16.0-rc1
* spec: drop BuildReq python3-pyroute2 for RHEL/CentOS
* Add azure aznfs filesystem support (bsc#1233083)
* powervs-subnet: dont require api_type as it has a default value
* IPaddr2: improve fail logic and check ip_status after adding IP
* azure-events*: use node name from cluster instead of hostname to avoid failing if they're not the same
* ocf-shellfuncs: systemd_drop_in only if needed
* findif.sh: remove "local proto" to use global proto from the agents
* nfsserver: also stop rpc-statd for nfsv4_only to avoid stop failing in some cases
OBS-URL: https://build.opensuse.org/request/show/1225908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/resource-agents?expand=0&rev=134
* storage_mon: remove unused macro variables (#1994)
* AWS agents: reuse IMDS token until it expires (issue #1990) (#1991)
* build: update ChangeLog for 4.16.0
* build: update ChangeLog for 4.16.0-rc1
* spec: drop BuildReq python3-pyroute2 for RHEL/CentOS
* Add azure aznfs filesystem support (bsc#1233083)
* powervs-subnet: dont require api_type as it has a default value
* IPaddr2: improve fail logic and check ip_status after adding IP
* azure-events*: use node name from cluster instead of hostname to avoid failing if they're not the same
* ocf-shellfuncs: systemd_drop_in only if needed
* findif.sh: remove "local proto" to use global proto from the agents
* nfsserver: also stop rpc-statd for nfsv4_only to avoid stop failing in some cases
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=54
- Update to version 4.15.1+git27.f2932e21:
* IPaddr2: add proto-parameter to be able to match a specific route
* Filesystem: stop/get_pids to be signaled
* Filesystem: on stop, try umount directly, before scanning for users
* docker-compose: use "docker compose" when not using older docker-compose command
* podman: Improve handling of "stopping" container removal in remove_container() (#1973)
* Filesystem: only use $umount_force after sending kill_signals
* apache/http-mon.sh: doc curl as preferred client
* apache/http-mon.sh: change curl opts to match wget
* powervs-subnet: Enable access via private endpoint for IBM IAM
* Filesystem: dont sleep during stop-action when there are no processes to kill
* IPsrcaddr: specify dev for default route, as e.g. fe80:: routes can be present on multiple interfaces
* powervs-subnet: Add optional argument route_table (#1966)
* findif.sh: ignore unreachable, blackhole, and prohibit routes
* powervs-subnet: Modify gathering of Apikey, calculation of timeout.
* azure-lb: fix spelling of adresses to addresses
* IPaddr2: Fix bringing up device
- Drop pacakge monitoring-plugins-metadata (jsc#PED-5577) (jsc#PED-8232)
OBS-URL: https://build.opensuse.org/request/show/1203050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/resource-agents?expand=0&rev=133
* Filesystem: stop/get_pids to be signaled
* Filesystem: on stop, try umount directly, before scanning for users
* docker-compose: use "docker compose" when not using older docker-compose command
* podman: Improve handling of "stopping" container removal in remove_container() (#1973)
* Filesystem: only use $umount_force after sending kill_signals
* apache/http-mon.sh: doc curl as preferred client
* apache/http-mon.sh: change curl opts to match wget
* powervs-subnet: Enable access via private endpoint for IBM IAM
* Filesystem: dont sleep during stop-action when there are no processes to kill
* IPsrcaddr: specify dev for default route, as e.g. fe80:: routes can be present on multiple interfaces
* powervs-subnet: Add optional argument route_table (#1966)
* findif.sh: ignore unreachable, blackhole, and prohibit routes
* powervs-subnet: Modify gathering of Apikey, calculation of timeout.
* azure-lb: fix spelling of adresses to addresses
* IPaddr2: Fix bringing up device
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=50
Adapt drop-deprecated-agents.patch (jsc#PED-8737)
- Normalize log format from RAs with one of Pacemaker (bsc#1217456)
Remove 0006-Revert-ocf_log-use-same-log-format-as-pacemaker.patch
- Remove 0007-Request-to-add-gcp-vpc-move-route.patch adapt BuildRequires instead of:
Add python module requirements: pyroute2 requests urllib3
- Adapt configure if python flavor is python311:
add patch: use-python-311.patch
- Update to version 4.15.1+git0.a6ccb93a:
* build: update ChangeLog for 4.15.1
* IPaddr2: dont fail with "IPv4 does not support lvs_ipv6_addrlabel" error, as the parameter is not used in IPv4 scenarioes
* build: update ChangeLog for 4.15.0
* spec: use /usr/sbin paths for Fedora 41+
* build: dont build powervs-subnet if dependencies are missing
* build: update ChangeLog for 4.15.0-rc1
- Update to version 4.14.0+git46.eb83df84:
* send_arp.libnet: use calloc() to avoid truncating pidfilename if it is more than 64 chars long
* configure: fix enable_ansi check
* powervs-subnet resource agent: improvements on virtual server status collection, and subnet - port handling.
* ocf-shellfuncs: dont use deprecated validate-with="none" in CIB
* conntrackd/galera/rabbitmq-cluster: avoid deprecated tool options
* IPaddr2: change default for lvs_ipv6_addrlabel to true to avoid last added IP becoming src IP
* IPaddr2: only set metric value for IPv6 when detected
* galera/mariadb/mysql/redis: remove Unpromoted monitor-action, as it's covered by the regular monitor-action
* apache/http-mon.sh: prefer curl due to new wget2 issues, including not being able to resolve hostnames from /etc/hosts
* apache/http-mon.sh: dont use -L for wget2 as it's not implemented yet
* Filesystem: return success during stop-action when leading or trailing whitespace is present in device or directory parameters
* pgsql: pgsql_status: silence ERROR: command failed: runuser ...
* ocf-shellfuncs: ocf_run(): add debug level error logging
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=48
- Update to version 4.14.0+git15.c784b83c:
* ocf-shellfuncs: fix version regex in ocf_local_nodename()
* azure-events-az: update to API versions, add retry functionality for metadata requests, update tests
* Mid: storage-mon: Add logging to daemon mode.
* outscale: new resource agent (#1938)
* Azure-lb fails if IPv6 disabled (#1939)
* Filesystem: fail when leading or trailing whitespace is present in device or directory parameters
* AWS agents: use curl_retry()
* Filesystem: fail when incorrect device mounted on mountpoint, and dont unmount the mountpoint in this case, or if mountpoint set to "/"
* ocf-shellfuncs: add curl_retry()
* build: update ChangeLog for 4.14.0
* doc: writing-python-agents: add description of is_probe() and distro()
* build: update ChangeLog for 4.14.0-rc1
* db2: fix OCF_SUCESS name in db2_notify (#1933)
* docs: writing-python-agents: update required Python version to 3.6+
* findif.sh: fix corner cases
* portblock: remove write to tcp_tw_recycle
- Normalize log format from RAs with one of Pacemaker (bsc#1217456)
- Remove unsupported RAs from resource-agents package (jsc#PED-5577) (jsc#PED-8232)
add-patch:
drop-deprecated-agents.patch
remove-patch:
0001-LVM-Default-partial_activation-to-true-in-SLE-HAE.patch
OBS-URL: https://build.opensuse.org/request/show/1179621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/resource-agents?expand=0&rev=130