Commit Graph

225 Commits

Author SHA1 Message Date
Oyvind Albrigtsen
42cfbb8ada - storage_mon: fix handling of 4k block devices
Resolves: RHEL-126791
2025-11-10 12:27:55 +01:00
Oyvind Albrigtsen
4800c63bd0 - pgsqlms: fix validate warnings
- nginx: fix validate warnings
- Filesystem: speed up get PIDs

  Resolves: RHEL-102779, RHEL-112443, RHEL-121985
2025-11-04 13:31:59 +01:00
Oyvind Albrigtsen
ec0a35b869 - powervs-move-ip: add iflabel parameter
Resolves: RHEL-109013
2025-11-03 11:11:03 +01:00
Oyvind Albrigtsen
2fd73ee0da - 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

  Resolves: RHEL-109486
2025-10-31 12:34:46 +01:00
Oyvind Albrigtsen
cb460115e2 - 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

  Resolves: RHEL-109486
2025-10-31 09:07:26 +01:00
Oyvind Albrigtsen
ee2afbb49b - MailTo: add s-nail support for multiple recipients
- oracle: improve monpassword description

  Resolves: RHEL-92707, RHEL-124881
2025-10-29 16:44:49 +01:00
Oyvind Albrigtsen
a28948f8cf - db2: add "skip_basic_sql_health_check" parameter to avoid failing on
systems with high load
- db2: add "monitor_retries", "monitor_sleep", and "monitor_retry_all_errors"
  parameters to be able to avoid failing on first try

  Resolves: RHEL-102255, RHEL-102319
2025-10-29 13:04:05 +01:00
Oyvind Albrigtsen
8890b6688b - podman-etcd: add support for cert rotation
- podman-etcd: compute dynamic revision bump from maxRaftIndex

  Resolves: RHEL-124203, RHEL-124206
2025-10-28 13:07:35 +01:00
Oyvind Albrigtsen
3e111eae9a - portblock: add promotable and nftables support, and method and
status_check parameters
- db2: use reintegration flag to avoid race condition on cluster
  reintegration

  Resolves: RHEL-116149, RHEL-116152, RHEL-115495
2025-10-22 10:11:54 +02:00
Oyvind Albrigtsen
a77e31dd32 - podman-etcd: add automatic learner member promotion
Resolves: RHEL-119504
2025-10-10 08:51:09 +02:00
Oyvind Albrigtsen
2dc8f5c05b - build: make nfs-utils a weak dependency (update based on upstream changes)
Resolves: RHEL-113500
2025-10-08 11:37:52 +02:00
Oyvind Albrigtsen
ff355ecfc9 - portblock: add promotable and nftables support
- build: make nfs-utils a weak dependency

  Resolves: RHEL-116149, RHEL-116152, RHEL-113500
2025-10-07 13:50:56 +02:00
Oyvind Albrigtsen
81f4afffd5 - portblock: add promotable support
Resolves: RHEL-116149
2025-10-02 11:51:09 +02:00
Oyvind Albrigtsen
5bb87118b2 - podman-etcd: wrap ipv6 address in brackets
- podman-etcd: preserve containers for debugging
- podman-etcd: add cluster-wide force_new_cluster attribute check
- lvmlockd: remove unsupported agent

  Resolves: RHEL-113817, RHEL-113816, RHEL-116205, RHEL-116202
2025-09-22 13:27:14 +02:00
Oyvind Albrigtsen
b087a6d3f9 - podman-etcd: wrap ipv6 address in brackets
- podman-etcd: preserve containers for debugging
- podman-etcd: add cluster-wide force_new_cluster attribute check
- lvmlockd: remove unsupported agent

  Resolves: RHEL-113817, RHEL-113816, RHEL-116205, RHEL-116202
2025-09-22 09:54:44 +02:00
Oyvind Albrigtsen
87b789f5c7 - db2: add "skip_basic_sql_health_check" parameter to avoid failing on
systems with high load
- db2: add "monitor_retries", "monitor_sleep", and "monitor_retry_all_errors"
  parameters to be able to avoid failing on first try

  Resolves: RHEL-102255, RHEL-102319
2025-09-18 15:03:55 +02:00
Oyvind Albrigtsen
efd5ab5ac5 - powervs-move-ip: new resource agent
Resolves: RHEL-109013
2025-09-15 15:03:19 +02:00
Oyvind Albrigtsen
c8ead1c160 - podman-etcd: new resource agent
- podman-etcd: add oom parameter to be able to tune the Out-Of-Memory (OOM)
  score for etcd containers

  Resolves: RHEL-88431, RHEL-113104
2025-09-09 11:37:47 +02:00
Oyvind Albrigtsen
b44b82f9a9 - ocf-shellfuncs/AWS agents: dont sleep after the final try in
curl_retry()

  Resolves: RHEL-102728
