Revisions of pacemaker
Yan Gao (yan_gao)
committed
(revision 1002)
- libcrmcommon: Mark parents dirty in pcmk__mark_xml_created()
Yan Gao (yan_gao)
committed
(revision 1001)
- libcrmcommon: Avoid use-after-free in mark_xml_changes() - cts-cli: Update for marking dirty in pcmk__xml_mark_created() (gh#ClusterLabs/pacemaker#3420) - libcrmcommon: Mark parents dirty in pcmk__mark_xml_created() (gh#ClusterLabs/pacemaker#3420)
Yan Gao (yan_gao)
committed
(revision 1000)
- Update to version 2.1.7+20240411.81041cf0b: * Fix: libcrmcommon: Avoid use-after-free in mark_xml_changes() * Refactor: libpacemaker: Move allow_modification into the library. * Test: libpacemaker: Add unit tests for pcmk_ticket_set_attr. * Refactor: tools: Use pcmk__ticket_set_attr in crm_ticket. * API: libpacemaker: Add a function for setting ticket attributes * Test: libpacemaker: Add unit tests for pcmk_ticket_remove_attr. * Refactor: tools: Use pcmk__ticket_remove_attr in crm_ticket. * API: libpacemaker: Add a function for removing ticket attributes * Test: libpacemaker: Add unit tests for pcmk_ticket_delete. * API: libpacemaker: Add a function for deleting a ticket * Test: libpacemaker: Add unit tests for pcmk_ticket_state. * API: libpacemaker: Add a function for getting ticket state * Test: libpacemaker: Add unit tests for pcmk__get_ticket_state. * Refactor: libpacemaker: Add pcmk__get_ticket_state. * Test: libpacemaker: Add unit tests for pcmk_ticket_info. * API: libpacemaker: Add a function for getting ticket info * Test: libpacemaker: Add unit tests for pcmk_ticket_get_attr. * API: libpacemaker: Add a function for getting ticket attributes * Test: libpacemaker: Add unit tests for pcmk_ticket_constraints. * API: libpacemaker: Add a function for listing ticket constraints * API: libcib: Deprecate `<failed>` element in CIB create reply * Test: cts-cli: Update test outputs for later ACL denial detection * Refactor: libcib: Drop update_cib_object() * Refactor: libcrmcommon: Make pcmk__xe_remove_attr() usable with foreach * Test: cts-cli: Update for marking dirty in pcmk__xml_mark_created() * Low: libcrmcommon: Mark parents dirty in pcmk__mark_xml_created()
Yan Gao (yan_gao)
committed
(revision 999)
- scheduler: deprecate Nagios and Upstart resources even if built with --enable-compat-2.0 (gh#ClusterLabs/pacemaker#3417)
Yan Gao (yan_gao)
committed
(revision 998)
- Update to version 2.1.7+20240410.ae4b38ab5: * Log: scheduler: deprecate Nagios and Upstart resources even if built with --enable-compat-2.0
Yan Gao (yan_gao)
committed
(revision 997)
- 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
Yan Gao (yan_gao)
committed
(revision 996)
- Update to version 2.1.7+20240410.74b7a09c5: * Build: rpm: fix fedora handling of compat20 * Refactor: libcib: Drop dead code for PCMK__XA_REPLACE * Refactor: libcib: Clean up update_cib_object() and add_cib_object() * Refactor: libcrmcommon: Drop utf8_bytes() * Build: configure: Require 8-bit char * Refactor: libcrmcommon: Simplify loops in mark_xml_changes() * Refactor: libcrmcommon: Separate traversal from accept_attr_deletions() * Refactor: libcrmcommon: Separate traversal from reset_xml_node_flags() * API: libcrmcommon: Deprecate crm_map_element_name() * Refactor: libcrmcommon: New pcmk__map_element_name() * Refactor: libcrmcommon: PCMK__XA_CIB_UPDATE_RESULT -> XE * API: libcrmcommon: Deprecate get_message_xml() * Refactor: libcrmcommon: Drop get_message_xml() internally * Refactor: libcrmcommon: Drop pcmk__valid_script() * Doc: Pacemaker Explained: Minor primitive meta-attribute fixes * Test: cts-cli: Add tests for crm_resource --list-options=primitive * Feature: tools: New crm_resource --list-options=primitive option * Refactor: libcrmcommon: New pcmk__opt_primitive enum value * API: libpacemaker: New pcmk_list_primitive_meta() * Refactor: libpacemaker: New pcmk__list_primitive_meta() * Refactor: libcrmcommon: New pcmk__output_primitive_meta() * API: libcrmcommon: New PCMK_VALUE_PORT string constant * API: libcrmcommon: New PCMK_VALUE_STOP_UNEXPECTED string constant * API: libcrmcommon: New PCMK_VALUE_STOP_START string constant * API: libcrmcommon: New PCMK_VALUE_STOP_ONLY string constant * API: libcrmcommon: New PCMK_ROLE_PROMOTED string constant * API: libcrmcommon: New PCMK_ROLE_UNPROMOTED string constant * API: libcrmcommon: New PCMK_ROLE_STARTED string constant * API: libcrmcommon: New PCMK_ROLE_STOPPED string constant
Yan Gao (yan_gao)
committed
(revision 995)
- Update to version 2.1.7+20240408.78e71e024: - scheduler: correctly log resource IDs of the deprecated classes (gh#ClusterLabs/pacemaker#3415)
Yan Gao (yan_gao)
committed
(revision 994)
- 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 - scheduler: log unknown nodes in location constraints (gh#ClusterLabs/pacemaker#3409, CLBZ#5415) - scheduler: correct lifetime deprecation warning (gh#ClusterLabs/pacemaker#3409) - tools: honor rules when getting utilization attributes with crm_resource (gh#ClusterLabs/pacemaker#3409) - scheduler: deprecate support for default instance attributes (gh#ClusterLabs/pacemaker#3409) - CIB: deprecate support for node attribute expressions beneath op and op_defaults - scheduler: use default timeout (20s) if user configures 0 (gh#ClusterLabs/pacemaker#3409) - tools: use better value for crm_resource --force-* timeout (gh#ClusterLabs/pacemaker#3409) - tools: crm_resource should ignore resource meta-attribute node expressions (gh#ClusterLabs/pacemaker#3409) - fencer: deprecate node attribute expressions in fence device meta-attributes - CIB: deprecate support for multiple rules within a single location constraint - scheduler: accept empty attribute name in node attribute expressions
Yan Gao (yan_gao)
committed
(revision 993)
- Update to version 2.1.7+20240404.4eedfe810: * Refactor: scheduler: regex_t doesn't need to be dynamically allocated * Refactor: scheduler: make unpack_rsc_location() take individual arguments * Refactor: scheduler: remove redundant code in generate_location_rule() * API: libcrmcommon: Deprecate fix_plus_plus_recursive() * Fix: libcib: Don't incorrectly expand "++" and "+=" in XML attr values * Test: cts-cli: Update for pcmk__inject_failcount() setting integer value * Low: libpacemaker: pcmk__inject_failcount should set an integer value * Refactor: scheduler: make generate_location_rule() take pcmk_rule_input_t * Log: scheduler: improve message for empty location rules * Refactor: scheduler: validate rule ID in location constraint sooner * Low: scheduler: improve error checking in pcmk__new_location() * Doc: Pacemaker Explained: improve utilization chapter * Doc: Pacemaker Explained: overhaul rules documentation * Doc: Pacemaker Explained: correct rST syntax in fencing documentation * XML: resources: reduce duplication for instance_attributes definition * XML: schemas: restructure rule schema for planned incompatible changes * Test: cts-cli: strip schema version when comparing output * Test: cts-cli: update expected outputs for new schema version * XML: schemas: Copy rule schema and related schemas in preparation for changes * Log: scheduler: log unknown nodes in location constraints * Log: scheduler: correct lifetime deprecation warning * Fix: tools: honor rules when getting utilization attributes with crm_resource * Low: scheduler: deprecate support for default instance attributes * Feature: CIB: deprecate support for node attribute expressions beneath op and op_defaults * Fix: scheduler: use default timeout (20s) if user configures 0 * Low: tools: use better value for crm_resource --force-* timeout * Fix: tools: crm_resource should ignore resource meta-attribute node expressions * Feature: fencer: deprecate node attribute expressions in fence device meta-attributes * Feature: CIB: deprecate support for multiple rules within a single location constraint
Yan Gao (yan_gao)
committed
(revision 992)
- fencer: always format time_t values as long long (gh#ClusterLabs/pacemaker#3407) - libcrmcommon: Escape some chars in XML attribute text output - scheduler: Add PCMK__XA_GRANTED to ticket_state XML. - tools: Fix the arguments annotation for ticket-constraints. - schemas: Change the type of a ticket's id attribute. - libcrmcommon: Escape newlines and tabs in XML attribute values - libcrmcommon: handle invalid match in pcmk__replace_submatches() - cts-lab: Parse log watch timestamps on exerciser side
Yan Gao (yan_gao)
committed
(revision 991)
- Update to version 2.1.7+20240401.39cf7437c: * doc: update po file. * Log: fencer: always format time_t values as long long * Refactor: libcrmcommon: Drop XML_PARSER_DEBUG constant * API: libcrmcommon: Deprecate get_xpath_object_relative() * API: libcrmcommon: Deprecate find_xml_children() * API: libcrmcommon: Deprecate update_xml_child() * Refactor: libcrmcommon: New pcmk__xe_update_match() * Refactor: libcrmcommon: xml_element_type2str -> xml_element_type_text * Refactor: libcrmcommon: pcmk__deleted_xml_t:path is now gchar * Refactor: libcrmcommon: Clean up free_xml_with_position * Refactor: libcrmcommon: New pcmk__xe_delete_match() * Refactor: libcrmcommon: Separate XML tree traversal from work * API: libcrmcommon: Deprecate replace_xml_child() * Refactor: libcrmcommon: New pcmk__xe_replace_match() * Doc: Pacemaker Explained: Document whitespace in attribute values * Refactor: libcrmcommon: New PCMK__XML_ENTITY string constants * Fix: libcrmcommon: Escape some chars in XML attribute text output * Test: libcrmcommon: add unit tests for pcmk__evaluate_rsc_expression() * Refactor: scheduler: best practices for pcmk__evaluate_rsc_expression() * Refactor: libcrmcommon,libpe_rules: move resource evaluation to libcrmcommon * Test: libcrmcommon: add unit tests for pcmk__evaluate_op_expression() * Refactor: scheduler: best practices for pcmk__evaluate_op_expression() * Test: cts-cli: Update output for write permission in access_render * Test: cts-cli: Add write permission in access_render tests * Test: cts-cli: Run access_render by default * Fix: cts-cli: Ensure access_render output is the same regardless of user * Test: cts-cli: Update after using create_shadow_cib() * Refactor: cts-cli: Use create_shadow_cib() in access_render test * Test: cts-cli: Make access_render tests accessible
Yan Gao (yan_gao)
committed
(revision 990)
- libcrmcommon: Revert daemon metadata output to pre-3e84f934 (gh#ClusterLabs/pacemaker#3398) - libcrmcommon: NULL-check strdup() in pcmk__register_message() (gh#ClusterLabs/pacemaker#3394) - libcrmcommon: NULL-check strdup() in pcmk__register_format() (gh#ClusterLabs/pacemaker#3394) - libpacemaker: Correctly free graphs and synapses (gh#ClusterLabs/pacemaker#3394) - libcrmcommon: Initialize some variables (gh#ClusterLabs/pacemaker#3394) - libcrmcommon: Don't try to parse XML from bad .bz2 file (gh#ClusterLabs/pacemaker#3361)
Yan Gao (yan_gao)
committed
(revision 989)
- Update to version 2.1.7+20240325.88621b8b8: * Test: cts-cli: Update daemon output after reverting format * Fix: libcrmcommon: Revert daemon metadata output to pre-3e84f934 * Refactor: libcrmcommon: Allow toggling and checking legacy_xml flag * Doc: Pacemaker Development: Document constructor naming convention * Doc: Pacemaker Development: Sectionize function naming conventions
Yan Gao (yan_gao)
committed
(revision 988)
- Pacemaker Explained: action-specific timeouts are `timeout` type now (gh#ClusterLabs/pacemaker#3385) - fencer: correctly parse action-specific timeouts with units (gh#ClusterLabs/pacemaker#3385) - cts-fencing: test for parsing action-specific timeouts with units (gh#ClusterLabs/pacemaker#3385) - fencer: log the units of fencing timeouts and delays (gh#ClusterLabs/pacemaker#3385) - fencer: log the correct unit of action-specific timeouts (gh#ClusterLabs/pacemaker#3385) - fencer: respect per-device watchdog fencing timeout from any query result (gh#ClusterLabs/pacemaker#3385) - fencer: prevent watchdog fencing targeting an offline node from timing out on insufficient `stonith-timeout` (gh#ClusterLabs/pacemaker#3385) - fencer: prevent watchdog fencing from timing out on insufficient per-device fencing timeout (gh#ClusterLabs/pacemaker#3385) - fencer: prevent watchdog fencing from timing out on insufficient `stonith-timeout` (gh#ClusterLabs/pacemaker#3385) - fencer: prevent an in-progress watchdog fencing from timing out on query timeout (gh#ClusterLabs/pacemaker#3385) - fencer: make an `on` action for an offline target of watchdog fencing fail (gh#ClusterLabs/pacemaker#3385) - fencer: ask an online target of watchdog fencing to acknowledge an `on` action (gh#ClusterLabs/pacemaker#3385) - fencer: log the correct value of `stonith-watchdog-timeout` (gh#ClusterLabs/pacemaker#3385) - fencer: log for an offline target of watchdog fencing correctly (gh#ClusterLabs/pacemaker#3385) - fencer: functionize checking whether a fencing action should be done with watchdog (gh#ClusterLabs/pacemaker#3385)
Yan Gao (yan_gao)
committed
(revision 987)
- Update to version 2.1.7+20240325.c71f81e91: * Doc: Pacemaker Explained: action-specific timeouts are `timeout` type now * Fix: fencer: correctly parse action-specific timeouts with units * Test: cts-fencing: test for parsing action-specific timeouts with units * Log: fencer: log the units of fencing timeouts and delays * Log: fencer: log the correct unit of action-specific timeouts * Fix: fencer: respect per-device watchdog fencing timeout from any query result * Fix: fencer: prevent watchdog fencing targeting an offline node from timing out on insufficient `stonith-timeout` * Fix: fencer: prevent watchdog fencing from timing out on insufficient per-device fencing timeout * Fix: fencer: prevent watchdog fencing from timing out on insufficient `stonith-timeout` * Fix: fencer: prevent an in-progress watchdog fencing from timing out on query timeout * Fix: fencer: make an `on` action for an offline target of watchdog fencing fail * Fix: fencer: ask an online target of watchdog fencing to acknowledge an `on` action * Log: fencer: log the correct value of `stonith-watchdog-timeout` * Log: fencer: log for an offline target of watchdog fencing correctly * Refactor: fencer: functionize checking whether a fencing action should be done with watchdog
Yan Gao (yan_gao)
committed
(revision 986)
- libcrmcommon: NULL-check strdup() in pcmk__register_message() - libcrmcommon: NULL-check strdup() in pcmk__register_format() - libpacemaker: Correctly free graphs and synapses - libcrmcommon: Initialize some variables - libcrmcommon: Avoid dumping core in pcmk__mem_assert() - HealthSMART:fix the description of temp_lower_limit (gh#ClusterLabs/pacemaker#3392)
Yan Gao (yan_gao)
committed
(revision 985)
- Update to version 2.1.7+20240321.03099e938: * Low: libcrmcommon: NULL-check strdup() in pcmk__register_message() * Low: libcrmcommon: NULL-check strdup() in pcmk__register_format() * Low: fencer: Clean up stonith_fence_history_trim() * Refactor: fencer: Clarify fence history op comparison * Low: libpacemaker: Correctly free graphs and synapses * Low: libcrmcommon: Initialize some variables * Fix: build: Get only -I/-D/-U from GLIB_CFLAGS for cppcheck target * Refactor: libcrmcommon: Assert on alloc failure in pcmk__new_client() * Refactor: libcrmcommon: Move pcmk__str_copy() to strings_internal.h * Refactor: libcrmcommon: Drop unneeded if in mainloop_timer_add() * Low: libcrmcommon: Avoid dumping core in pcmk__mem_assert() * Refactor: libcrmcommon: Move pcmk__mem_assert to results_internal.h * Refactor: libcrmcommon: Drop confusing comments from results_internal.h * Refactor: libcrmcommon: Drop dead code in CRM_ASSERT() * Doc: HealthSMART:fix the description of temp_lower_limit * Refactor: libpe_rules,libcrmcommon: parse reference value source into enum * Test: libcrmcommon: add unit tests for pcmk__cmp_by_type() * Refactor: libcrmcommon: best practices for pcmk__cmp_by_type() * Refactor: libpe_rules,libcrmcommon: move type-based comparison to libcrmcommon * Refactor: libpe_rules,libcrmcommon: parse value type into enum * Refactor: various: Replace strdup() with pcmk__str_copy() * Refactor: libcrmcommon: New pcmk__str_copy() * Refactor: libcrmcommon: New pcmk__assert_alloc() * Refactor: libcrmcommon: New pcmk__mem_assert() * Doc: controller: Explain strdup() into const pointer * Refactor: libpe_rules,libcrmcommon: parse comparison type into enum * Refactor: libcrmcommon: best practices for pcmk__replace_submatches() * Test: libcrmcommon: add unit tests for pcmk__replace_submatches() * API: libpe_rules: deprecate pe_expand_re_matches()
Yan Gao (yan_gao)
committed
(revision 984)
- cibsecret: Use 'ps axww' to avoid truncating issue (gh#ClusterLabs/pacemaker#3384)
Yan Gao (yan_gao)
committed
(revision 983)
- Update to version 2.1.7+20240306.56e6b6818: * Fix: cibsecret: Use 'ps axww' to avoid truncating issue
Displaying revisions 1 - 20 of 1002