Commit Graph

60 Commits

Author SHA1 Message Date
Chris Lumens ffe683325c Rebase on upstream 2.1.8-rc1 release 2024-05-24 03:34:00 +00:00
Chris Lumens 19c1efdf87 Fix upgrading to this package on multilib systems
The pacemaker-libs-devel package contains
/usr/include/pacemaker/crm_config.h which defines BUILD_VERSION.  This
macro is set to the git commit ID that was used to build this package.
In previous releases, we had a bug in configure.ac that caused us to
incorrectly fail to find git, resulting in using the fallback of the
source tree directory name.  This is something like pacemaker-1234abcd,
which is the same on all builders.

However, 2.1.7 includes a fixed configure.ac that can now find the git
binary which means we now use the latest git commit ID.  Unfortunately,
this varies from builder to builder even for the same release.  This is
because the first steps in package building are running "git commit" to
initialize a repo, and then running "git am" to apply all the patches.
Creating the repo means it will get a different commit ID every time,
which means the applied patches will have a different parent, giving
them different commit IDs.

The end result of this is that each builder sees its own distinct commit
ID, and therefore each arch has its own BUILD_VERSION.  This means the
x86_64 and i686 packages now differ, introducing a file conflict, which
means rpm will refuse to upgrade.

The fix is to simply remove the automatically created git repo after we
are done with it, causing configure.ac to use the directory name
fallback.

- Resolves: RHEL-28999
2024-03-22 09:43:41 -04:00
Chris Lumens 4d4309118c Backport fixes from master.
- Properly validate attribute set type in pacemaker-attrd
- Fix `crm_attribute -t nodes --node localhost`
- Resolves: RHEL-13216
- Resolves: RHEL-17225
- Resolves: RHEL-23498
2024-01-31 13:00:38 -05:00
Chris Lumens 230b7a9ac1 Rebase on upstream 2.1.7 final release
- Fix documentation for Pacemaker Remote schema transfers
- Do not check CIB feature set version when CIB_file is set
- Consolidate attrd cache handling
- Avoid duplicating option metadata across daemons
- Related: RHEL-7665
- Related: RHEL-13216
- Resolves: RHEL-7702
2024-01-16 14:56:20 -05:00
Chris Lumens bee6fa1a1f Rebase on upstream 2.1.7-rc4 release
- Use systemd-sysusers to create user/group
- Pacemaker Remote nodes can validate against later schema versions
- Related: RHEL-17225
- Resolves: RHEL-7665
2023-12-13 09:47:18 -05:00
Chris Lumens 63ab56a636 Rebase on upstream 2.1.7-rc2 release
- Resolves: RHEL-7682
- Related: RHEL-17225
2023-11-22 16:45:18 -05:00
Chris Lumens e778a6fadc Revert the rest of the attrd shutdown race condition fix
- Related: RHEL-14044
2023-10-31 12:01:42 -04:00
Chris Lumens d2b2253843 Avoid an error if the elected attrd is on a node that is shutting down
- Resolves: RHEL-14044
2023-10-20 10:19:06 -04:00
Chris Lumens 7d3a78e132 Fix an additional shutdown race between attrd and the controller
- Related: rhbz2228933
2023-08-28 13:00:44 -04:00
Chris Lumens f8b33ad541 Fix attrd race condition when shutting down
- Resolves: rhbz2228933
2023-08-08 14:53:26 -04:00
Chris Lumens 4e91d187ae Wait for a reply from various controller commands
- Resolves: rhbz2221084
- Related: rhbz2189301
2023-07-27 14:19:16 -04:00
Chris Lumens 32e8343928 Apply dampening when creating attributes with attrd_updater -U
- Resolves: rhbz2224051
- Related: rhbz2189301
2023-07-25 07:03:54 -04:00
Chris Lumens 088b7ef6f9 Backport additional fixes.
- Clone instances should not shuffle unnecessarily
- Fix a bug in clone resource description display
- Resolves: rhbz2222055
- Related: rhbz2189301
2023-07-19 12:06:17 -04:00
Chris Lumens 26eeab5bad Fix moving groups when there's a constraint for a single group member
- Resolves: rhbz2218218
- Resolves: rhbz2189301
2023-06-30 08:43:33 -04:00
Chris Lumens c439139bf8 Support start state for Pacemaker Remote nodes
- Related: rhbz2182482
2023-06-21 11:54:20 -04:00
Chris Lumens 83adc93f1b Rebase pacemaker on upstream 2.1.6 final release
- Related: rhbz2182482
2023-05-26 11:41:21 -04:00
Chris Lumens 68e9365af0 Rebase on upstream 2.1.6-rc2 release
- Resolves: rhbz2182482
2023-05-23 10:29:56 -04:00
Klaus Wenninger b8d83ff74b * Wed May 17 2023 Klaus Wenninger <kwenning@redhat.com> - 2.1.5-9
- Rebuild with incremented release to allow a safe upgrade from
  c8s/rhel-8