2025-07-15 13:34:04 +02:00
Oyvind Albrigtsen
13dfbcd490 - ocf-shellfuncs/AWS agent: dont sleep after the final try in
curl_retry()

  Resolves: RHEL-102728
2025-07-14 10:53:27 +02:00
Oyvind Albrigtsen
60ba8a99de - Filesystem: fix issue with Vormetric mounts
Resolves: RHEL-97216
2025-07-03 11:59:07 +02:00
Oyvind Albrigtsen
d0c80cdeab - Filesystem: remove unreliable validate-all fstype check
Resolves: RHEL-99743
2025-06-25 13:21:31 +02:00
Oyvind Albrigtsen
3755408de2 - revert "podman-etcd: new resource agent"
Reverts: RHEL-88431
2025-06-18 14:51:30 +02:00
Oyvind Albrigtsen
0968f74b41 - IPaddr2/IPsrcaddr: fix to avoid duplicate route issues
- IPaddr2: add link status DOWN/LOWERLAYERDOWN check

  Resolves: RHEL-93680, RHEL-85014
2025-06-17 11:34:50 +02:00
Oyvind Albrigtsen
0d07899660 - Remove unneeded changelog entry
Resolves: RHEL-88042
2025-06-17 11:34:45 +02:00
Oyvind Albrigtsen
79171a398a - podman-etcd: fix listen-peer-urls binding
Resolves: RHEL-88431
2025-05-20 12:17:59 +02:00
Oyvind Albrigtsen
4fe47b1875 - podman-etcd: new resource agent
- Filesystem: avoid chance of getting the wrong bind mount

  Resolves: RHEL-88431, RHEL-88538
2025-04-28 16:04:42 +02:00
Oyvind Albrigtsen
b209cbe076 - crypt: new resource agent
Resolves: RHEL-13089
2025-04-24 14:52:56 +02:00
Oyvind Albrigtsen
2f533e1db3 - Filesystem: add support for aznfs
- crypt: new resource agent

  Resolves: RHEL-88042, RHEL-13089
2025-04-22 15:52:23 +02:00
Oyvind Albrigtsen
d8910789b8 - tomcat: fix CATALINA_PID not set, and catalina_base and catalina_out
parameter defaults

  Resolves: RHEL-85057
2025-04-09 15:15:03 +02:00
Oyvind Albrigtsen
5d821e923d - tomcat: fix CATALINA_PID not set, and catalina_base and catalina_out
parameter defaults
- powervs-subnet: build for ppc64le

  Resolves: RHEL-85057, RHEL-85023
2025-04-01 13:32:25 +02:00
Oyvind Albrigtsen
ea596d1259 - tomcat: fix CATALINA_PID not set, and catalina_base and catalina_out
parameter defaults
- powervs-subnet: build for ppc64le

  Resolves: RHEL-85057, RHEL-85023
2025-04-01 11:01:56 +02:00
Oyvind Albrigtsen
94bea209d4 - portblock: fix iptables version detection
- Remove unsupported agents

  Resolves: RHEL-79822, RHEL-80293
2025-02-20 15:19:38 +01:00
Oyvind Albrigtsen
b64eee0ad3 - ocf-shellfuncs: fix syntax error in crm_mon_no_validation()
Resolves: RHEL-73689
2025-02-11 10:57:09 +01:00
Oyvind Albrigtsen
a76e865811 - storage-mon: log "storage_mon is already running" in start-action
Resolves: RHEL-76037
2025-01-27 12:48:29 +01:00
Oyvind Albrigtsen
8894ec0ca8 - storage-mon: log "already running" in start-action
Resolves: RHEL-76037
2025-01-27 11:08:57 +01:00
Oyvind Albrigtsen
ad7d614c15 - ocf-shellfuncs: fix syntax error in crm_mon_no_validation()
Resolves: RHEL-73689
2025-01-24 12:00:04 +01:00
Oyvind Albrigtsen
4cc212f304 - storage-mon: check if daemon is already running during start-action
Resolves: RHEL-76037
2025-01-24 10:09:45 +01:00
Oyvind Albrigtsen
82f22cc405 - openstack-cinder-volume: wait for volume to be available
- All agents: use grep -E/-F
- Filesystem: dont report warnings when creating resource
- storage-mon: fix daemon mode bug that caused delayed initial score

  Resolves: RHEL-72954, RHEL-75574, RHEL-76007, RHEL-76037
2025-01-23 16:29:28 +01:00
Oyvind Albrigtsen
8765ef2c32 - openstack-cinder-volume: wait for volume to be available
- All agents: use grep -E/-F
- Filesystem: dont report warnings when creating resource
- storage-mon: fix daemon mode bug that caused delayed initial score

  Resolves: RHEL-72954, RHEL-75574, RHEL-76007, RHEL-76037
