Commit Graph

383 Commits

Author SHA256 Message Date
Dominique Leuenberger
55d590a521 Accepting request 966816 from network:ha-clustering:Factory
- Create libltdl/config before autoreconf to fix an incompatibility
  with autoconf 2.71

- Update to version 2.1.2+20220331.1ad8bbddd:
- tools: Fix the -v option to attrd_updater.

- Update to version 2.1.2+20220329.efdcb0bbf:
- resources: Add an OCF_RESKEY_dampen parameter to HealthSMART.
- resources: Mark HealthSMART parameters as reloadable.
- resources: Also fix HealthSMART_monitor.
- resources: Fix a bug in init_smart in HealthSMART.
- resources: Fix the stop action in HealthSMART.
- resources: Add an OCF_RESKEY_smartctl parameter to HealthSMART.
- resources: update HealthSMART agent for OCF 1.1

- Update to version 2.1.2+20220328.24d87d0b2:
- tools: Do not allow certain operations on clone instances.
- tools: Fix one method of restarting a cloned group.
- tools: Fix restarting clone instances in crm_resource.
- tools: If crm_resource is given an invalid node, error.
- tools: Fix one way to restart a cloned primitive.
- tools: Fix restarting implicit bundled resources without a host.
- tools: Fix double free errors in crm_resource.
- tools: Compare host names case insensitively...

- Update to version 2.1.2+20220328.2dd22a9d7:
- tools: Update a couple option help strings in attrd_updater.
- Convert attrd_updater to use glib for cmdline handling.

- Update to version 2.1.2+20220322.5129e5ca5:

OBS-URL: https://build.opensuse.org/request/show/966816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=142
2022-04-06 19:51:04 +00:00
Yan Gao
65fdb8e9d3 Accepting request 966809 from home:yan_gao:branches:network:ha-clustering:Factory
- Create libltdl/config before autoreconf to fix an incompatibility
  with autoconf 2.71

- Update to version 2.1.2+20220331.1ad8bbddd:
- tools: Fix the -v option to attrd_updater.

- Update to version 2.1.2+20220329.efdcb0bbf:
- resources: Add an OCF_RESKEY_dampen parameter to HealthSMART.
- resources: Mark HealthSMART parameters as reloadable.
- resources: Also fix HealthSMART_monitor.
- resources: Fix a bug in init_smart in HealthSMART.
- resources: Fix the stop action in HealthSMART.
- resources: Add an OCF_RESKEY_smartctl parameter to HealthSMART.
- resources: update HealthSMART agent for OCF 1.1

- Update to version 2.1.2+20220328.24d87d0b2:
- tools: Do not allow certain operations on clone instances.
- tools: Fix one method of restarting a cloned group.
- tools: Fix restarting clone instances in crm_resource.
- tools: If crm_resource is given an invalid node, error.
- tools: Fix one way to restart a cloned primitive.
- tools: Fix restarting implicit bundled resources without a host.
- tools: Fix double free errors in crm_resource.
- tools: Compare host names case insensitively...

- Update to version 2.1.2+20220328.2dd22a9d7:
- tools: Update a couple option help strings in attrd_updater.
- Convert attrd_updater to use glib for cmdline handling.

- Update to version 2.1.2+20220322.5129e5ca5:

OBS-URL: https://build.opensuse.org/request/show/966809
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=359
2022-04-04 11:54:42 +00:00
Peter Varkoly
7f8c57271b Adapt git url
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=358
2022-03-31 13:59:00 +00:00
Yan Gao
824044eba2 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=357 2022-03-23 10:50:53 +00:00
Dominique Leuenberger
60472dd485 Accepting request 955066 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/955066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=141
2022-02-16 23:30:14 +00:00
Yan Gao
bac5bcc13a Accepting request 952937 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.2+20220126.16c1bab10:
- controller: correctly match "node down" events
- controller: improve meta-data warnings
- scheduler: assert on memory allocation error
- pacemakerd: improve messages for subdaemon handling

- Update to version 2.1.2+20220126.57e783b4b:
- libstonithd: avoid controld shutdown hanging
- pacemakerd: have signal-handler take care of lost processes
- scheduler: avoid memory leak when displaying clones
- Rebase:
  * bug-806256_pacemaker-log-level-notice.patch

