Commit Graph

430 Commits

Author SHA256 Message Date
Ana Guerrero
cd23f4d819 Accepting request 1228711 from network:ha-clustering:Factory
- Update to version 2.1.9+20241107.c3b66b02d0:
- CTS: Fix cts-lab --list. (gh#ClusterLabs/pacemaker#3723)

- Update to version 2.1.9+20241105.e043e6816a:
- executor: avoid use-after-free upon shutdown (bsc#1232613, gh#ClusterLabs/pacemaker#3719)

- Update to version 2.1.9+20241031.49aab99839 (Pacemaker-2.1.9):
- includes: Bump CRM_FEATURE_SET for iso8601 formatted output.
- schemas: Add an XML schema for iso8601 output.
- tools: Convert iso8601 to formatted output.

- Update to version 2.1.8+20241021.40d69ff424 (Pacemaker-2.1.9-rc3):
- tools: restore crmadmin default timeout to 30 seconds (bsc#1217259, bsc#1228781, jsc#PED-8311, gh#ClusterLabs/pacemaker#3703)
- libcrmcommon: any negative interval is an error
- agents: always allow attribute agent to show metadata
- agents: use RESOURCENAME in attribute agent metadata
- agents: use configured run directory in attribute agent
- controld: leave xml-src attribute empty when no DC selected #2902 (bsc#1217259, bsc#1228781, jsc#PED-8311, gh#ClusterLabs/pacemaker#3702)

- Update to version 2.1.8+20241015.33f3052b89 (Pacemaker-2.1.9-rc2):
- pacemakerd: combine subdaemon start-up logs
- libcrmcommon: avoid potential overflow when adding seconds
- libcib: Perform server-side remote CIB reads asynchronously.
- libcib: Perform client-side remote CIB reads asynchronously.
- tools: crm_resource returns error on failed schema upgrade
- libcrmcommon: Don't assert on failure to write errors. (gh#ClusterLabs/pacemaker#3684)

- Update to version 2.1.8+20241003.95cef6b307 (Pacemaker-2.1.9-rc1):
- NLS: update translations for current code base
- scheduler: Fixed memory leak when searching for unfencing devices. (gh#ClusterLabs/pacemaker#3678) (forwarded request 1228709 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1228711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=160
2024-12-08 10:36:12 +00:00
Yan Gao
d854adba09 - Update to version 2.1.9+20241107.c3b66b02d0:
- CTS: Fix cts-lab --list. (gh#ClusterLabs/pacemaker#3723)

- Update to version 2.1.9+20241105.e043e6816a:
- executor: avoid use-after-free upon shutdown (bsc#1232613, gh#ClusterLabs/pacemaker#3719)

- Update to version 2.1.9+20241031.49aab99839 (Pacemaker-2.1.9):
- includes: Bump CRM_FEATURE_SET for iso8601 formatted output.
- schemas: Add an XML schema for iso8601 output.
- tools: Convert iso8601 to formatted output.

- Update to version 2.1.8+20241021.40d69ff424 (Pacemaker-2.1.9-rc3):
- tools: restore crmadmin default timeout to 30 seconds (bsc#1217259, bsc#1228781, jsc#PED-8311, gh#ClusterLabs/pacemaker#3703)
- libcrmcommon: any negative interval is an error
- agents: always allow attribute agent to show metadata
- agents: use RESOURCENAME in attribute agent metadata
- agents: use configured run directory in attribute agent
- controld: leave xml-src attribute empty when no DC selected #2902 (bsc#1217259, bsc#1228781, jsc#PED-8311, gh#ClusterLabs/pacemaker#3702)

- Update to version 2.1.8+20241015.33f3052b89 (Pacemaker-2.1.9-rc2):
- pacemakerd: combine subdaemon start-up logs
- libcrmcommon: avoid potential overflow when adding seconds
- libcib: Perform server-side remote CIB reads asynchronously.
- libcib: Perform client-side remote CIB reads asynchronously.
- tools: crm_resource returns error on failed schema upgrade
- libcrmcommon: Don't assert on failure to write errors. (gh#ClusterLabs/pacemaker#3684)

- Update to version 2.1.8+20241003.95cef6b307 (Pacemaker-2.1.9-rc1):
- NLS: update translations for current code base
- scheduler: Fixed memory leak when searching for unfencing devices. (gh#ClusterLabs/pacemaker#3678)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=405
2024-12-06 08:32:13 +00:00
Ana Guerrero
a56de30f51 Accepting request 1204955 from network:ha-clustering:Factory
- Update to version 2.1.8+20240808.3980678f03 (Pacemaker-2.1.8):
- scheduler: correct format arguments
- libpacemaker: Don't apply colocation twice for promotion priority
- libpacemaker: Apply promotion priority to cloned group instance (forwarded request 1204954 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1204955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=159
2024-10-02 19:32:47 +00:00
Yan Gao
85ce16ce4a - Update to version 2.1.8+20240808.3980678f03 (Pacemaker-2.1.8):
- scheduler: correct format arguments
- libpacemaker: Don't apply colocation twice for promotion priority
- libpacemaker: Apply promotion priority to cloned group instance

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=403
2024-10-01 15:06:25 +00:00
Ana Guerrero
3f7ae2dd50 Accepting request 1187168 from network:ha-clustering:Factory
- Update to version 2.1.7+20240711.239cba384:
- various: Don't set cluster-layer node ID as XML ID
- tools: crm_node -i must initialize nodeid before passing pointer (gh#ClusterLabs/pacemaker#3574)

- Update to version 2.1.7+20240709.f04c3b02c:
- tools: CIB clients retry signon upon an EAGAIN error (gh#ClusterLabs/pacemaker#3567, bsc#1224183)
- libcib: new function cib__signon_attempts() (gh#ClusterLabs/pacemaker#3567, bsc#1224183)

- Update to version 2.1.7+20240708.347e83d87:
- crm_verify: Improve checking of fencing level IDs

- Update to version 2.1.7+20240703.f73f033d5 (Pacemaker-2.1.8-rc3):
- sysconfig: deprecate PCMK_dh_min_bits environment variable

- Update to version 2.1.7+20240701.8af8b59e2:
- libcrmcluster: use local hostname for node name if not configured in corosync (gh#ClusterLabs/pacemaker#3551)

- Update to version 2.1.7+20240701.b4e61209c:
- tools: Don't double-free XML in crm_verify after schema update

- Update to version 2.1.7+20240701.a1003bbf1:
- cts-cli: update expected output for crm_verify to distinguish configuration warnings and errors (gh#ClusterLabs/pacemaker#3543)
- tools: crm_verify distinguishes configuration warnings and errors (gh#ClusterLabs/pacemaker#3543)

- Update to version 2.1.7+20240624.5d44a760b:
- libcrmcommon: don't try to add to full string in pcmk__time_format_hr()
- libcrmcommon: handle formatting errors in pcmk__time_format_hr()
- scheduler: consider group locations when member is explicit colocation dependent
- tools: Don't skip formatting if running crm_simulate interactively. (forwarded request 1187166 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1187168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=158
2024-07-15 17:45:43 +00:00
Yan Gao
c9408c0823 Accepting request 1187166 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.7+20240711.239cba384:
- various: Don't set cluster-layer node ID as XML ID
- tools: crm_node -i must initialize nodeid before passing pointer (gh#ClusterLabs/pacemaker#3574)

- Update to version 2.1.7+20240709.f04c3b02c:
- tools: CIB clients retry signon upon an EAGAIN error (gh#ClusterLabs/pacemaker#3567, bsc#1224183)
- libcib: new function cib__signon_attempts() (gh#ClusterLabs/pacemaker#3567, bsc#1224183)

- Update to version 2.1.7+20240708.347e83d87:
- crm_verify: Improve checking of fencing level IDs

- Update to version 2.1.7+20240703.f73f033d5 (Pacemaker-2.1.8-rc3):
- sysconfig: deprecate PCMK_dh_min_bits environment variable

- Update to version 2.1.7+20240701.8af8b59e2:
- libcrmcluster: use local hostname for node name if not configured in corosync (gh#ClusterLabs/pacemaker#3551)

- Update to version 2.1.7+20240701.b4e61209c:
- tools: Don't double-free XML in crm_verify after schema update

- Update to version 2.1.7+20240701.a1003bbf1:
- cts-cli: update expected output for crm_verify to distinguish configuration warnings and errors (gh#ClusterLabs/pacemaker#3543)
- tools: crm_verify distinguishes configuration warnings and errors (gh#ClusterLabs/pacemaker#3543)

- Update to version 2.1.7+20240624.5d44a760b:
- libcrmcommon: don't try to add to full string in pcmk__time_format_hr()
- libcrmcommon: handle formatting errors in pcmk__time_format_hr()
- scheduler: consider group locations when member is explicit colocation dependent
- tools: Don't skip formatting if running crm_simulate interactively.

OBS-URL: https://build.opensuse.org/request/show/1187166
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=401
2024-07-12 14:14:17 +00:00
Ana Guerrero
a8282f485b Accepting request 1179895 from network:ha-clustering:Factory
- Update to version 2.1.7+20240530.09c4d6d2e:
- libstonithd: free escaped metadata descriptions with g_free() (bsc#1224869, gh#ClusterLabs/pacemaker#3480)
- libstonithd: avoid use-after-free when retrieving metadata of Linux-HA fence agents (bsc#1224869, gh#ClusterLabs/pacemaker#3480)

- Update to version 2.1.7+20240529.c7e11c771:
- libcrmcommon: support PCMK_panic_action="off" or "sync-off"
- libcrmcommon: avoid possible buffer overflow in pcmk__time_format_hr()
- libcrmcommon: avoid possible buffer overflow in parse_date()

- Update to version 2.1.7+20240515.39ef08240 (Pacemaker-2.1.8-rc1):
- ChangeLog: update for 2.1.8-rc1 release

- Update to version 2.1.7+20240514.9d0f30818:
- scheduler: avoid memory leaks when updating action names
- libcrmcommon: fix readable interval
- tools: make crm_simulate output for bad input more understandable
- libcrmcommon: Avoid leaking gnutls session
- libcrmcluster: Fix a typo in an info message.
- executor: Avoid memory leak in get_schema_files()
- tools: Use crm_exit() consistently
- executor: Spawn remoted pid 1 before allocating dynamic memory
- libcib: Fix memory leak in cib_client_fetch_schemas()
- libpacemaker: Fix mem leak in pcmk__acl_evaled_render()
- libcrmcommon: avoid memory leaks when loading and freeing schemas
- libcib: avoid memory leak in async calls
- scheduler,tools: compare resource history IDs case-sensitively
- executor: avoid pacemaker-remoted crash
- libcrmcommon: Fix memory leak in pcmk__build_schema_xml_node()
- libcrmcommon: Fix memory leak in ipc_proxy_dispatch()
- fencer: Fix memory leak in handle_local_reply_and_notify()

OBS-URL: https://build.opensuse.org/request/show/1179895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=157
2024-06-11 16:27:04 +00:00
Yan Gao
99a4fb8492 Accepting request 1178467 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.7+20240530.09c4d6d2e:
- libstonithd: free escaped metadata descriptions with g_free() (bsc#1224869, gh#ClusterLabs/pacemaker#3480)
- libstonithd: avoid use-after-free when retrieving metadata of Linux-HA fence agents (bsc#1224869, gh#ClusterLabs/pacemaker#3480)

- Update to version 2.1.7+20240529.c7e11c771:
- libcrmcommon: support PCMK_panic_action="off" or "sync-off"
- libcrmcommon: avoid possible buffer overflow in pcmk__time_format_hr()
- libcrmcommon: avoid possible buffer overflow in parse_date()

- Update to version 2.1.7+20240515.39ef08240 (Pacemaker-2.1.8-rc1):
- ChangeLog: update for 2.1.8-rc1 release

- Update to version 2.1.7+20240514.9d0f30818:
- scheduler: avoid memory leaks when updating action names
- libcrmcommon: fix readable interval
- tools: make crm_simulate output for bad input more understandable
- libcrmcommon: Avoid leaking gnutls session
- libcrmcluster: Fix a typo in an info message.
- executor: Avoid memory leak in get_schema_files()
- tools: Use crm_exit() consistently
- executor: Spawn remoted pid 1 before allocating dynamic memory
- libcib: Fix memory leak in cib_client_fetch_schemas()
- libpacemaker: Fix mem leak in pcmk__acl_evaled_render()
- libcrmcommon: avoid memory leaks when loading and freeing schemas
- libcib: avoid memory leak in async calls
- scheduler,tools: compare resource history IDs case-sensitively
- executor: avoid pacemaker-remoted crash
- libcrmcommon: Fix memory leak in pcmk__build_schema_xml_node()
- libcrmcommon: Fix memory leak in ipc_proxy_dispatch()
- fencer: Fix memory leak in handle_local_reply_and_notify()

OBS-URL: https://build.opensuse.org/request/show/1178467
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=399
2024-06-04 08:47:30 +00:00
Ana Guerrero
8327fcdb6f Accepting request 1168817 from network:ha-clustering:Factory
- Update to version 2.1.7+20240411.81041cf0b:
- libcrmcommon: Avoid use-after-free in mark_xml_changes()
- libcrmcommon: Mark parents dirty in pcmk__mark_xml_created()

- Update to version 2.1.7+20240410.ae4b38ab5:
- scheduler: deprecate Nagios and Upstart resources even if built with --enable-compat-2.0 (gh#ClusterLabs/pacemaker#3417)

- Update to version 2.1.7+20240410.74b7a09c5:
- tools: New crm_resource --list-options=primitive option (gh#ClusterLabs/pacemaker#3399)
- libcrmcommon: Use PCMK_VALUE_VERSION as option type (gh#ClusterLabs/pacemaker#3399)
- libcrmcommon: Use PCMK_VALUE_TIMEOUT as option type (gh#ClusterLabs/pacemaker#3399)
- libcrmcommon: Use PCMK_VALUE_SCORE as option type (gh#ClusterLabs/pacemaker#3399)
- libcrmcommon: Use PCMK_VALUE_NONNEGATIVE_INTEGER as opt type (gh#ClusterLabs/pacemaker#3399)
- libcrmcommon: Use PCMK_VALUE_DURATION as option type (gh#ClusterLabs/pacemaker#3399)
- schemas: Allow more types in options API schema
- fencer: Deprecate metadata CLI option (gh#ClusterLabs/pacemaker#3399)
- crm_resource: New --list-options=fencing option (gh#ClusterLabs/pacemaker#3399)
- schemas: Allow options in crm_resource output
- scheduler: warn if multiple top-level rules are used

- Update to version 2.1.7+20240408.78e71e024:
- scheduler: correctly log resource IDs of the deprecated classes (gh#ClusterLabs/pacemaker#3415)

- Update to version 2.1.7+20240404.4eedfe810:
- libcib: Don't incorrectly expand "++" and "+=" in XML attr values (gh#ClusterLabs/pacemaker#3413)
- cts-cli: Update for pcmk__inject_failcount() setting integer value (gh#ClusterLabs/pacemaker#3413)
- libpacemaker: pcmk__inject_failcount should set an integer value (gh#ClusterLabs/pacemaker#3413)
- scheduler: improve message for empty location rules
- scheduler: improve error checking in pcmk__new_location()
- schemas: restructure rule schema for planned incompatible changes

OBS-URL: https://build.opensuse.org/request/show/1168817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=156
2024-04-18 20:10:03 +00:00
Yan Gao
a21eaa7394 Accepting request 1168521 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.7+20240411.81041cf0b:
- libcrmcommon: Avoid use-after-free in mark_xml_changes()
- libcrmcommon: Mark parents dirty in pcmk__mark_xml_created()

- Update to version 2.1.7+20240410.ae4b38ab5:
- scheduler: deprecate Nagios and Upstart resources even if built with --enable-compat-2.0 (gh#ClusterLabs/pacemaker#3417)

- Update to version 2.1.7+20240410.74b7a09c5:
- tools: New crm_resource --list-options=primitive option (gh#ClusterLabs/pacemaker#3399)
- libcrmcommon: Use PCMK_VALUE_VERSION as option type (gh#ClusterLabs/pacemaker#3399)
- libcrmcommon: Use PCMK_VALUE_TIMEOUT as option type (gh#ClusterLabs/pacemaker#3399)
- libcrmcommon: Use PCMK_VALUE_SCORE as option type (gh#ClusterLabs/pacemaker#3399)
- libcrmcommon: Use PCMK_VALUE_NONNEGATIVE_INTEGER as opt type (gh#ClusterLabs/pacemaker#3399)
- libcrmcommon: Use PCMK_VALUE_DURATION as option type (gh#ClusterLabs/pacemaker#3399)
- schemas: Allow more types in options API schema
- fencer: Deprecate metadata CLI option (gh#ClusterLabs/pacemaker#3399)
- crm_resource: New --list-options=fencing option (gh#ClusterLabs/pacemaker#3399)
- schemas: Allow options in crm_resource output
- scheduler: warn if multiple top-level rules are used

- Update to version 2.1.7+20240408.78e71e024:
- scheduler: correctly log resource IDs of the deprecated classes (gh#ClusterLabs/pacemaker#3415)

- Update to version 2.1.7+20240404.4eedfe810:
- libcib: Don't incorrectly expand "++" and "+=" in XML attr values (gh#ClusterLabs/pacemaker#3413)
- cts-cli: Update for pcmk__inject_failcount() setting integer value (gh#ClusterLabs/pacemaker#3413)
- libpacemaker: pcmk__inject_failcount should set an integer value (gh#ClusterLabs/pacemaker#3413)
- scheduler: improve message for empty location rules
- scheduler: improve error checking in pcmk__new_location()
- schemas: restructure rule schema for planned incompatible changes

OBS-URL: https://build.opensuse.org/request/show/1168521
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=397
2024-04-17 11:15:10 +00:00
Ana Guerrero
b348f0494e Accepting request 1158031 from network:ha-clustering:Factory
- Update to version 2.1.7+20240304.d18a497eb:
- libcrmcommon: use uint32_t for 32-bit magic numbers (gh#ClusterLabs/pacemaker#3381)

- Update to version 2.1.7+20240304.d7bf4680c:
- libcrmcommon: Use free_xml in html_free_priv.
- libcrmcommon:  Free error strings in html/xml outputters.
- libcrmcommon: Free text/curses private list data.
- tools: Fix argument validation for crm_attribute update.
- pacemaker-fenced: improve pcmk_host_list help
- libcrmcommon, fencer: Fix some option defaults
- tools: crm_attribute --list-options --all
- scheduler: Deprecate metadata CLI option
- controller: Deprecate metadata CLI option
- based: Deprecate metadata CLI option
- libcrmcommon: Bump CRM_FEATURE_SET for cluster option listing
- tools: New crm_attribute --list-options=TYPE option
- schemas: Update for crm_attribute --list-options
- schemas: New options API schema
- schemas: New OCF RA version 1.1 schema
- tools: deprecate --text-fancy command-line option

- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang_path macro, [bsc#1212476] (forwarded request 1158030 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1158031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=155
2024-03-15 19:28:03 +00:00
Yan Gao
18fc72748e Accepting request 1158030 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.7+20240304.d18a497eb:
- libcrmcommon: use uint32_t for 32-bit magic numbers (gh#ClusterLabs/pacemaker#3381)

- Update to version 2.1.7+20240304.d7bf4680c:
- libcrmcommon: Use free_xml in html_free_priv.
- libcrmcommon:  Free error strings in html/xml outputters.
- libcrmcommon: Free text/curses private list data.
- tools: Fix argument validation for crm_attribute update.
- pacemaker-fenced: improve pcmk_host_list help
- libcrmcommon, fencer: Fix some option defaults
- tools: crm_attribute --list-options --all
- scheduler: Deprecate metadata CLI option
- controller: Deprecate metadata CLI option
- based: Deprecate metadata CLI option
- libcrmcommon: Bump CRM_FEATURE_SET for cluster option listing
- tools: New crm_attribute --list-options=TYPE option
- schemas: Update for crm_attribute --list-options
- schemas: New options API schema
- schemas: New OCF RA version 1.1 schema
- tools: deprecate --text-fancy command-line option

- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang_path macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1158030
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=395
2024-03-14 15:36:18 +00:00
Yan Gao
0aa952ddbd Accepting request 1155992 from home:yan_gao:branches:network:ha-clustering:Factory
OBS-URL: https://build.opensuse.org/request/show/1155992
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=394
2024-03-07 14:43:18 +00:00
Yan Gao
121797cc17 Accepting request 1153913 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.7+20240226.bff14cd3f:
- libcrmservice: avoid async zombie children by resending ignored SIGCHLD (bsc#1216972, gh#ClusterLabs/pacemaker#3374)
- fencer: fix pcmk_delay_max description (gh#ClusterLabs/pacemaker#3373)

OBS-URL: https://build.opensuse.org/request/show/1153913
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=393
2024-03-01 11:23:34 +00:00
Yan Gao
f813a15ec2 Accepting request 1148355 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.7+20240220.d4f389e48:
- libcrmcommon: avoid file descriptor leak in IPC client with async connection (bsc#1219323, gh#ClusterLabs/pacemaker#3351)

- Update to version 2.1.7+20240219.a586196f1:
- libcrmservice: Revert single quotes to double quotes in metadata
- libcrmcommon: Always output request= in XML output. (gh#ClusterLabs/pacemaker#3362)
- scheduler: improve date specification argument validation
- libcrmcommon: Properly handle UTF-8 characters when escaping XML
- libcrmcommon: Don't include "<null>" as an attribute value
- tools: Drop newline from crm_rule errors
- libcrmcommon: Escape XML text content when adding it
- libcrmcommon: Escape XML text content when dumping XML as string
- libcrmcommon: crm_xml_escape() shouldn't stop on Unicode characters (gh#ClusterLabs/pacemaker#3323)
- libcrmcommon: Always use XML substitutions
- tools: crm_simulate output should match its schema
- Rebase:
  * bug-728579_pacemaker-stonith-dev-id.patch

OBS-URL: https://build.opensuse.org/request/show/1148355
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=392
2024-02-20 21:49:26 +00:00
Yan Gao
271ab1da64 Accepting request 1146108 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.7+20240130.4f595be2b:
- tools: crm_attribute emits garbage for --node localhost or auto (gh#ClusterLabs/pacemaker#3339)
- scheduler: drop support for rules based on #role attribute
- CIB: deprecate support for rkt in bundles
- daemons: use ENOMEM for pcmk__new_client() failure
- daemons: return ECONNREFUSED to new clients at shutdown
- libpacemaker: Fix a parameter to the cluster-status message.
- tools: Fix memory leak in crm_mon with HTML output (gh#ClusterLabs/pacemaker#3332)

- Update to version 2.1.7+20240122.d342672cb:
- pacemaker-attrd: improve some messages for debugging
- pacemaker-attrd: sync utilization attributes to peers correctly (gh#ClusterLabs/pacemaker#3333)
- pacemaker-attrd: properly validate attribute set type (gh#ClusterLabs/pacemaker#3333)
- cib_file: improve error message when schema file is missing
- libcrmcommon, Pacemaker Explained: improve descriptions of cluster options

- Update to version 2.1.7+20240118.9ae4bea49:
- tools: crm_mon segfaults when fencer connection is lost (bsc#1219220, gh#ClusterLabs/pacemaker#3331)

- Update to version 2.1.7+20240117.570909537:
- pacemaker-attrd: make sure we don't try to log NULL
- libpe_rules: Warn on invalid value-source in expressions
- libpe_rules, libpacemaker: Warn on invalid boolean-op
- CIB: Deprecate resource-discovery-enabled node attribute
- NLS: update translations for current code base
- libcib: Do not check CIB feature set for files in cib_perform_op.
- scheduler: Check the CIB feature set in cluster_status.
- based: Fix CIB version values
- attrd: write Pacemaker Remote node attributes even if not in cache (gh#ClusterLabs/pacemaker#3304)
- based: Add man page for pacemaker-based

OBS-URL: https://build.opensuse.org/request/show/1146108
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=391
2024-02-12 09:18:10 +00:00
Dominique Leuenberger
52b46bddef Accepting request 1137032 from network:ha-clustering:Factory
- libcrmcommon: wait for reply from appropriate controller commands (bsc#1218312, rh#2225631, rh#2221084) (forwarded request 1137030 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1137032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=154
2024-01-05 20:41:49 +00:00
Yan Gao
31b6a0411c Accepting request 1137030 from home:yan_gao:branches:network:ha-clustering:Factory
- libcrmcommon: wait for reply from appropriate controller commands (bsc#1218312, rh#2225631, rh#2221084)

OBS-URL: https://build.opensuse.org/request/show/1137030
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=389
2024-01-05 10:53:44 +00:00
Ana Guerrero
ec51479fd0 Accepting request 1135459 from network:ha-clustering:Factory
- Update to version 2.1.7+20231219.0f7f88312 (Pacemaker-2.1.7):
- attrd: Regression in transient attr deletions (gh#ClusterLabs/pacemaker#3283)

- Update to version 2.1.6+20231207.80f8a320e (Pacemaker-2.1.7-rc3):
- agents: handle dampening parameter consistently and correctly

- libcrmcommon: wait for reply from appropriate controller commands (rh#2225631, rh#2221084) (forwarded request 1135458 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1135459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=153
2023-12-28 21:55:17 +00:00
Yan Gao
9a93896fed Accepting request 1135458 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.7+20231219.0f7f88312 (Pacemaker-2.1.7):
- attrd: Regression in transient attr deletions (gh#ClusterLabs/pacemaker#3283)

- Update to version 2.1.6+20231207.80f8a320e (Pacemaker-2.1.7-rc3):
- agents: handle dampening parameter consistently and correctly

- libcrmcommon: wait for reply from appropriate controller commands (rh#2225631, rh#2221084)

OBS-URL: https://build.opensuse.org/request/show/1135458
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=387
2023-12-28 09:45:33 +00:00
Ana Guerrero
fd98592b3f Accepting request 1131356 from network:ha-clustering:Factory
- Update to version 2.1.6+20231205.0f6fbd59f:
- scheduler: log reason for recheck time updates
- scheduler: update recheck time for node-pending-timeout

- Update to version 2.1.6+20231204.e1a1bd808:
- tools: Fix a regression in tool XML output. (clbz#5529)

- Update to version 2.1.6+20231122.7534cc50a (Pacemaker-2.1.7-rc2):
- rpm: require minimum libxml2 version of 2.6.0
- libcrmcommon: Write crm_verify detailed messages to XML
- libcrmcommon: Use const for xmlCtxtGetLastError() (CLBZ#5530)
- libcrmcommon: Drop deprecated libxml2 symbols (CLBZ#5530)
- sysconfig: Use CRM_DAEMON_USER and CRM_DAEMON_GROUP
- sysconfig: Fix defaults for dh_min_bits/dh_max_bits
- sysconfig: Document PCMK_stderr
- pacemakerd: Mark PCMK_shutdown_delay as deprecated
- sysconfig: Document PCMK_cluster_type
- sysconfig: Document PCMK_remote_pid1
- sysconfig: Document PCMK_node_action_limit
- sysconfig: Mark PCMK_cib_timeout as deprecated
- controld/schedullerd: Change the default value of node-pending-timeout to 0.
- controld: Adding default value for node-pending-timeout.
- crm_resource: make --wait wait for pending actions in CIB

- Update to version 2.1.6+20231031.d0ef74d64 (Pacemaker-2.1.7-rc1):
- attrd: revert faulty T138 fix
- controller: bail if CIB modify fails within transaction
- scheduler: don't show pending nodes as having "<3.15.1" feature set

- Update to version 2.1.6+20231030.66cc0f083: (forwarded request 1131354 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1131356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=152
2023-12-07 18:09:16 +00:00
Yan Gao
48db58056e Accepting request 1131354 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.6+20231205.0f6fbd59f:
- scheduler: log reason for recheck time updates
- scheduler: update recheck time for node-pending-timeout

- Update to version 2.1.6+20231204.e1a1bd808:
- tools: Fix a regression in tool XML output. (clbz#5529)

- Update to version 2.1.6+20231122.7534cc50a (Pacemaker-2.1.7-rc2):
- rpm: require minimum libxml2 version of 2.6.0
- libcrmcommon: Write crm_verify detailed messages to XML
- libcrmcommon: Use const for xmlCtxtGetLastError() (CLBZ#5530)
- libcrmcommon: Drop deprecated libxml2 symbols (CLBZ#5530)
- sysconfig: Use CRM_DAEMON_USER and CRM_DAEMON_GROUP
- sysconfig: Fix defaults for dh_min_bits/dh_max_bits
- sysconfig: Document PCMK_stderr
- pacemakerd: Mark PCMK_shutdown_delay as deprecated
- sysconfig: Document PCMK_cluster_type
- sysconfig: Document PCMK_remote_pid1
- sysconfig: Document PCMK_node_action_limit
- sysconfig: Mark PCMK_cib_timeout as deprecated
- controld/schedullerd: Change the default value of node-pending-timeout to 0.
- controld: Adding default value for node-pending-timeout.
- crm_resource: make --wait wait for pending actions in CIB

- Update to version 2.1.6+20231031.d0ef74d64 (Pacemaker-2.1.7-rc1):
- attrd: revert faulty T138 fix
- controller: bail if CIB modify fails within transaction
- scheduler: don't show pending nodes as having "<3.15.1" feature set

- Update to version 2.1.6+20231030.66cc0f083:

OBS-URL: https://build.opensuse.org/request/show/1131354
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=385
2023-12-06 12:30:32 +00:00
Dominique Leuenberger
ef8699bb3b Accepting request 1093809 from network:ha-clustering:Factory
- rpm: build with --with-sbd-sync-default="true" only for sle_version >= 150400 (bsc#1180966)
- rpm: build with --enable-legacy-links only for suse_version < 1600
- rpm: build with --enable-compat-2.0 only for suse_version < 1600 (jsc#PED-106, jsc#PED-294)
- rpm: build with --with-concurrent-fencing-default=true only for sle_version >= 150400
- rpm: build with --with-resource-stickiness-default=1 only for sle_version >= 150400
- rpm: build with --with-nagios=true only for suse_version < 1600 (jsc#PED-3877, jsc#PED-4446)
- agents: create symlink ocf:pacemaker:NodeUtilization only for suse_version < 1600 in favor of ocf💓NodeUtilization (bsc#1070347)

- Update to version 2.1.6+20230524.6fdc9deea (Pacemaker-2.1.6):
- scheduler: ensure earlier group member starts happen after later member stops

- Update to version 2.1.5+20230502.802a72226 (Pacemaker-2.1.6-rc2):
- rpm: avoid bare wildcards under shared directories in spec
- scheduler: consider mandatory colocations before optional

- Update to version 2.1.5+20230501.832463d94:
- daemons: pacemakerd -S should wait for shutdown before returning (bsc#1210857)

- Update to version 2.1.5+20230501.b049bbeea:
- scheduler: deprecate support for Nagios resources (jsc#PED-3877, jsc#PED-4446)
- scheduler: deprecate "moon" in date_spec elements in rules
- daemons: Preserve transient attrs when possible
- daemons: Sync remote connection info with new controllers.
- daemons: Record the node hosting a remote connection resource.
- daemons: Add node hosting connection resource to state XML.
- daemons: Broadcast remote node state changes to all controllers
- daemons: Add daemon uptime to execd XML replies.

- Update to version 2.1.5+20230424.6127934e3:
- fencer: fencing timeout sent to peer takes no delay into account (bsc#1210074) (forwarded request 1093808 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1093809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=151
2023-06-21 20:36:56 +00:00
Yan Gao
3d429d5100 Accepting request 1093808 from home:yan_gao:branches:network:ha-clustering:Factory
- rpm: build with --with-sbd-sync-default="true" only for sle_version >= 150400 (bsc#1180966)
- rpm: build with --enable-legacy-links only for suse_version < 1600
- rpm: build with --enable-compat-2.0 only for suse_version < 1600 (jsc#PED-106, jsc#PED-294)
- rpm: build with --with-concurrent-fencing-default=true only for sle_version >= 150400
- rpm: build with --with-resource-stickiness-default=1 only for sle_version >= 150400
- rpm: build with --with-nagios=true only for suse_version < 1600 (jsc#PED-3877, jsc#PED-4446)
- agents: create symlink ocf:pacemaker:NodeUtilization only for suse_version < 1600 in favor of ocf💓NodeUtilization (bsc#1070347)

- Update to version 2.1.6+20230524.6fdc9deea (Pacemaker-2.1.6):
- scheduler: ensure earlier group member starts happen after later member stops

- Update to version 2.1.5+20230502.802a72226 (Pacemaker-2.1.6-rc2):
- rpm: avoid bare wildcards under shared directories in spec
- scheduler: consider mandatory colocations before optional

- Update to version 2.1.5+20230501.832463d94:
- daemons: pacemakerd -S should wait for shutdown before returning (bsc#1210857)

- Update to version 2.1.5+20230501.b049bbeea:
- scheduler: deprecate support for Nagios resources (jsc#PED-3877, jsc#PED-4446)
- scheduler: deprecate "moon" in date_spec elements in rules
- daemons: Preserve transient attrs when possible
- daemons: Sync remote connection info with new controllers.
- daemons: Record the node hosting a remote connection resource.
- daemons: Add node hosting connection resource to state XML.
- daemons: Broadcast remote node state changes to all controllers
- daemons: Add daemon uptime to execd XML replies.

- Update to version 2.1.5+20230424.6127934e3:
- fencer: fencing timeout sent to peer takes no delay into account (bsc#1210074)

OBS-URL: https://build.opensuse.org/request/show/1093808
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=383
2023-06-19 17:24:46 +00:00
Dominique Leuenberger
61fef5415c Accepting request 1074950 from network:ha-clustering:Factory
- Update to version 2.1.5+20230320.22590c566:
- libcrmcommon: allow crm_attribute to try OCF_RESOURCE_INSTANCE environment variable if -p is specified with an empty string (bsc#1209586)
- libcrmcommon, libpe_status: New enabled meta attr for alerts
- scheduler: message now applies to all nodes
- libcrmcommon: avoid libqb assertion
- tools: Formatted output in crm_shadow
- schemas: New diff and any-element schemas
- schemas: New crm_shadow and instruction schemas (forwarded request 1074949 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1074950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=150
2023-03-29 21:26:05 +00:00
Yan Gao
e675733f61 Accepting request 1074949 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.5+20230320.22590c566:
- libcrmcommon: allow crm_attribute to try OCF_RESOURCE_INSTANCE environment variable if -p is specified with an empty string (bsc#1209586)
- libcrmcommon, libpe_status: New enabled meta attr for alerts
- scheduler: message now applies to all nodes
- libcrmcommon: avoid libqb assertion
- tools: Formatted output in crm_shadow
- schemas: New diff and any-element schemas
- schemas: New crm_shadow and instruction schemas

OBS-URL: https://build.opensuse.org/request/show/1074949
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=381
2023-03-28 09:54:12 +00:00
Yan Gao
d082e5202c D pacemaker-2.1.5+20230309.a4b0ea1b5.tar.xz
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=380
2023-03-28 09:25:28 +00:00
Yan Gao
bad0c56170 M project.diff
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=379
2023-03-28 09:05:53 +00:00
Dominique Leuenberger
8a35b58d76 Accepting request 1073530 from network:ha-clustering:Factory
- Update to version 2.1.5+20230309.a4b0ea1b5:
- controller: compare recordable actions case-sensitively
- libcrmcommon: Don't parse "-INFINITY" as a list of cmdline options (CLBZ#5509)
- tools: crm_shadow --commit now works with CIB_file
- scheduler: expired results shouldn't affect state
- scheduler: avoid remap log if not remapped
- scheduler: always treat degraded results as success
- watchdog-fencing: correctly derive timeout with topology
- watchdog-fencing: terminate dangling timer before watchdog-waiting
- scheduler: ensure resource history entries have an XML ID
- crm_resource: Add the --element option for --get-parameter
- libcrmcommon: Fix problems with pcmk__output_and_clear_error.
- libcrmcommon: Fix memleak in pcmk__output_xml_add_node_copy()
- Rebase:
  * bug-806256_pacemaker-log-level-notice.patch
  * pacemaker-cts-StartCmd.patch

- Update to version 2.1.5+20230220.c4f6c191a:
- libcrmcommon: Fix handling node=NULL in pcmk__attrd_api_query.
- fencer: Avoid double source remove of op_timer_total (rh#2166967)
- Rebase:
  * bug-806256_pacemaker-log-level-notice.patch

- Update to version 2.1.5+20230216.ed8bc68bc:
- scheduler: count only containers' active nodes for bundles

- Update to version 2.1.5+20230208.231b58a40:
- cts: Add a basic cts-attrd program.
- daemons: Modify a couple log messages for testing.
- daemons: Add a -l argument to pacemaker-attrd. (forwarded request 1073529 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1073530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=149
2023-03-24 14:18:18 +00:00
Yan Gao
da2d545cff Accepting request 1073690 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.5+20230314.692147cd3:
- tools: Don't teardown on unsuccessful crm_shadow --delete
- tools: Don't print teardown message for crm_shadow --commit
- libcib: Don't unset env var in cib_new_no_shadow()
- scheduler: avoid displaying failed operations as pending (bsc#1206263)
- Revert "Fix: libpacemaker: ensure any pending recurring monitor gets updated if it fails" (bsc#1206263)
- cts-regression: reflect any test failures again with the return code
- alerts: make alert_snmp.sh.sample compatible with SNMPv3
- tool: update crm_mon synopsis (bsc#1208868)

OBS-URL: https://build.opensuse.org/request/show/1073690
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=378
2023-03-22 06:59:20 +00:00
Yan Gao
1523c5f7bd Accepting request 1073529 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.5+20230309.a4b0ea1b5:
- controller: compare recordable actions case-sensitively
- libcrmcommon: Don't parse "-INFINITY" as a list of cmdline options (CLBZ#5509)
- tools: crm_shadow --commit now works with CIB_file
- scheduler: expired results shouldn't affect state
- scheduler: avoid remap log if not remapped
- scheduler: always treat degraded results as success
- watchdog-fencing: correctly derive timeout with topology
- watchdog-fencing: terminate dangling timer before watchdog-waiting
- scheduler: ensure resource history entries have an XML ID
- crm_resource: Add the --element option for --get-parameter
- libcrmcommon: Fix problems with pcmk__output_and_clear_error.
- libcrmcommon: Fix memleak in pcmk__output_xml_add_node_copy()
- Rebase:
  * bug-806256_pacemaker-log-level-notice.patch
  * pacemaker-cts-StartCmd.patch

- Update to version 2.1.5+20230220.c4f6c191a:
- libcrmcommon: Fix handling node=NULL in pcmk__attrd_api_query.
- fencer: Avoid double source remove of op_timer_total (rh#2166967)
- Rebase:
  * bug-806256_pacemaker-log-level-notice.patch

- Update to version 2.1.5+20230216.ed8bc68bc:
- scheduler: count only containers' active nodes for bundles

- Update to version 2.1.5+20230208.231b58a40:
- cts: Add a basic cts-attrd program.
- daemons: Modify a couple log messages for testing.
- daemons: Add a -l argument to pacemaker-attrd.

OBS-URL: https://build.opensuse.org/request/show/1073529
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=377
2023-03-21 11:29:06 +00:00
Dominique Leuenberger
762eaf2186 Accepting request 1062633 from network:ha-clustering:Factory
(forwarded request 1062632 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1062633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=148
2023-02-03 21:04:41 +00:00
Yan Gao
295c18cfc1 Accepting request 1062632 from home:yan_gao:branches:network:ha-clustering:Factory
OBS-URL: https://build.opensuse.org/request/show/1062632
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=375
2023-02-02 12:36:48 +00:00
Yan Gao
3f260ceed3 Accepting request 1061237 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.5+20230125.95bb4788a:
- libpacemaker: avoid assertion failure if a node_state entry doesn't have an uname yet (bsc#1207319)
- libpacemaker: unify bailing out in pcmk__inject_node() (bsc#1207319)

- Update to version 2.1.5+20230124.a29e52df9:
- executor: fix regression in remote node shutdown
- scheduler: avoid memory leak when finding compatible instance

- Update to version 2.1.5+20230123.f414133a7:
- libcrmcommon: avoid infinite regression when logging v1 patchsets
- controller: clear last failure from CIB even if executor state unavailable
- scheduler: downgrade message about instance where it shouldn't be
- controller: use %u with g_hash_table_size()
- fenced: use enum fenced_target_by consistently
- scheduler: update Chinese translation

- Update to version 2.1.5+20230117.dd503ddbb:
- libcrmcommon: bump feature set for crm_attribute --pattern with -v/-D and permanent attributes
- resource agents: add depth="0" to validate-all metadata

- Update to version 2.1.5+20230111.39e62b78e:
- rpm: Add a python3-pacemaker subpackage.
- python: Add a private pacemaker._cts module.
- python: Add the pacemaker.buildoptions module.
- python: Add the pacemaker.exitstatus module.
- python: Add the very beginnings of a pacemaker python library.

- Update to version 2.1.5+20230110.292d6bf6b:
- libpe_status: clarify more pointer arguments
- libcrmcommon: Improve prefix spacing in XML logging functions

OBS-URL: https://build.opensuse.org/request/show/1061237
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=374
2023-01-26 15:14:14 +00:00
Dominique Leuenberger
0f517e9474 Accepting request 1055789 from network:ha-clustering:Factory
- Update to version 2.1.5+20221212.b4db7685a:
- cts-scheduler: update test for preventing inactive instances from starting if probe is unrunnable on any nodes (bsc#1206263)
- scheduler: prevent inactive instances from starting if probe is unrunnable on any nodes  (bsc#1206263)
- libpacemaker: ensure any pending recurring monitor gets updated if it fails (bsc#1206263)
- cts-scheduler: update test for preventing a leftover pending monitor from causing unexpected stop of other instances (bsc#1206263)
- scheduler: prevent a leftover pending monitor from causing unexpected stop of other instances (bsc#1206263)
- cts-scheduler: add test for preventing a leftover pending monitor from causing unexpected stop of other instances (bsc#1206263)

- Update to version 2.1.5+20221212.074e9c860:
- tools: Support setting transient utilization attrs from crm_attribute.
- scheduler: Unpack transient utilization attributes.
- daemons: Add support for transient utilization attributes.
- libcrmcommon: Add a block attr to an IPC update request.
- tools: Add a -z option to attrd_updater.

- Update to version 2.1.5+20221208.cd0f91f51:
- libcrmcommon: Warn if deprecated command line formats are used.
- controller: Don't nack joining node due to old CIB
- based: Successful CIB schema upgrade should always force a write
- based: Don't write to disk if CIB replace failed
- tools: Fix trivial memory leak in cibadmin
- based: Fix double free() in pacemaker-based.c
- libpe_status: avoid memory leak on regular expression error
- controller: Avoid election storm due to incompatible CIB
- libpacemaker: don't regfree() if regcomp() failed
- libpe_status: don't try to use compiled expression if regcomp() failed
- libcrmcommon: don't regfree() if regcomp() failed
- controller: Avoid error if a join request is received after fencing
- controller: Don't double-increment failcount for simulated failures
- daemons, tools: Unregister formats before exiting (forwarded request 1055788 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1055789
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=147
2023-01-05 14:00:05 +00:00
Yan Gao
43a9979cf4 Accepting request 1055788 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.5+20221212.b4db7685a:
- cts-scheduler: update test for preventing inactive instances from starting if probe is unrunnable on any nodes (bsc#1206263)
- scheduler: prevent inactive instances from starting if probe is unrunnable on any nodes  (bsc#1206263)
- libpacemaker: ensure any pending recurring monitor gets updated if it fails (bsc#1206263)
- cts-scheduler: update test for preventing a leftover pending monitor from causing unexpected stop of other instances (bsc#1206263)
- scheduler: prevent a leftover pending monitor from causing unexpected stop of other instances (bsc#1206263)
- cts-scheduler: add test for preventing a leftover pending monitor from causing unexpected stop of other instances (bsc#1206263)

- Update to version 2.1.5+20221212.074e9c860:
- tools: Support setting transient utilization attrs from crm_attribute.
- scheduler: Unpack transient utilization attributes.
- daemons: Add support for transient utilization attributes.
- libcrmcommon: Add a block attr to an IPC update request.
- tools: Add a -z option to attrd_updater.

- Update to version 2.1.5+20221208.cd0f91f51:
- libcrmcommon: Warn if deprecated command line formats are used.
- controller: Don't nack joining node due to old CIB
- based: Successful CIB schema upgrade should always force a write
- based: Don't write to disk if CIB replace failed
- tools: Fix trivial memory leak in cibadmin
- based: Fix double free() in pacemaker-based.c
- libpe_status: avoid memory leak on regular expression error
- controller: Avoid election storm due to incompatible CIB
- libpacemaker: don't regfree() if regcomp() failed
- libpe_status: don't try to use compiled expression if regcomp() failed
- libcrmcommon: don't regfree() if regcomp() failed
- controller: Avoid error if a join request is received after fencing
- controller: Don't double-increment failcount for simulated failures
- daemons, tools: Unregister formats before exiting

OBS-URL: https://build.opensuse.org/request/show/1055788
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=372
2023-01-04 12:38:55 +00:00
Dominique Leuenberger
1d78c2d7d2 Accepting request 1042378 from network:ha-clustering:Factory
+Conflicts:      sbd < 1.5.1 (forwarded request 1042377 from yan_gao)

OBS-URL: https://build.opensuse.org/request/show/1042378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=146
2022-12-13 17:54:52 +00:00
Yan Gao
b261278664 Accepting request 1042377 from home:yan_gao:branches:network:ha-clustering:Factory
+Conflicts:      sbd < 1.5.1

OBS-URL: https://build.opensuse.org/request/show/1042377
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=370
2022-12-12 13:26:55 +00:00
Yan Gao
5093f2c7d6 Accepting request 1042324 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.5+20221208.a3f44794f (Pacemaker-2.1.5):
- libs: Check for NULL in various functions.
- daemons: Check for NULL in attrd_create_attribute.

- Update to version 2.1.4+20221122.631339ca5 (Pacemaker-2.1.5-rc3):
- libcrmcommon: Wait for ACKs from the attrd clear failure command.
- daemons: Fix expanding ++ and += in multi-update IPC messages.
- daemons: Add host attr to the children of multi-update IPC messages.
- daemons: Copy all attrs from parent to child in multi-update IPC.

- Update to version 2.1.4+20221115.d3699a621 (Pacemaker-2.1.5-rc2):
- tools: quote timestamp in operation history output (bsc#1205279, bsc#1204581)
- tools: Fix setting utilization attrs with crm_attribute.
- cts-cli: add test for text output of crm_resource --list-operations/-O (bsc#1205279, bsc#1204581)
- daemons: Set an attribute on the child of a multi-attr message.
- scheduler: consider roles when blocking colocation dependents
- scheduler: when blocking starts, block children's starts as well

- Update to version 2.1.4+20221108.ba419204a:
- tools: crm_resource --constraints now accepts --force
- tools: crm_resource --constraints --recursive
- tools: fix syntax on resetting options in crm_resource (bsc#1198409)

- Update to version 2.1.4+20221031.0b3656e85:
- scheduler: prioritize group colocations properly
- scheduler: ignore empty groups in pcmk__add_colocated_node_scores()
- scheduler: properly consider effect of "with group" colocations
- scheduler: ensure group methods handle empty groups
- scheduler: improve error handling when unpacking resources

OBS-URL: https://build.opensuse.org/request/show/1042324
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=369
2022-12-12 11:12:25 +00:00
Richard Brown
a318e3a0cf Accepting request 1006410 from network:ha-clustering:Factory
OBS-URL: https://build.opensuse.org/request/show/1006410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=145
2022-10-01 15:41:50 +00:00
Yan Gao
771e6231f9 Accepting request 1006408 from home:suntorytimed:branches:network:ha-clustering:Factory
- Rename libraries in accordance to the packaging guidelines to
  solve potential migration issue on SLE 15 SP5 (bsc#1203744)

OBS-URL: https://build.opensuse.org/request/show/1006408
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=367
2022-09-27 13:11:14 +00:00
Yan Gao
1c5e040754 Accepting request 1003891 from home:yan_gao:branches:network:ha-clustering:Factory
OBS-URL: https://build.opensuse.org/request/show/1003891
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=366
2022-09-15 14:36:13 +00:00
Yan Gao
4e75253ba0 Accepting request 1003876 from home:yan_gao:branches:network:ha-clustering:Factory
+Conflicts:      libpacemaker-devel < 2.1.3
+Obsoletes:      libpacemaker-devel < 2.1.3

OBS-URL: https://build.opensuse.org/request/show/1003876
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=365
2022-09-15 14:20:09 +00:00
Dominique Leuenberger
90464c3136 Accepting request 985605 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/985605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=144
2022-06-29 14:01:00 +00:00
Yan Gao
c90c76fc7a Accepting request 984319 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.4+20220615.dc6eb4362 (Pacemaker-2.1.4)

- Update to version 2.1.3+20220608.d7fce3868:
- libstonithd: pull exit reason directly from history replies
- fencer: assume unknown status from older fencers' history replies
- resources: add SystemHealth parameter to its meta-data
- resources: remove no-longer-relevant DTD reference from meta-data
- resources: typo in HealthSMART meta-data

- Update to version 2.1.3+20220603.ea9bebf6c (Pacemaker-2.1.4-rc1):
- fencer: avoid use-after-free with self-fencing and topology
- fencer: get target-by-attribute working again
- libcrmcommon: fix a wrong separator in the .warning CSS declaration
- fencer: avoid memory leaks when processing topology requests
- Fix print spec for unsigned int count
- fencing: delegate shouldn't matter when checking equivalent fencing

- Update to version 2.1.3+20220601.da2fd79c8 (Pacemaker-2.1.3)

OBS-URL: https://build.opensuse.org/request/show/984319
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=363
2022-06-22 06:28:05 +00:00
Dominique Leuenberger
ab2ea1c07a Accepting request 979418 from network:ha-clustering:Factory
- Use the project upstream name for the -devel subpackage
  (rename libpacemaker-devel to pacemaker-devel).
- Drop libpacemaker3-cluster separation, since it double-ships
  a file that is already in libpacemaker3
- Rename libpacemaker3 to pacmekaer-libs following packages like
  xrootd-libs et al so it does not get picked on by rpmlint
  [boo#1191752].

- Update to version 2.1.2+20220526.b387f8972:
- libcrmcommon: avoid memory leak if IPC server fails to run
- nls: format of XML-escaped string

- Update to version 2.1.2+20220518.dff7c3a72 (Pacemaker-2.1.3-rc2):
- schemas: Use fence-event-2.15.rng (rh#2086230)
- scheduler: don't support versioned instance attributes in operations
- schemas: allow Promoted/Unpromoted in crm_resource output

- Update to version 2.1.2+20220511.0bf080da3:
- tools: Set options.command when "attrd_updater -Y" is used.

- Update to version 2.1.2+20220427.c01a90fd2:
- tools: Hook up the verbosity flag in crm_attribute.
- tools: Honor CIB_file when doing node name lookups in crm_attribute.
- tools: Handle a remote node's name differing from its hostname.
- libcrmcommon: Fix a bug in processing multiple IPC messages.
- libcrmcommon: Add EAGAIN as a return code from crm_ipc_read.
- libcrmcommon: Handle IPC ACKs from proxied connections too.
- fenced: Correctly log the total fencing timeout.
- scheduler: make multiple-active="stop_unexpected" actually work
- libcib: Check for NULL before calling g_ascii_strdown.

OBS-URL: https://build.opensuse.org/request/show/979418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=143
2022-05-30 10:42:33 +00:00
Yan Gao
0613c0bb4d Accepting request 979417 from home:yan_gao:branches:network:ha-clustering:Factory
- Use the project upstream name for the -devel subpackage
  (rename libpacemaker-devel to pacemaker-devel).
- Drop libpacemaker3-cluster separation, since it double-ships
  a file that is already in libpacemaker3
- Rename libpacemaker3 to pacmekaer-libs following packages like
  xrootd-libs et al so it does not get picked on by rpmlint
  [boo#1191752].

- Update to version 2.1.2+20220526.b387f8972:
- libcrmcommon: avoid memory leak if IPC server fails to run
- nls: format of XML-escaped string

- Update to version 2.1.2+20220518.dff7c3a72 (Pacemaker-2.1.3-rc2):
- schemas: Use fence-event-2.15.rng (rh#2086230)
- scheduler: don't support versioned instance attributes in operations
- schemas: allow Promoted/Unpromoted in crm_resource output

- Update to version 2.1.2+20220511.0bf080da3:
- tools: Set options.command when "attrd_updater -Y" is used.

- Update to version 2.1.2+20220427.c01a90fd2:
- tools: Hook up the verbosity flag in crm_attribute.
- tools: Honor CIB_file when doing node name lookups in crm_attribute.
- tools: Handle a remote node's name differing from its hostname.
- libcrmcommon: Fix a bug in processing multiple IPC messages.
- libcrmcommon: Add EAGAIN as a return code from crm_ipc_read.
- libcrmcommon: Handle IPC ACKs from proxied connections too.
- fenced: Correctly log the total fencing timeout.
- scheduler: make multiple-active="stop_unexpected" actually work
- libcib: Check for NULL before calling g_ascii_strdown.

OBS-URL: https://build.opensuse.org/request/show/979417
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=361
2022-05-27 05:40:32 +00:00
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