- Related: rhbz2187424
2023-05-17 15:24:30 +02:00
Klaus Wenninger 854ff6077b * Fri May 5 2023 Klaus Wenninger <kwenning@redhat.com> - 2.1.5-8
- Fix overall timeout calculation if watchdog and another fencing
  device share a topology level
- Resolves: rhbz2187424
2023-05-16 16:54:34 +02:00
Chris Lumens ac8081c5a4 Backport regression fixes.
- Additional fixes for SIGABRT during pacemaker-fenced shutdown
- Backport fix for attrd_updater -QA not displaying all nodes
- Related: rhbz2166967
- Resolves: rhbz2169829
2023-02-22 12:56:44 -05:00
Chris Lumens 31b1074af1 Backport various fixes from master.
- Backport fix for migration history cleanup causing resource recovery
- Backport fix for SIGABRT during pacemaker-fenced shutdown
- Resolves: rhbz2166393
- Resolves: rhbz2166967
2023-02-09 16:21:32 -05:00
Ken Gaillot 3161587759 Backport fix for remote node shutdown regression
- Resolves: rhbz2163450
2023-01-24 11:22:13 -06:00
Chris Lumens 72813a0b3b Rebase pacemaker on upstream 2.1.5 final release
- Add support for sync points to attribute daemon
- Resolves: rhbz2122353
2022-12-13 11:30:30 -05:00
Chris Lumens 1e78757ca6 Fix errors found by covscan
- Related: rhbz2122353
2022-12-06 13:41:15 -05:00
Chris Lumens 33f9f9581f Rebase on upstream 2.1.5-rc3 release
- Related: rhbz2122353
2022-11-23 16:44:27 -05:00
Chris Lumens a216e45db8 Rebase on upstream 2.1.5-rc2 release
- Resolves: rhbz2123727
- Resolves: rhbz2125337
- Resolves: rhbz2125344
- Resolves: rhbz2133546
- Resolves: rhbz2142683
2022-11-15 15:44:00 -05:00
Ken Gaillot e46dcfe1e3 Fix regression in crm_resource -O
- Resolves: rhbz2089353

I'm jumping from specversion 3 to 5 to restore parity with RHEL 8.7, otherwise
users of both might get confused about whether they have all fixes.

Also correct some broken URLs in the spec file
2022-08-15 09:14:19 -05:00
Ken Gaillot b760035b15 Backport patch to make stonith_admin --validate work again
- Resolves: rhbz2102292
2022-07-20 14:09:33 -05:00
Ken Gaillot 988d788d6a Correct bz number in changelog
- Resolves: rhbz2099331
2022-06-28 18:10:23 -05:00
Ken Gaillot d64d4f1961 Restore crm_attribute query behavior when attribute does not exist
- Resolves: rhbz2072108
2022-06-28 15:00:11 -05:00
Ken Gaillot 0aace81bdd Rebase pacemaker on upstream 2.1.4 final release
... and backport a couple patches from the main branch