- Update to version 2.1.2+20220120.3f0398825:
- scheduler: implement utilization for bundles
- fencer: reset op result before grabbing new one (rh#1470834)
- schemas: update fence-event API schema for recent change (rh#1470834)
- fencing: display exit reasons with failed fencing events (rh#1470834)
- fencing: return exit reason with fencing history (rh#1470834)
- fencer: track full result in fencing history (rh#1470834)

- Update to version 2.1.2+20220119.2c937a4c0:
- ipc_client: use libqb async API for connect
- pacemakerd: keep tracking pacemakerd for liveness
- pacemakerd: tweak systemd unit respawn settings

- Update to version 2.1.2+20220119.eec504705:
- libcrmservice: improve exit reason for timeouts (rh#1470834)
- fencing: improve exit reason for fencing timeouts (rh#1470834)
- controller: improve exit reason for internal timeouts (rh#1470834)

OBS-URL: https://build.opensuse.org/request/show/952937
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=356
2022-02-09 12:32:34 +00:00
Dominique Leuenberger
bdc86f6bb7 Accepting request 942221 from network:ha-clustering:Factory
- fencer: get current time correctly
  * 0001-Fix-fencer-get-current-time-correctly.patch

- Update to version 2.1.2+20211124.ada5c3b36 (Pacemaker-2.1.2):
- fencer: add missing space to topology message
- controller: handle remote connection start timeouts correctly

- Update to version 2.1.1+20211116.8db4569e4 (Pacemaker-2.1.2-rc2):
- fencing: mark state as done if remapped "on" times out
- Fix OCF_RA_INSTALL_DIR Autoconf variable name in pkg-config files
- daemons: Free memory at the end of fail_pending_op.

- Update to version 2.1.1+20211104.62c36e2b1 (Pacemaker-2.1.2-rc1):
- Use user_include_exclude_cb in crm_mon more. (clbz#5485)
- Only set default sections in crm_mon once. (clbz#5485)
- fencer: improve messages for dynamic target queries (rh#1470834)
- fencer: consolidate messages for asynchronous results (rh#1470834)
- fencer: log a message when out of memory for dynamic target search (rh#1470834)
- libcrmservice: distinguish local and global configuration errors (rh#1470834)
- libcrmservice: improve messages for pre-execution failures in child (rh#1470834)

- Update to version 2.1.1+20211028.70f82d2c0:
- attrd: check election status upon loss of a voter to prevent unexpected pending (bsc#1191676)

- Update to version 2.1.1+20211028.7ee8b5bdd:
- tools: select technical or human-friendly output of failed actions (rh#1470834)
- controller,executor: tweak action result messages (rh#1470834)
- install init scripts only if not using systemd
- executor: log execution status and exit reason with results (rh#1470834)
- executor: improve result message (rh#1470834) (forwarded request 942220 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/942221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=140
2021-12-24 19:22:59 +00:00
Yan Gao
bfc9fbf386 Accepting request 942220 from home:yan_gao:branches:network:ha-clustering:Factory
- fencer: get current time correctly
  * 0001-Fix-fencer-get-current-time-correctly.patch

- Update to version 2.1.2+20211124.ada5c3b36 (Pacemaker-2.1.2):
- fencer: add missing space to topology message
- controller: handle remote connection start timeouts correctly

- Update to version 2.1.1+20211116.8db4569e4 (Pacemaker-2.1.2-rc2):
- fencing: mark state as done if remapped "on" times out
- Fix OCF_RA_INSTALL_DIR Autoconf variable name in pkg-config files
- daemons: Free memory at the end of fail_pending_op.

- Update to version 2.1.1+20211104.62c36e2b1 (Pacemaker-2.1.2-rc1):
- Use user_include_exclude_cb in crm_mon more. (clbz#5485)
- Only set default sections in crm_mon once. (clbz#5485)
- fencer: improve messages for dynamic target queries (rh#1470834)
- fencer: consolidate messages for asynchronous results (rh#1470834)
- fencer: log a message when out of memory for dynamic target search (rh#1470834)
- libcrmservice: distinguish local and global configuration errors (rh#1470834)
- libcrmservice: improve messages for pre-execution failures in child (rh#1470834)

- Update to version 2.1.1+20211028.70f82d2c0:
- attrd: check election status upon loss of a voter to prevent unexpected pending (bsc#1191676)

- Update to version 2.1.1+20211028.7ee8b5bdd:
- tools: select technical or human-friendly output of failed actions (rh#1470834)
- controller,executor: tweak action result messages (rh#1470834)
- install init scripts only if not using systemd
- executor: log execution status and exit reason with results (rh#1470834)
- executor: improve result message (rh#1470834)

OBS-URL: https://build.opensuse.org/request/show/942220
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=354
2021-12-23 10:19:25 +00:00
Dominique Leuenberger
3bc9bfa9d4 Accepting request 919749 from network:ha-clustering:Factory
* bsc#1186693-clean-attrd-attributes-when-remote-node-is-up.patch 
  * bsc#1180618-0001-Fix-crmd-update-crm_peer_cache.patch 
  * rh#1931332-0003-Med-Change-the-schema-type-of-expected-and-call-to-i.patch 
  * rh#1931332-0002-Med-Copy-crm_mon.rng-and-crm_resource.rng-in-prepara.patch 
  * rh#1931332-0001-Med-Generate-xml-crm_mon.rng-from-the-contents-of-xm.patch 
  * rh#1931332-0000-Feature-xml-Move-resource-related-XML-schema-into-it.patch 
  * 0001-Fix-iso8601-prevent-sec-overrun-before-adding-up-as-.patch 
  * bsc#1181744-0004-Refactor-fencer-optimize-merging-of-fencing-history-.patch 
  * bsc#1181744-0003-Refactor-fencing-new-function-stonith_op_state_pendi.patch 
  * bsc#1181744-0002-Fix-fencer-update-outdated-pending-operations-accord.patch 
  * bsc#1181744-0001-Fix-fencer-broadcast-returned-fencing-operations-to-.patch 
  * 0001-Mid-execd-Skips-merging-of-canceled-fencing-monitors.patch 
  * 0001-Fix-tools-get-cibsecret-stash-working-again.patch 
  * 0001-Fix-fencing-remove-any-devices-that-are-not-installe.patch 
  * rh#1907726-0001-Fix-liblrmd-Limit-node-name-addition-to-proxied-attr.patch 
  * bsc#1173668-0001-Fix-attrd-prevent-leftover-attributes-of-shutdown-no.patch 
  * bsc#1178865-0001-Fix-crmadmin-printing-DC-quietly-if-needed.patch 
- Drop obsolete bug-792124_pacemaker-stonith-monitor-log.patch
  * pacemaker-daemon-symlinks.patch (forwarded request 919748 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/919749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=139
2021-09-20 21:32:18 +00:00
Yan Gao
469f399362 Accepting request 919748 from home:yan_gao:branches:network:ha-clustering:Factory
* bsc#1186693-clean-attrd-attributes-when-remote-node-is-up.patch 
  * bsc#1180618-0001-Fix-crmd-update-crm_peer_cache.patch 
  * rh#1931332-0003-Med-Change-the-schema-type-of-expected-and-call-to-i.patch 
  * rh#1931332-0002-Med-Copy-crm_mon.rng-and-crm_resource.rng-in-prepara.patch 
  * rh#1931332-0001-Med-Generate-xml-crm_mon.rng-from-the-contents-of-xm.patch 
  * rh#1931332-0000-Feature-xml-Move-resource-related-XML-schema-into-it.patch 
  * 0001-Fix-iso8601-prevent-sec-overrun-before-adding-up-as-.patch 
  * bsc#1181744-0004-Refactor-fencer-optimize-merging-of-fencing-history-.patch 
  * bsc#1181744-0003-Refactor-fencing-new-function-stonith_op_state_pendi.patch 
  * bsc#1181744-0002-Fix-fencer-update-outdated-pending-operations-accord.patch 
  * bsc#1181744-0001-Fix-fencer-broadcast-returned-fencing-operations-to-.patch 
  * 0001-Mid-execd-Skips-merging-of-canceled-fencing-monitors.patch 
  * 0001-Fix-tools-get-cibsecret-stash-working-again.patch 
  * 0001-Fix-fencing-remove-any-devices-that-are-not-installe.patch 
  * rh#1907726-0001-Fix-liblrmd-Limit-node-name-addition-to-proxied-attr.patch 
  * bsc#1173668-0001-Fix-attrd-prevent-leftover-attributes-of-shutdown-no.patch 
  * bsc#1178865-0001-Fix-crmadmin-printing-DC-quietly-if-needed.patch 
- Drop obsolete bug-792124_pacemaker-stonith-monitor-log.patch
  * pacemaker-daemon-symlinks.patch

OBS-URL: https://build.opensuse.org/request/show/919748
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=350
2021-09-17 13:18:04 +00:00
Yan Gao
a4b20bd58b Accepting request 919502 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.0+20210816.c6a4f6e6c (Pacemaker-2.1.1-rc3) :
- crm_resource: translate LSB rc to exit code and fix resources_find_service_class() call
- controller: ensure newly joining node learns the node names of non-DCs (bsc#1180618)
- controller: ensure lost node's transient attributes are cleared without DC (rh#1986998)
  

- Update to version 2.1.0+20210806.a64ad221a (Pacemaker-2.1.1-rc2):
- pacemakerd: show correct error message if can't request shutdown
- scheduler: Output the clone header if there are no instances.
- scheduler: Sort brief output of resources.
- scheduler: Fix display of active resources on offline nodes.
- tools: avoid memory leaks in crm_mon
- tools: avoid (insignificant) memory leaks

- Update to version 2.1.0+20210727.9e3a841a3 (Pacemaker-2.1.1-rc1):
- scheduler: Fix XML output of cloned groups.
- scheduler: Condense group and clone status in output.
- scheduler: Only output the clone header if necessary.
- scheduler: Mark partially active groups in output.
- scheduler: Tweak resource filtering for groups.
- libcrmcommon: Also allow string arguments that start with a dash.
- tools: Audit command line options.

- Update to version 2.1.0+20210721.0bf0e8547:
- scheduler: respect runnable argument when creating pseudo op
- scheduler: pe_order_implies_first should matter if 'then' is required
- scheduler: don't make optional constraints with group members mandatory
- scheduler: avoid invalid transition when group member unmanaged (clbz#5423)

- Update to version 2.1.0+20210720.202b37962:

OBS-URL: https://build.opensuse.org/request/show/919502
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=349
2021-09-16 10:47:19 +00:00
Dominique Leuenberger
badfcb481d Accepting request 884034 from network:ha-clustering:Factory
- Update to version 2.0.5+20210310.83e765df6:
- controller: re-joined node gets the host names of non-DC nodes (bsc#1180618)

- Update to version 2.0.5+20210309.90b3e455b:
- Allow the none format in other command line tools.
- scheduler,tools: stop using last-run in CIB status

- Update to version 2.0.5+20210302.64e0c771d:
- crm_mon.rng/crm_resource.rng: Change the schema type of 'expected' and 'call' to integer. (rh#1931332)

- Update to version 2.0.5+20210302.f537b60c2:
- fenced: retry getting metadata until we get it
- require glib 2.42.0 or later

- Update to version 2.0.5+20210224.63d2fa7c2:
- pacemakerd: downgrade corosync connection loss messages
- libcrmcommon: be consistent with IPC server names in messages
- CIB: deprecate support for can_fail action meta-attribute
- CIB: deprecate remove-after-stop cluster property
- pacemakerd,tools: use high-resolution sleep in a couple of places
- pacemakerd: use high-resolution sleep functions if available
- configure: drop support for --with-acl option
- rpm: update for new legacy links default
- configure: add --with-concurrent-fencing-default option
- scheduler: allow 2.0 compatibility mode for certain output
- include: Bump CRM_FEATURE_SET to 3.7.2.
- tools: Convert crm_verify to use formatted output.
- tools: Use glib for command line handling in crm_verify.
- iso8601: prevent sec overrun before adding up as long long
- crmadmin: tweaks (forwarded request 884033 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/884034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=138
2021-04-12 10:33:50 +00:00
Yan Gao
f7b893c2dd Accepting request 884033 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.5+20210310.83e765df6:
- controller: re-joined node gets the host names of non-DC nodes (bsc#1180618)

- Update to version 2.0.5+20210309.90b3e455b:
- Allow the none format in other command line tools.
- scheduler,tools: stop using last-run in CIB status

- Update to version 2.0.5+20210302.64e0c771d:
- crm_mon.rng/crm_resource.rng: Change the schema type of 'expected' and 'call' to integer. (rh#1931332)

- Update to version 2.0.5+20210302.f537b60c2:
- fenced: retry getting metadata until we get it
- require glib 2.42.0 or later

- Update to version 2.0.5+20210224.63d2fa7c2:
- pacemakerd: downgrade corosync connection loss messages
- libcrmcommon: be consistent with IPC server names in messages
- CIB: deprecate support for can_fail action meta-attribute
- CIB: deprecate remove-after-stop cluster property
- pacemakerd,tools: use high-resolution sleep in a couple of places
- pacemakerd: use high-resolution sleep functions if available
- configure: drop support for --with-acl option
- rpm: update for new legacy links default
- configure: add --with-concurrent-fencing-default option
- scheduler: allow 2.0 compatibility mode for certain output
- include: Bump CRM_FEATURE_SET to 3.7.2.
- tools: Convert crm_verify to use formatted output.
- tools: Use glib for command line handling in crm_verify.
- iso8601: prevent sec overrun before adding up as long long
- crmadmin: tweaks

OBS-URL: https://build.opensuse.org/request/show/884033
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=347
2021-04-09 11:05:33 +00:00
Dominique Leuenberger
65a642c15e Accepting request 868330 from network:ha-clustering:Factory
- pacemakerd: downgrade the warning about SBD_SYNC_RESOURCE_STARTUP to notice (bsc#1180966)
  * bsc#1180966-0001-Log-pacemakerd-downgrade-the-warning-about-SBD_SYNC_.patch

- Update to version 2.0.5+20210104.8ae19fdf9:
- attrd: prevent leftover attributes of shutdown node in cib (bsc#1173668)

- Update to version 2.0.5+20201218.c67665496:
- books: enable Sphinx build
- books: remove Publican
- xml: Update XML schema for crm_resource changes.
- libpacemaker: Also flatten XML location constraint output.
- libpacemaker: Various small fixes to location-list.
- libpacemaker: Fix printing out location constraints.
- libpacemaker: Correct loop detection in rscs_colocated_with_list.
- libpacemaker: Flatten XML output for colocations.
- libpacemaker: Pass the correct resource to recursive calls.
- tools: Don't display generic lists for colocations and constraints.
- libpacemaker: Change the colocation list headings.
- libpacemaker: Don't show an empty locations list.
- libcrmcluster: properly check CPG payload size
- libcrmcluster: correctly return error for invalid payload size
- libcrmcommon: set errno properly on IPC connection failure
- scheduler: Don't output a resource header with no list.
- libcib: Cleanup at signoff.Fix(CLBZ#5457)
- scheduler: add class back to multiple recovery message
- fencer: standardize fence device references in log messages
- fencer: improve wording of various messages
- fencer: correct order of arguments to a message
- fencer: log operation IDs more consistently
- fencer: log operation state as readable string rather than integer enum value (forwarded request 868329 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/868330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=137
2021-02-04 19:22:21 +00:00
Yan Gao
c43bb90be9 Accepting request 868329 from home:yan_gao:branches:network:ha-clustering:Factory
- pacemakerd: downgrade the warning about SBD_SYNC_RESOURCE_STARTUP to notice (bsc#1180966)
  * bsc#1180966-0001-Log-pacemakerd-downgrade-the-warning-about-SBD_SYNC_.patch

- Update to version 2.0.5+20210104.8ae19fdf9:
- attrd: prevent leftover attributes of shutdown node in cib (bsc#1173668)

- Update to version 2.0.5+20201218.c67665496:
- books: enable Sphinx build
- books: remove Publican
- xml: Update XML schema for crm_resource changes.
- libpacemaker: Also flatten XML location constraint output.
- libpacemaker: Various small fixes to location-list.
- libpacemaker: Fix printing out location constraints.
- libpacemaker: Correct loop detection in rscs_colocated_with_list.
- libpacemaker: Flatten XML output for colocations.
- libpacemaker: Pass the correct resource to recursive calls.
- tools: Don't display generic lists for colocations and constraints.
- libpacemaker: Change the colocation list headings.
- libpacemaker: Don't show an empty locations list.
- libcrmcluster: properly check CPG payload size
- libcrmcluster: correctly return error for invalid payload size
- libcrmcommon: set errno properly on IPC connection failure
- scheduler: Don't output a resource header with no list.
- libcib: Cleanup at signoff.Fix(CLBZ#5457)
- scheduler: add class back to multiple recovery message
- fencer: standardize fence device references in log messages
- fencer: improve wording of various messages
- fencer: correct order of arguments to a message
- fencer: log operation IDs more consistently
- fencer: log operation state as readable string rather than integer enum value

OBS-URL: https://build.opensuse.org/request/show/868329
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=345
2021-02-01 10:34:27 +00:00
Dominique Leuenberger
c1fa5dbb6c Accepting request 853534 from network:ha-clustering:Factory
- Update to version 2.0.5+20201202.ba59be712 (Pacemaker-2.0.5):
- xml: Revert to correct schema for alerts-3.5
- tools: match calloc() with free() in crm_resource
- tools: "Connectivity is lost" may not be displayed even if the ping communication is lost.

- Update to version 2.0.4+20201116.ae2c04b54:
- tools: make cibsecret use bash
- fencer: allow peer configuration requests

- Update to version 2.0.4+20201027.31aa4f551:
- pacemakerd: handle shutdown requests better
- daemons,libcrmcommon: send status code with client acks
- fencer: restrict certain IPC requests to privileged users (CVE-2020-25654, bsc#1177916)
- pacemakerd: ignore shutdown requests from unprivileged users (CVE-2020-25654, bsc#1177916)
- pacemakerd: check client for NULL before using it
- executor: restrict certain IPC requests to Pacemaker daemons (CVE-2020-25654, bsc#1177916)
- executor: return appropriate error code when no remote support
- executor: mark controller connections to pacemaker-remoted as privileged
- executor: show CRM_OP_REGISTER rc in debug message

- Update to version 2.0.4+20201022.354625c62:
- tools: revert some changes in crm_resource NULL checks
- xml: Mark new crm_mon attributes as optional.
- scheduler: fix build when DEFAULT_CONCURRENT_FENCING_TRUE is set

- Update to version 2.0.4+20201019.878658661:
- cib: create reply when needed for diff
- cib: only build reply when needed

- Update to version 2.0.4+20201014.b0ef36d82: (forwarded request 853533 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/853534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=136
2020-12-09 21:11:16 +00:00
Yan Gao
32e626790c Accepting request 853533 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.5+20201202.ba59be712 (Pacemaker-2.0.5):
- xml: Revert to correct schema for alerts-3.5
- tools: match calloc() with free() in crm_resource
- tools: "Connectivity is lost" may not be displayed even if the ping communication is lost.

- Update to version 2.0.4+20201116.ae2c04b54:
- tools: make cibsecret use bash
- fencer: allow peer configuration requests

- Update to version 2.0.4+20201027.31aa4f551:
- pacemakerd: handle shutdown requests better
- daemons,libcrmcommon: send status code with client acks
- fencer: restrict certain IPC requests to privileged users (CVE-2020-25654, bsc#1177916)
- pacemakerd: ignore shutdown requests from unprivileged users (CVE-2020-25654, bsc#1177916)
- pacemakerd: check client for NULL before using it
- executor: restrict certain IPC requests to Pacemaker daemons (CVE-2020-25654, bsc#1177916)
- executor: return appropriate error code when no remote support
- executor: mark controller connections to pacemaker-remoted as privileged
- executor: show CRM_OP_REGISTER rc in debug message

- Update to version 2.0.4+20201022.354625c62:
- tools: revert some changes in crm_resource NULL checks
- xml: Mark new crm_mon attributes as optional.
- scheduler: fix build when DEFAULT_CONCURRENT_FENCING_TRUE is set

- Update to version 2.0.4+20201019.878658661:
- cib: create reply when needed for diff
- cib: only build reply when needed

- Update to version 2.0.4+20201014.b0ef36d82:

OBS-URL: https://build.opensuse.org/request/show/853533
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=343
2020-12-07 09:07:23 +00:00
Dominique Leuenberger
cac2ce9cc7 Accepting request 842721 from network:ha-clustering:Factory
- Update to version 2.0.4+20200702.813fdbfdc:
- libcrmcommon: deprecate create_hello_message() as public API (bsc#1170346, rh#1796824)
- pacemakerd: properly conditionalize corosync calls (bsc#1170346, rh#1796824)
- pacemakerd: use existing handle for corosync shutdown (bsc#1170346, rh#1796824)
- pacemakerd: improve messages (bsc#1170346, rh#1796824)
- pacemakerd: functionize removing core file limit (bsc#1170346, rh#1796824)
- pacemakerd: remove unneeded IPC and CPG commands (bsc#1170346, rh#1796824)
- tools: crm_node -l and -p now work from Pacemaker Remote nodes (bsc#1170346, rh#1796824)
- functionize numeric comparisons of strings (bsc#1170346, rh#1796824)
- controller: add new IPC API command for getting node list (bsc#1170346, rh#1796824)

- Update to version 2.0.4+20200701.556cef416:
- tools: convert crmadmin to use new controller IPC model (bsc#1170346, rh#1796824)
- tools: remove dead code from crm_node (bsc#1170346, rh#1796824)
- tools: convert crm_node to use new controller IPC model (bsc#1170346, rh#1796824)
- tools: convert crm_resource to use new controller IPC model (bsc#1170346, rh#1796824)
- libcrmcommon: add C API for controller IPC (bsc#1170346, rh#1796824)
- libcrmcommon: new model for daemon IPC API (bsc#1170346, rh#1796824)

- Update to version 2.0.4+20200630.107af1896:
- tools, libs: Use pcmk__str_any_of and pcmk__str_all_of.
- libcrmcommon: Add pcmk__str_any_of and pcmk__str_none_of.

- Update to version 2.0.4+20200624.67a6a9b31:
- lib, tools: Correct types given to PCMK__OUTPUT_ARGS.

- Update to version 2.0.4+20200623.e36fe309d:
- sysconfig: remove outdated reference to wildcards in PCMK_trace_files
- rpm: use https in package URL
- resources: don't check host-specific conditions in attribute validate (forwarded request 842719 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/842721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=135
2020-10-23 10:20:06 +00:00
Yan Gao
2d8169c00b Accepting request 842719 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.4+20200702.813fdbfdc:
- libcrmcommon: deprecate create_hello_message() as public API (bsc#1170346, rh#1796824)
- pacemakerd: properly conditionalize corosync calls (bsc#1170346, rh#1796824)
- pacemakerd: use existing handle for corosync shutdown (bsc#1170346, rh#1796824)
- pacemakerd: improve messages (bsc#1170346, rh#1796824)
- pacemakerd: functionize removing core file limit (bsc#1170346, rh#1796824)
- pacemakerd: remove unneeded IPC and CPG commands (bsc#1170346, rh#1796824)
- tools: crm_node -l and -p now work from Pacemaker Remote nodes (bsc#1170346, rh#1796824)
- functionize numeric comparisons of strings (bsc#1170346, rh#1796824)
- controller: add new IPC API command for getting node list (bsc#1170346, rh#1796824)

- Update to version 2.0.4+20200701.556cef416:
- tools: convert crmadmin to use new controller IPC model (bsc#1170346, rh#1796824)
- tools: remove dead code from crm_node (bsc#1170346, rh#1796824)
- tools: convert crm_node to use new controller IPC model (bsc#1170346, rh#1796824)
- tools: convert crm_resource to use new controller IPC model (bsc#1170346, rh#1796824)
- libcrmcommon: add C API for controller IPC (bsc#1170346, rh#1796824)
- libcrmcommon: new model for daemon IPC API (bsc#1170346, rh#1796824)

- Update to version 2.0.4+20200630.107af1896:
- tools, libs: Use pcmk__str_any_of and pcmk__str_all_of.
- libcrmcommon: Add pcmk__str_any_of and pcmk__str_none_of.

- Update to version 2.0.4+20200624.67a6a9b31:
- lib, tools: Correct types given to PCMK__OUTPUT_ARGS.

- Update to version 2.0.4+20200623.e36fe309d:
- sysconfig: remove outdated reference to wildcards in PCMK_trace_files
- rpm: use https in package URL
- resources: don't check host-specific conditions in attribute validate

OBS-URL: https://build.opensuse.org/request/show/842719
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=341
2020-10-20 08:55:36 +00:00
Dominique Leuenberger
bcf0de4f49 Accepting request 819985 from network:ha-clustering:Factory
- Fixes for %_libexecdir changing to /usr/libexec

- Update to version pacemaker-2.0.4+20200616.2deceaa3a (Pacemaker-2.0.4):
- cibsecret: don't use pssh -q option unless supported
- tools: verify newly created CIB connection is not NULL
- tools: check resource separately from managing parameter in cibsecret
- tools: improve cibsecret help

- Update to version 2.0.3+20200608.44045c027:
- scheduler: Add the node name back to bundle instances.

- Update to version 2.0.3+20200605.0db37d66f:
- rpm: add spec option for enabling CIB secrets
- build: avoid resource-agents as build dependency when cibsecrets are enabled

- Update to version 2.0.3+20200603.4ff9c412f:
- based: use crm_exit to free qb-logging

- Update to version 2.0.3+20200602.f7f36e8a8:
- libpe_status: Modify filtering of inactive resources.

- Update to version 2.0.3+20200527.e67fb5c73:
- rpm: put user-configurable items at top of spec
- tools: free IPC memory after closing connection
- resources: attribute name parameter doesn't have to be unique

- Update to version 2.0.3+20200516.b06fc662e:
- crm_ticket: avoid unnecessary issues with dynamic allocation
- crm_resource: avoid unnecessary issus with dynamic allocation
- crm_mon: NULL output-pointer when buffer is freed (forwarded request 819984 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/819985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=134
2020-07-14 05:43:07 +00:00
Yan Gao
02bf41c8c8 Accepting request 819984 from home:yan_gao:branches:network:ha-clustering:Factory
- Fixes for %_libexecdir changing to /usr/libexec

- Update to version pacemaker-2.0.4+20200616.2deceaa3a (Pacemaker-2.0.4):
- cibsecret: don't use pssh -q option unless supported
- tools: verify newly created CIB connection is not NULL
- tools: check resource separately from managing parameter in cibsecret
- tools: improve cibsecret help

- Update to version 2.0.3+20200608.44045c027:
- scheduler: Add the node name back to bundle instances.

- Update to version 2.0.3+20200605.0db37d66f:
- rpm: add spec option for enabling CIB secrets
- build: avoid resource-agents as build dependency when cibsecrets are enabled

- Update to version 2.0.3+20200603.4ff9c412f:
- based: use crm_exit to free qb-logging

- Update to version 2.0.3+20200602.f7f36e8a8:
- libpe_status: Modify filtering of inactive resources.

- Update to version 2.0.3+20200527.e67fb5c73:
- rpm: put user-configurable items at top of spec
- tools: free IPC memory after closing connection
- resources: attribute name parameter doesn't have to be unique

- Update to version 2.0.3+20200516.b06fc662e:
- crm_ticket: avoid unnecessary issues with dynamic allocation
- crm_resource: avoid unnecessary issus with dynamic allocation
- crm_mon: NULL output-pointer when buffer is freed

OBS-URL: https://build.opensuse.org/request/show/819984
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=339
2020-07-10 12:16:26 +00:00
Dominique Leuenberger
bef73d067c Accepting request 802832 from network:ha-clustering:Factory
- Update to version 2.0.3+20200511.2b248d828:
- tools: get stonith_admin --list-targets working again (forwarded request 802831 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/802832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=133
2020-05-12 20:28:48 +00:00
Yan Gao
f721689677 Accepting request 802831 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.3+20200511.2b248d828:
- tools: get stonith_admin --list-targets working again

OBS-URL: https://build.opensuse.org/request/show/802831
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=337
2020-05-12 06:47:59 +00:00
Yan Gao
6a08a84d3e Accepting request 802783 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.3+20200511.e7d7b1aa5:
- libpe_status: Apply node filtering to clone resource lists.
- tools: Remove an extra space in crm_mon filtered output.
- libpe_status: Don't output unnecessary resource headers.
- libpe_status: Handle filtering of inactive resources.
- tools: Print inactive resources by default with crm_mon xml output.

OBS-URL: https://build.opensuse.org/request/show/802783
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=336
2020-05-11 21:39:34 +00:00
Yan Gao
0b9719c4e5 Accepting request 802745 from home:yan_gao:branches:network:ha-clustering:Factory
- libcrmcommon: lower message on reading proc file to info
  * 0001-Log-libcrmcommon-lower-message-on-reading-proc-file-.patch

- Update to version 2.0.3+20200511.a9e085d8c:
- fencer: avoid possible use-of-NULL when parsing metadata (bsc#1171372)
- libstonithd: make the assert message from stonith__device_parameter_flags() more clear (bsc#1171372)

- Update to version 2.0.3+20200507.c8529193e:
- libstonithd: respect `pcmk_host_argument=none` on `validate` (bsc#1171372)
- libstonithd: add `port` or `plug` parameter according to metadata on `validate` if no `pcmk_host_argument` specified (bsc#1171372)
- Pacemaker Explained: update the default value and the description of `pcmk_host_argument` (bsc#1171372)
- fencer: add `port` or `plug` parameter according to metadata for RHCS-style fence-agents (bsc#1171372)
- libstonithd: add function to check supported parameters according to the metadata of a fence agent (bsc#1171372)

- Update to version 2.0.3+20200506.a212e4fa3:
- fenced: Remove relayed stonith operation.(Fix:CLBZ#5401)
- controller: properly detect remote node info requests
- cotrold: Notify tengine of completion of CRM_OP_LRM_DELETE.(Fix:CLBZ:#5424)

- Update to version 2.0.3+20200429.029571144:
- stonith_admin: --delay is an optional option for --fence/--unfence/--reboot commands (ECO-1611, SLE-12239, SLE-12240)
- controller: avoid possible use-of-NULL on logging fencing message (ECO-1611, SLE-12239, SLE-12240)

- Update to version 2.0.3+20200428.f0a4d08c9:
- cib: populate cib_nodes when 'cibadmin -R -scope=configuration'

- Update to version 2.0.3+20200423.01b9bbdbe:
- cts: add `plug` parameter for fence_dummy agent (bsc#1171372)
- libstonithd: `plug` parameter of RHCS-style fence-agents is shown as non-required in the metadata (bsc#1171372)
- libstonithd: `action` parameter of RHCS-style fence-agents is shown as non-required in the metadata (bsc#1171372)

OBS-URL: https://build.opensuse.org/request/show/802745
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=335
2020-05-11 16:32:16 +00:00
Dominique Leuenberger
f7a9750277 Accepting request 769084 from network:ha-clustering:Factory
- Update to version 2.0.3+20200128.df6c286d9:
- scheduler: ensure attenuated scores still have some effect
- scheduler: ignore colocation constraints with 0 score

- Update to version 2.0.3+20200127.cdf84f849:
- libpe_status: Remove extra colons from operations output.
- libpe_status: correctly check for implicit resource ID collision
- libpe_status: Use the same message for headers and history.
- get ready for implicit -fno-common with upcoming GCC 10 (bsc#1160410)
- Rebase:
  * bug-728579_pacemaker-stonith-dev-id.patch

- Update to version 2.0.3+20200116.92a6f7e97:
- controller: bump feature set for shutdown-lock
- scheduler: clear resource history when appropriate
- tools: for down nodes, crm_resource --refresh should clear CIB only
- controller: allow CRM_OP_LRM_DELETE to clear CIB only
- tools: crm_resource resource checks should show shutdown locks
- scheduler: display when a resource is shutdown-locked to a node
- controller: don't clear shutdown locks when node rejoins
- controller: mark shutdown-locked resources in resource history
- scheduler: respect shutdown locks when placing inactive resources
- scheduler: respect shutdown locks when placing active resources
- scheduler: add shutdown lock cluster options
- tools: improve error checking for crm_resource cleanup/fail commands
- tools: improve crm_resource "why" messages
- controller: improve messages when deleting CIB resource history

- Update to version 2.0.3+20200116.ea5b06fae:
- rectify thinko possibly behind spurious "process will not die" msg (forwarded request 769083 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/769084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=132
2020-02-03 10:10:52 +00:00
Yan Gao
c08b03c923 Accepting request 769083 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.3+20200128.df6c286d9:
- scheduler: ensure attenuated scores still have some effect
- scheduler: ignore colocation constraints with 0 score

- Update to version 2.0.3+20200127.cdf84f849:
- libpe_status: Remove extra colons from operations output.
- libpe_status: correctly check for implicit resource ID collision
- libpe_status: Use the same message for headers and history.
- get ready for implicit -fno-common with upcoming GCC 10 (bsc#1160410)
- Rebase:
  * bug-728579_pacemaker-stonith-dev-id.patch

- Update to version 2.0.3+20200116.92a6f7e97:
- controller: bump feature set for shutdown-lock
- scheduler: clear resource history when appropriate
- tools: for down nodes, crm_resource --refresh should clear CIB only
- controller: allow CRM_OP_LRM_DELETE to clear CIB only
- tools: crm_resource resource checks should show shutdown locks
- scheduler: display when a resource is shutdown-locked to a node
- controller: don't clear shutdown locks when node rejoins
- controller: mark shutdown-locked resources in resource history
- scheduler: respect shutdown locks when placing inactive resources
- scheduler: respect shutdown locks when placing active resources
- scheduler: add shutdown lock cluster options
- tools: improve error checking for crm_resource cleanup/fail commands
- tools: improve crm_resource "why" messages
- controller: improve messages when deleting CIB resource history

- Update to version 2.0.3+20200116.ea5b06fae:
- rectify thinko possibly behind spurious "process will not die" msg

OBS-URL: https://build.opensuse.org/request/show/769083
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=333
2020-01-31 15:54:26 +00:00
Dominique Leuenberger
e321968a6d Accepting request 746349 from network:ha-clustering:Factory
- Update to version 2.0.2+20191106.eef56dcd6:
- libcrmcommon: Make sure to free the --output-as description.
- libcrmcommon: Rename formatted output cmdline options.
- libcrmcommon: Group all output options together.

- Update to version 2.0.2+20191031.1d695899e:
- scheduler: clarify message about when watchdog will be used
- scheduler: properly detect whether guest node is fenceable
- scheduler: initialize unfencing digests to null
- scheduler: improve graph synapse logging

- Update to version 2.0.2+20191023.7a12ccbe4:
- tools: Explain TIMESPEC in crm_mon help output.
- tools: crm_mon --interval should understand more formats.
- libcrmservice: don't close descriptors above current limit
- rpm: pacemaker-cts requires pacemaker
- tools: restore ability to show groups in crm_mon console mode
- tools: Deprecated old-style output options in crm_mon.
- cts-scheduler: test "year-2038" only runs for 64bit systems
- fencer: clarify more messages
- tools: don't ignore cib_new() errors in crm_mon
- tools: avoid memory leak in crm_mon when displaying nodes
- libpe_status: avoid memory leak when outputting resources
- libcrmcommon: avoid memory leak when IPC compression fails
- Security: introduce restrictive usage libxslt's security framework
- libcrmservice: try not to spam close() file descriptors
- tools: Support "crm_mon --as-html=<filename>".
- tools: Don't output nodes if they don't have failures.
- tools: Update checks around crm_mon --daemonize.
- libpe_status: Use CSS to style messages. (forwarded request 746348 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/746349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=131
2019-11-11 12:00:22 +00:00
Yan Gao
a37d6b83b1 Accepting request 746348 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.2+20191106.eef56dcd6:
- libcrmcommon: Make sure to free the --output-as description.
- libcrmcommon: Rename formatted output cmdline options.
- libcrmcommon: Group all output options together.

- Update to version 2.0.2+20191031.1d695899e:
- scheduler: clarify message about when watchdog will be used
- scheduler: properly detect whether guest node is fenceable
- scheduler: initialize unfencing digests to null
- scheduler: improve graph synapse logging

- Update to version 2.0.2+20191023.7a12ccbe4:
- tools: Explain TIMESPEC in crm_mon help output.
- tools: crm_mon --interval should understand more formats.
- libcrmservice: don't close descriptors above current limit
- rpm: pacemaker-cts requires pacemaker
- tools: restore ability to show groups in crm_mon console mode
- tools: Deprecated old-style output options in crm_mon.
- cts-scheduler: test "year-2038" only runs for 64bit systems
- fencer: clarify more messages
- tools: don't ignore cib_new() errors in crm_mon
- tools: avoid memory leak in crm_mon when displaying nodes
- libpe_status: avoid memory leak when outputting resources
- libcrmcommon: avoid memory leak when IPC compression fails
- Security: introduce restrictive usage libxslt's security framework
- libcrmservice: try not to spam close() file descriptors
- tools: Support "crm_mon --as-html=<filename>".
- tools: Don't output nodes if they don't have failures.
- tools: Update checks around crm_mon --daemonize.
- libpe_status: Use CSS to style messages.

OBS-URL: https://build.opensuse.org/request/show/746348
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=331
2019-11-07 16:09:29 +00:00
Dominique Leuenberger
c71cfa89c6 Accepting request 723794 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/723794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=130
2019-08-19 18:57:31 +00:00
Yan Gao
154c80f970 Accepting request 721844 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.2+20190801.122c32115:
- libcib: install cib_types.h
- tools: Use glib for cmdline handling in crm_mon.
- libcrmcommon: Handle no digits in crm_int_helper.
- libcrmcommon: Allow glib cmdline parsing without formatted output.
- extra: calculate #health_disk correctly in SysInfo
- extra: handle run-as-user properly in ClusterMon
- extra: advertise promote and demote in Stateful meta-data
- extra: formally deprecate the ocf:pacemaker:pingd agent
- extra: quote shell variables in agent code where appropriate
- extra: use ":=" where appropriate in agent code

- Update to version 2.0.2+20190725.4b4fea3eb:
- Rebase:
  * bug-977201_pacemaker-controld-self-fencing.patch
- libcrmcommon:  Restore getopt behavior in stonith_admin.
- controller: document the cluster-name cluster property
- controller: allow configurable reaction to local node fencing
- pacemakerd: make daemon exit detection messages more consistent
- executor: stonith probes should fail only if previously registered
- libstonithd: handle API creation errors better
- spec: avoid long-broken (in a pristine tree state) "make all"
- controller: panic local host if notified of own fencing
- controller: clear "required" bit when disconnecting scheduler
- libcrmcommon: Remove -q from global cmdline options.
- tools: Allow HTML output in stonith_admin.
- libstonithd: Add HTML support to fencing messages.
- st_client: Reword stonith_event_text.
- controld: Use XML output to check for pending status.
- pengine: formatted output for html

OBS-URL: https://build.opensuse.org/request/show/721844
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=329
2019-08-08 16:13:22 +00:00
Yan Gao
3fc6e0ce2a Accepting request 700144 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.1+20190430.8e851b084:
- controller: avoid memory leak when duplicate monitor is scheduled
- libcrmcommon: return proper code if testing pid is denied (bsc#1131353, bsc#1131356)

- Update to version 2.0.1+20190424.a365fc58d:
- libcrmcommon: avoid use-of-NULL when checking whether process is active (bsc#1131353, bsc#1131356)
- daemons: make start-up log messages consistent across all daemons
- executor: downgrade disappeared remote client message to notice
- remote: include channel name in IPC proxy failure message
- fencing: clarify device search messages
- libcrmcluster: improve CPG membership messages
- tools: Use formatted output in stonith_admin.
- libstonithd: Add custom formatting to fencing types.
- libcrmcommon: Add formatted output.
- xml: Add a schema for API results.

- Update to version 2.0.1+20190417.13d370ca9:
- controld: fix possible NULL pointer dereference (bsc#1131353, bsc#1131356)
- pacemakerd vs. IPC/procfs confused deputy authenticity issue (CVE-2018-16877, bsc#1131356) (CVE-2018-16878, bsc#1131353)
- libservices: fix use-after-free wrt. alert handling (CVE-2019-3885, bsc#1131357)
- executor: systemd starts should return UNKNOWN_ERROR instead of NOT_RUNNING
- pacemaker-remoted: improve proxy accept failure message
- executor: consider stonith resource stopped only if stop succeeded
- executor: improve stonith operation rc and status mapping
- executor: reschedule recurring stonith monitor if not connected
- executor: put recurring stonith failsafe stop in correct place

OBS-URL: https://build.opensuse.org/request/show/700144
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=328
2019-05-02 12:53:30 +00:00
Dominique Leuenberger
4e0768c35b Accepting request 693680 from network:ha-clustering:Factory
- Rebase:
  bug-728579_pacemaker-stonith-dev-id.patch
- Revert "use common service interface for fence-agents and RAs" (bsc#1132123)
  * 0002-Revert-use-common-service-interface-for-fence-agents.patch
- Revert "service-lib: avoid call-pattern leading to use-after-free"
  * 0001-Revert-Fix-service-lib-avoid-call-pattern-leading-to.patch

- Update to version 2.0.1+20190408.1b68da8e8:
- scheduler: avoid error log in harmless situation
- libcrmcommon: use INT_MIN/INT_MAX instead of -1 for out-of-range integers
- service-lib: avoid call-pattern leading to use-after-free
- libp-i: Renamed to libpacemaker.

- crmd: delete resource from lrmd when appropriate (bsc#1117381) (forwarded request 693679 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/693680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=129
2019-04-15 09:51:25 +00:00
Yan Gao
ae2abe019b Accepting request 693679 from home:yan_gao:branches:network:ha-clustering:Factory
- Rebase:
  bug-728579_pacemaker-stonith-dev-id.patch
- Revert "use common service interface for fence-agents and RAs" (bsc#1132123)
  * 0002-Revert-use-common-service-interface-for-fence-agents.patch
- Revert "service-lib: avoid call-pattern leading to use-after-free"
  * 0001-Revert-Fix-service-lib-avoid-call-pattern-leading-to.patch

- Update to version 2.0.1+20190408.1b68da8e8:
- scheduler: avoid error log in harmless situation
- libcrmcommon: use INT_MIN/INT_MAX instead of -1 for out-of-range integers
- service-lib: avoid call-pattern leading to use-after-free
- libp-i: Renamed to libpacemaker.

- crmd: delete resource from lrmd when appropriate (bsc#1117381)

OBS-URL: https://build.opensuse.org/request/show/693679
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=326
2019-04-12 09:15:14 +00:00
Dominique Leuenberger
06af287022 Accepting request 691761 from network:ha-clustering:Factory
Let's get this in first, as it's just ready and important fixes are in :F

OBS-URL: https://build.opensuse.org/request/show/691761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=128
2019-04-05 09:55:46 +00:00
Yan Gao
5adb82fa5f Accepting request 691609 from home:jengelh:branches:network:ha-clustering:Factory
- Drop %if..%endif guards around %packages which does not
  affect the build result.

OBS-URL: https://build.opensuse.org/request/show/691609
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=324
2019-04-05 09:23:39 +00:00
Yan Gao
68aa3f89d0 Accepting request 691523 from home:yan_gao:branches:network:ha-clustering:Factory
- spec: no need to explicitly require the virtual dependency on libqb

- Rebase:
  * bug-728579_pacemaker-stonith-dev-id.patch
- Update to version 2.0.1+20190402.e091f4f0c:
- scheduler: one group stop shouldn't make another required
- libcrmcommon: compare_version: drop superfluous heap allocation
- libfencing: enumerate installed RHCS-style agents alpha-sorted
- xml diff'ing: prevent 'id' attribute reordering in "diff-removed"
- libcrmcommon: downplay "Creating RNG parser context" as debug prio
- controller: improve failed recurring action messages
- controller: improve lost action logs
- use common service interface for fence-agents and RAs
- libcrmcommon: allow whitespace in name/value pairs
- libcrmcommon: pcmk_nvpair_t should handle NULL values

- Update to version 2.0.1+20190312.059e2e26b:
- spec: move stonith_admin to -cli where it belongs
- tools: Add crm_rule.

- Update to version 2.0.1+20190311.e91ee92e5:
- libfencing: Change return type on stonith_agent_exists.
- scheduler: cl#5301 - respect order constraints when relevant resources are being probed (bsc#1117934, bsc#1128374)

- Update to version 2.0.1+20190304.1ac166cd3:
- build: Update pkgconfig files for libpe.
- libp-i: Add a pkgconfig file for libp-i.
- libs: Rename libpengine to libpacemaker-internal.
- tools: Add new validate options to crm_resource.
- Add HealthIOWait provider which checks hosts's IOWait

OBS-URL: https://build.opensuse.org/request/show/691523
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=323
2019-04-04 13:06:34 +00:00
Dominique Leuenberger
1f3138bcc2 Accepting request 682489 from network:ha-clustering:Factory
revert to Pacemaker-2.0.1 (forwarded request 682488 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/682489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=127
2019-03-12 08:47:25 +00:00
Yan Gao
fecab2cc19 Accepting request 682488 from home:yan_gao:branches:network:ha-clustering:Factory
revert to Pacemaker-2.0.1

OBS-URL: https://build.opensuse.org/request/show/682488
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=321
2019-03-07 14:28:23 +00:00
Yan Gao
31842683d4 Accepting request 682416 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.1+20190304.1ac166cd3:
- build: Update pkgconfig files for libpe.
- libp-i: Add a pkgconfig file for libp-i.
- libs: Rename libpengine to libpacemaker-internal.
- tools: Add new validate options to crm_resource.
- Add HealthIOWait provider which checks hosts's IOWait
- tools: crm_resource --clear should print out what it does

- Update to version 2.0.1+20190304.9e909a5bd (Pacemaker-2.0.1):
- libcrmcommon: complete interrupted live migrations correctly

- Update to version 2.0.0+20190225.22ee9a769:
- scheduler: skip all native constraints for unmanaged resources
- scheduler: sort nodes when creating constraints

- Update to version 2.0.0+20190130.57cc9c14b:
- CTS: really don't require nodes to be specified if listing tests (bsc#1114840)
- controller: really avoid closing attrd IPC for temporary failures
- controller: clear election dampening when DC is lost

OBS-URL: https://build.opensuse.org/request/show/682416
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=320
2019-03-07 11:17:05 +00:00
Dominique Leuenberger
a1a209e781 Accepting request 669072 from network:ha-clustering:Factory
- Update to version 2.0.0+20190125.788ee2c49:
- attrd: clear election dampening when the writer leaves
- libcrmcluster: *really* write only one election storm black box
- attrd: log previous writer *before* clearing it

- Update to version 2.0.0+20190124.c3c9c6e66:
- scheduler: don't order non-DC shutdowns before DC fencing
- scheduler: improve fence action ordering
- scheduler: don't disable waiting for DC fencing
- libcrmservice: cancel DBus call when cancelling systemd/upstart actions
- libcrmservice: null-terminate string *before* printing it
- libcrmservice: improve logs when cleaning up an operation
- spec: add hint about sbd compatibility

- Update to version 2.0.0+20190122.3f993c74f:
- crm_mon: remove duplicity of fence-action-state in xml-output
- cts: temporarily disable any enabled cluster serivces when running remote tests
- cts: service counts as enabled only if it's explicitly enabled

- Update to version 2.0.0+20190111.750c5bd01:
- cts-exec: still run the tests for the other resource classes even without python systemd bindings (bsc#1121808)

- fenced: Handle fencing requested with nodeid by utilizing the membership cache of known nodes (bsc#1094208, bsc#1107270, bsc#974108)
- controld: able to manually confirm unseen nodes are down (bsc#1094208, bsc#1107270)
- crm_mon: rhbz#1461964 - add fence history features (bsc#968055) (forwarded request 669071 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/669072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=126
2019-02-13 09:15:35 +00:00
Yan Gao
6a20c06ab1 Accepting request 669071 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.0+20190125.788ee2c49:
- attrd: clear election dampening when the writer leaves
- libcrmcluster: *really* write only one election storm black box
- attrd: log previous writer *before* clearing it

- Update to version 2.0.0+20190124.c3c9c6e66:
- scheduler: don't order non-DC shutdowns before DC fencing
- scheduler: improve fence action ordering
- scheduler: don't disable waiting for DC fencing
- libcrmservice: cancel DBus call when cancelling systemd/upstart actions
- libcrmservice: null-terminate string *before* printing it
- libcrmservice: improve logs when cleaning up an operation
- spec: add hint about sbd compatibility

- Update to version 2.0.0+20190122.3f993c74f:
- crm_mon: remove duplicity of fence-action-state in xml-output
- cts: temporarily disable any enabled cluster serivces when running remote tests
- cts: service counts as enabled only if it's explicitly enabled

- Update to version 2.0.0+20190111.750c5bd01:
- cts-exec: still run the tests for the other resource classes even without python systemd bindings (bsc#1121808)

- fenced: Handle fencing requested with nodeid by utilizing the membership cache of known nodes (bsc#1094208, bsc#1107270, bsc#974108)
- controld: able to manually confirm unseen nodes are down (bsc#1094208, bsc#1107270)
- crm_mon: rhbz#1461964 - add fence history features (bsc#968055)

OBS-URL: https://build.opensuse.org/request/show/669071
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=318
2019-01-28 12:45:39 +00:00
Dominique Leuenberger
dcc998cd87 Accepting request 664716 from network:ha-clustering:Factory
- Update to version 2.0.0+20190111.f07d766f3:
- controller: directly acknowledge unrecordable operation results
- resources: clean serialized file on SIGTERM in Dummy
- libcrmcommon: downgrade empty output logging to trace level (forwarded request 664714 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/664716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=125
2019-01-21 09:08:12 +00:00
Yan Gao
88aa69efe2 Accepting request 664714 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.0+20190111.f07d766f3:
- controller: directly acknowledge unrecordable operation results
- resources: clean serialized file on SIGTERM in Dummy
- libcrmcommon: downgrade empty output logging to trace level

OBS-URL: https://build.opensuse.org/request/show/664714
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=316
2019-01-11 16:13:18 +00:00
Yan Gao
2f113ab216 Accepting request 664694 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.0+20190110.7bbbeb6f6:
- tools: Clear all prefer constraints when performing a move
- tools: Fix moving a resource with a lifetime constraint
- attrd: check for alert changes after CIB is replaced
- attrd: start new election if writer is lost
- attrd: handle shutdown more cleanly
- attrd: don't start a new election when receiving a client update
- attrd: clear lost updates
- attrd: don't delay re-attempted writes unless original failed
- attrd: connect to the CIB before connecting the cluster

- Update to version 2.0.0+20190103.5b36d4e10:
- scheduler: downgrade clone pre-allocation message
- libpe_status: downgrade remote node fence-before-clear message
- libpe_status: improve trace messages when finding actions
- libpe_status: avoid use-after-free when logging at trace level
- libpe_status: avoid double free of stop_needed list
- tools: stonith_admin -I doesn't require an agent
- pacemakerd,libcrmcommon: don't touch kernel.sysrq
- fencing: use next device's name where intended
- tools: Implement crm_resource --expired.
- CTS: ignore monitor failures when testing remote node fencing
- CTS: lower remote connection failure detection time
- attrd: Ignoring delayed updating of attributes when integrating disjointed clusters without stonith.
- pacemakerd: only one active process check needed
- cts: use bash in the pacemaker-cts-dummyd
- cts: clear constraints on cluster nodes (bsc#1121272)
- cts: resume any possibly frozen pacemaker_remoted when cleaning up the test (bsc#1121272)
- cts: simulate failure of pacemaker_remoted by freezing it with SIGSTOP (bsc#1121272)
- scheduler: order resource moves after connection starts

OBS-URL: https://build.opensuse.org/request/show/664694
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=315
2019-01-11 15:19:42 +00:00
Dominique Leuenberger
3e6f1b1caa Accepting request 647634 from network:ha-clustering:Factory
- Update to version 2.0.0+20181108.62ffcafbc:
- fenced: trigger device-update on resource-defaults changed
- fenced: adhere meta-attributes when triggering device-update

- Update to version 2.0.0+20181105.fb362c0c9:
- scheduler: formally deprecate score in rsc_order
- pacemaker-remote: skip remote_config_check for guest-nodes

- Update to version 2.0.0+20181101.a21fd0099:
- rhbz#1644076 - Ensure the bundle stop/demote notifications are directed to the correct host
- libcrmservice: override removal failure is not a problem
- libcrmcommon,execd: pass remaining timeout to drain function
- tools: log user-specified time correctly in crm_simulate
- libcrmcluster: log microseconds sensibly
- libcrmservice: order systemd resources relative to pacemaker_remote
- scheduler: order guest pseudo-fencing properly after clean-up
- scheduler: avoid unnecessary recovery of cleaned guest nodes
- scheduler: improve bundle address fixing messages
- attrd: record tentative writer only if election not already lost
- attrd: skip election check if peer election op had error
- attrd: disregard lost nodes' election votes
- attrd: improve election messages
- attrd: initialize election before broadcasting protocol
- controller: remove node's vote as soon as it is inactive
- controller: don't register DC input twice
- controller: don't stop election timer for nonexistent election
- controller: improve election messages
- libcrmcluster: don't write more than one election storm black box
- libcrmcluster: only count no-vote if an election is in progress
- libcrmcluster: validate election cluster messages better (forwarded request 647633 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/647634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=124
2018-11-12 08:33:54 +00:00
Yan Gao
4785439f82 Accepting request 647633 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.0+20181108.62ffcafbc:
- fenced: trigger device-update on resource-defaults changed
- fenced: adhere meta-attributes when triggering device-update

- Update to version 2.0.0+20181105.fb362c0c9:
- scheduler: formally deprecate score in rsc_order
- pacemaker-remote: skip remote_config_check for guest-nodes

- Update to version 2.0.0+20181101.a21fd0099:
- rhbz#1644076 - Ensure the bundle stop/demote notifications are directed to the correct host
- libcrmservice: override removal failure is not a problem
- libcrmcommon,execd: pass remaining timeout to drain function
- tools: log user-specified time correctly in crm_simulate
- libcrmcluster: log microseconds sensibly
- libcrmservice: order systemd resources relative to pacemaker_remote
- scheduler: order guest pseudo-fencing properly after clean-up
- scheduler: avoid unnecessary recovery of cleaned guest nodes
- scheduler: improve bundle address fixing messages
- attrd: record tentative writer only if election not already lost
- attrd: skip election check if peer election op had error
- attrd: disregard lost nodes' election votes
- attrd: improve election messages
- attrd: initialize election before broadcasting protocol
- controller: remove node's vote as soon as it is inactive
- controller: don't register DC input twice
- controller: don't stop election timer for nonexistent election
- controller: improve election messages
- libcrmcluster: don't write more than one election storm black box
- libcrmcluster: only count no-vote if an election is in progress
- libcrmcluster: validate election cluster messages better

OBS-URL: https://build.opensuse.org/request/show/647633
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=313
2018-11-09 16:44:36 +00:00
Dominique Leuenberger
bcdffa1e76 Accepting request 640083 from network:ha-clustering:Factory
- fenced: Handle fencing requested with nodeid by utilizing the membership cache of known nodes (bsc#1094208)
  * bsc-1094208-Refactor-fenced-Handle-fencing-requested-with-nodeid.patch
- controld: able to manually confirm unseen nodes are down (bsc#1094208)
  * bsc-1094208-Fix-controld-able-to-manually-confirm-unseen-nodes-a.patch

- Update to version 2.0.0+20180927.b67d8d0de:
- logrotate: set a maximum size for logs
- tools: ensure crm_resource --force-* commands get stderr messages
- libcrmcommon: properly check whether resource supports parameters
- tools: "return" from crm_mon after calling functions that don't
- alerts: send all MIB OIDs with all SNMP alerts
- resource-agents: add "s"-suffix where missing in metadata
- libcommon: do not write to /proc/sys/kernel/sysrq when unneeded
- pacemaker-based: drop declared, errant option never backed in tree
- crm_mon: don't exit directly from cib_connect on error
- scheduler: honor asymmetric orderings even when restarting (forwarded request 640081 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/640083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=123
2018-10-11 09:46:31 +00:00
Yan Gao
f4fa43815b Accepting request 640081 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- fenced: Handle fencing requested with nodeid by utilizing the membership cache of known nodes (bsc#1094208)
  * bsc-1094208-Refactor-fenced-Handle-fencing-requested-with-nodeid.patch
- controld: able to manually confirm unseen nodes are down (bsc#1094208)
  * bsc-1094208-Fix-controld-able-to-manually-confirm-unseen-nodes-a.patch

- Update to version 2.0.0+20180927.b67d8d0de:
- logrotate: set a maximum size for logs
- tools: ensure crm_resource --force-* commands get stderr messages
- libcrmcommon: properly check whether resource supports parameters
- tools: "return" from crm_mon after calling functions that don't
- alerts: send all MIB OIDs with all SNMP alerts
- resource-agents: add "s"-suffix where missing in metadata
- libcommon: do not write to /proc/sys/kernel/sysrq when unneeded
- pacemaker-based: drop declared, errant option never backed in tree
- crm_mon: don't exit directly from cib_connect on error
- scheduler: honor asymmetric orderings even when restarting

OBS-URL: https://build.opensuse.org/request/show/640081
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=311
2018-10-05 13:20:59 +00:00
Yuchen Lin
38f9d41d4d Accepting request 635562 from network:ha-clustering:Factory
OBS-URL: https://build.opensuse.org/request/show/635562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=122
2018-09-16 16:30:43 +00:00