2025-01-23 15:15:26 +01:00
Oyvind Albrigtsen
6cc9f0480b - Rebase to resource-agents 4.16.0 upstream release
- AWS agents: reuse IMDS token until it expires
- awsvip: add interface parameter
- ethmonitor: add bc dependency
- build: use /usr/sbin path for nfs-utils dependencies

  Resolves: RHEL-65331, RHEL-66293, RHEL-68740, RHEL-53615, RHEL-68840
2024-11-26 10:32:57 +01:00
Troy Dawson
7a4e0713fb Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 09:11:27 -07:00
Oyvind Albrigtsen
010bda5490 - Rebase to resource-agents 4.15.1 upstream release
- IPaddr2: change default for lvs_ipv6_addrlabel to true to avoid
  last added IP becoming src IP
- powervs-subnet: new resource agent

  Resolves: RHEL-50378, RHEL-46557, RHEL-50380
2024-07-26 10:31:53 +02:00
Oyvind Albrigtsen
200f2b0ca1 - Rebase to resource-agents 4.15.0 upstream release.
- IPaddr2: change default for lvs_ipv6_addrlabel to true to avoid
  last added IP becoming src IP

  Resolves: RHEL-50378, RHEL-46557
2024-07-24 10:55:34 +02:00
Oyvind Albrigtsen
69a67cf354 - apache: prefer curl due to wget2 issues, and dont use -L for wget2
Resolves: RHEL-40720
2024-06-27 10:22:11 +02:00
Oyvind Albrigtsen
8cfe63a235 - apache: dont use -L for wget2
Resolves: RHEL-40720
2024-06-26 11:47:59 +02:00
Troy Dawson
f515b5868d Bump release for June 2024 mass rebuild 2024-06-24 09:22:08 -07:00
Oyvind Albrigtsen
5a9b0dd1e3 - Add CI gating tests 2024-06-12 13:31:55 +02:00
Oyvind Albrigtsen
1d8880cceb - cloud agents: set support library path
- pgsqlms: add to -paf subpackage
2024-06-12 11:44:58 +02:00
Zbigniew Jędrzejewski-Szmek
875f38afa0 spec: use /usr/sbin paths for Fedora 40+
Based on the patch from Oyvind Albrigtsen <oalbrigt@redhat.com>:
6516e089c9.

Note that the upstream commit updates all paths, but it turns out that
this is not what we need. nfs-utils actually has files with both /sbin
and /usr/sbin:

  $ rpm -ql nfs-utils|grep bin
  /sbin/mount.nfs
  /sbin/mount.nfs4
  /sbin/nfsdcltrack
  /sbin/rpc.statd
  /sbin/umount.nfs
  /sbin/umount.nfs4
  /usr/sbin/blkmapd
  /usr/sbin/exportfs
  /usr/sbin/fsidd
  /usr/sbin/mountstats
  /usr/sbin/nfsconf
  /usr/sbin/nfsdcld
  /usr/sbin/nfsdclddb
  /usr/sbin/nfsdclnts
  /usr/sbin/nfsidmap
  /usr/sbin/nfsiostat
  /usr/sbin/nfsref
  /usr/sbin/nfsstat
  /usr/sbin/rpc.gssd
  /usr/sbin/rpc.idmapd
  /usr/sbin/rpc.mountd
  /usr/sbin/rpc.nfsd
  /usr/sbin/rpcctl
  /usr/sbin/rpcdebug
  /usr/sbin/showmount
  /usr/sbin/sm-notify
  /usr/sbin/start-statd

I was confused by the fact that a) the paths in the file system are
actually always /usr/s?bin, because /bin and /sbin and symlinks, and
b) rpm query works for the real paths:

  $ rpm -qf /sbin/mount.nfs /usr/sbin/mount.nfs
  nfs-utils-2.6.4-0.rc2.fc39.x86_64
  nfs-utils-2.6.4-0.rc2.fc39.x86_64

But we can only use the declared path in dependencies, and that is
/sbin/* in a few cases.

I was surprised by this, but nfs-utils is actually following the
Packaging Guidelines in this case [1]:

  > As a packager you may need to pay attention to where other
  > packages expect to find your files. Things that history has placed
  > into /bin, /sbin, /lib, or /lib64 should be listed in the %files
  > section as being in those directories. Things that history placed
  > in /usr/bin, /usr/sbin, etc, should be listed in the %files
  > section as being in %{_bindir}, %{_sbindir}, etc.

I think the Packaging Guidelines should be updated to drop this, but
currently they are what they are. Thus, this patch updates the paths
the are _declared_ as /usr/s?bin/* in other packages only.

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_effect_of_the_usrmove_fedora_feature
2024-01-31 14:10:29 +01:00