- Resolves: rhbz2072108
2022-06-15 11:34:15 -05:00
Ken Gaillot 8c6997959d Rebase pacemaker on upstream 2.1.3 final release
- Resolves: rhbz2072108
2022-06-02 10:49:23 -05:00
Ken Gaillot 876604df72 Rebase pacemaker on upstream 2.1.3 release
- Unable to show metadata for "service" agents with "@" and "." in the name
- Resource ocf:pacemaker:attribute does not comply with the OCF 1.1 standard
- Pacemaker does not convert & to &amp; when generating metadata for non-ocf agents
- Resolves: rhbz2045110
- Resolves: rhbz2049720
- Resolves: rhbz2050259
- Resolves: rhbz2072108
2022-05-19 11:31:34 -05:00
Ken Gaillot 2d6cfbcf0e Fix regression in down event detection that affects remote nodes
- Resolves: rhbz2039399
2022-01-27 09:49:22 -06:00
Ken Gaillot 87bc6c8acd Backport selected patches from upstream main branch
- Detect an unresponsive subdaemon
- Handle certain probe failures as stopped instead of failed
- Update pcmk_delay_base option meta-data
- Avoid crash when using clone notifications
- Retry Corosync shutdown tracking if first attempt fails
- Improve display of failed actions
- Resolves: rhbz1707851
- Resolves: rhbz2039982
- Resolves: rhbz2032032
- Resolves: rhbz2040443
- Resolves: rhbz2042367
- Resolves: rhbz2042546
2022-01-24 10:24:48 -06:00
Ken Gaillot 3004334131 Backport selected fixes from upstream master branch
- Correctly get metadata for systemd agent names that end in '@'
- Use correct OCF 1.1 syntax in ocf:pacemaker:Stateful meta-data
- Fix regression in displayed times in crm_mon's fence history
- Resolves: rhbz2032031
- Resolves: rhbz2032032
- Resolves: rhbz2031765
2021-12-16 15:11:37 -06:00
Ken Gaillot 84f732910e Rebase on upstream 2.1.2
... with selected backports from upstream master branch

- Resolves: rhbz2011974
2021-11-30 10:23:45 -06:00
Ken Gaillot e1c1970613 Fix XML issue with fence_watchdog meta-data
- Resolves: rhbz1988568
2021-08-20 10:05:52 -05:00
Ken Gaillot 2918108071 Fix minor issue with crm_resource error message change
- Resolves: rhbz1983196
2021-08-12 15:40:05 -05:00
Ken Gaillot 6dec65dd8f Bump package number
Needed for new build

- Resolves: rhbz1988568
- Resolves: rhbz1989292
2021-08-11 11:48:10 -05:00
Ken Gaillot 5f1b8588f4 Fix resolved bug numbers
The previous build accidentally used the RHEL 8 equivalent bzs instead of the
RHEL 9 bzs.

- Resolves: rhbz1988568
- Resolves: rhbz1989292
2021-08-11 11:32:04 -05:00
Ken Gaillot 103449b89e Backport a couple of fixes from upstream
- Fix watchdog agent version information
- Ensure transient attributes are cleared when multiple nodes are lost
- Resolves: rhbz1443666
- Resolves: rhbz1986998
2021-08-10 15:42:12 -05:00
Mohan Boddu f08eacae17 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 22:47:27 +00:00
Ken Gaillot dc8cd7d750 Allow configuring specific nodes to use watchdog-only sbd for fencing
- Resolves: rhbz1988568
2021-08-06 14:56:18 -05:00
Ken Gaillot e32fe21465 Backport selected fixes from upstream 2.1.1-rc1 release
- Avoid selecting wrong device when dynamic-list fencing is used with host map
- Show better error messages in crm_resource with invalid resource types
- Do not schedule probes of unmanaged resources on pending nodes
- Fix regressions in crm_attribute and crm_master argument handling
- Resolves: rhbz1978013
- Resolves: rhbz1983196
- Resolves: rhbz1983197
- Resolves: rhbz1984130
2021-07-30 10:27:21 -05:00
Ken Gaillot 7e6d756ee7 Backport some fixes from upstream master branch
- crm_resource now supports XML output from resource agent actions
- Correct output for crm_simulate --show-failcounts
- Avoid remote node unfencing loop
- Resolves: rhbz1975380
- Resolves: rhbz1975386
- Resolves: rhbz1975388
2021-06-30 15:20:39 -05:00
Ken Gaillot de82427c3e Rebase on upstream 2.1.0 final release
- Resolves: rhbz1936023
2021-06-10 10:52:08 -05:00
Ken Gaillot 250166d985 Add correct patch on top of rebase
- Resolves: rhbz1936023
2021-06-02 12:38:23 -05:00
Ken Gaillot 6acb138bce Rebase on upstream 2.1.0-rc3 release
... and fix syntax error in gating.yaml

- Resolves: rhbz1936023
2021-06-02 08:57:47 -05:00
Ken Gaillot 457a59013b Include recent post-rc2 fixes with rebase
- Resolves: rhbz1936023
2021-05-27 09:11:09 -05:00