Revisions of pacemaker

Yan Gao's avatar Yan Gao (yan_gao) committed (revision 1009)
- tools: Hook up the verbosity flag in crm_attribute. (gh#ClusterLabs/pacemaker#2696, bsc#1224183)
Yan Gao's avatar Yan Gao (yan_gao) committed (revision 1008)
- 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()
- fencer: Fix memory leak in stonith_query_capable_device_cb()
- schemas: Add a schema for the new crm_resource output.
- CIB: deprecate "default" and "#default" as explicit meta-attribute values
- CIB: deprecate special handling of literal value "default" for meta-attributes
- libpe_status,libpacemaker: enable deprecation warnings even in compatibility builds
- CIB: deprecate omitting validate-with attribute from cib element
- CIB: deprecate disabling schema validation
- CIB: deprecate support for unknown schemas in validate-with
- tools: skip overall error message with crm_verify --quiet
- tools: crm_verify respects verbosity for configuration issues
- scheduler: improve deprecated schema warning
- scheduler: improve messages about orphaned resources
Yan Gao's avatar Yan Gao (yan_gao) committed (revision 1007)
- Update to version 2.1.7+20240514.9d0f30818:
  * Build: update version information for 2.1.8
  * Build: libraries: update shared object versions for 2.1.8
  * Doc: xml: update README for 2.1.8
  * Low: NLS: update translations for current code base
  * Refactor: libstonithd: drop stonith-ng_compat.h
  * Low: scheduler: avoid memory leaks when updating action names
  * Test: cts-cli: update expected output for recent change
  * Low: libcrmcommon: fix readable interval
  * Test: libcrmcommon: add more tests for pcmk__readable_interval()
  * Low: tools: make crm_simulate output for bad input more understandable
  * Doc: Pacemaker Explained: list all alertable events
  * Doc: pacemaker: add security policy
  * Test: valgrind: remove old function from suppressions
  * Low: libcrmcommon: Avoid leaking gnutls session
  * Low: libcrmcluster: Fix a typo in an info message.
  * Low: executor: Avoid memory leak in get_schema_files()
  * Low: tools: Use crm_exit() consistently
  * Refactor: libcrmcommon: NULL-check list in crm_schema_cleanup()
  * Low: executor: Spawn remoted pid 1 before allocating dynamic memory
  * Low: libcib: Fix memory leak in cib_client_fetch_schemas()
  * Low: libpacemaker: Fix mem leak in pcmk__acl_evaled_render()
  * Refactor: libcrmcommon: make header formatting more consistent
  * Refactor: libcrmcommon: make pcmk_update_configured_schema() return a standard code
  * Low: libcrmcommon: avoid memory leaks when loading and freeing schemas
  * Low: libcib: avoid memory leak in async calls
  * API: libcrmcommon: add pcmk_update_configured_schema()
  * API: libcrmcommon: deprecate enum pcmk_scheduler_flags and all its values
  * Doc: all: comment public APIs known to be used by external code
  * Test: valgrind: put VALGRIND_OPTS all on one line in sysconfig
Yan Gao's avatar Yan Gao (yan_gao) committed (revision 1006)
- tools: make crm_mon exit upon loss of the attached pseudo-terminal (gh#ClusterLabs/pacemaker#3430, bsc#1220229)
Yan Gao's avatar Yan Gao (yan_gao) committed (revision 1005)
- Update to version 2.1.7+20240430.1dd728559:
  * Fix: tools: make crm_mon exit upon loss of the attached pseudo-terminal
Yan Gao's avatar Yan Gao (yan_gao) committed (revision 1004)
- tools: Deprecate score expansion by default in crm_attribute
- tools: Deprecate score expansion by default in cibadmin
- tools: --score option for cibadmin and crm_attribute
- tools: Unset crm_attribute promotion_score if attr name is given
- tools: Fix cibadmin sync call return code logic
- libcib: Fix handling of return values in CIB attr update/delete
- libcrmcommon: Ensure crm_schema_init() initializes only once
- scheduler: Check return code in node_xml.
- libcrmcommon: simplify update_validation() logs
- libcrmcommon: don't assume next schema will validate when not transforming
- libcrmcommon: max should apply even if transform is false in update_validation()
- libcrmcommon: don't validate with first schema for an unknown schema name
- libcrmcommon: improve apply_upgrade() messages
- xml: restore "pacemaker-next" schema functionality
- lrmd: Warn on insecure and undocumented key handling behaviors.
- agents: Mark the o2cb resource agent as deprecated. (gh#ClusterLabs/pacemaker#3425)
- scheduler: compare nvpair block IDs case-sensitively
Yan Gao's avatar Yan Gao (yan_gao) committed (revision 1003)
- Update to version 2.1.7+20240430.8ba07347b:
  * API: libcrmcomon: deprecate pcmk_parse_action()
  * API: libcrmcommon: deprecate pcmk_action_text()
  * API: libcrmcommon: deprecate pcmk_on_fail_text()
  * API: libcrmcommon: deprecate direct access to struct pe_action_s and all its members
  * API: libcrmcommon: deprecate enum pe_action_flags and all its values
  * API: libcrmcommon: deprecate enum action_fail_response and all its values
  * API: libcrmcommon: deprecate enum action_tasks and all its values
  * API: libcrmcluster: Deprecate reap_crm_member()
  * Refactor: libcrmcluster: New pcmk__cluster_forget_cluster_node()
  * Refactor: libcrmcluster: crm_reap_dead_member() best practices
  * API: libcrmcluster: Deprecate crm_active_peers()
  * Refactor: libcrmcluster: New pcmk__cluster_num_active_nodes()
  * API: libcrmcluster: Deprecate crm_is_peer_active()
  * Refactor: libcrmcluster: New pcmk__cluster_is_node_active()
  * API: libcrmcluster: Deprecate crm_remote_peer_cache_remove()
  * Refactor: libcrmcluster: New pcmk__cluster_forget_remote_node()
  * API: libcrmcluster: Deprecate crm_remote_peer_get()
  * Refactor: libcrmcluster: New pcmk__cluster_lookup_remote_node()
  * API: libcrmcluster: Deprecate crm_remote_peer_cache_refresh()
  * Refactor: libcrmcluster: New refresh_remote_nodes()
  * API: libcrmcluster: Deprecate crm_remote_node_cache_size()
  * Refactor: libcrmcluster: New pcmk__cluster_num_remote_nodes()
  * API: libcrmcluster: Deprecate crm_cluster_disconnect()
  * API: libcrmcluster: New pcmk_cluster_disconnect()
  * Feature: tools: Deprecate score expansion by default in crm_attribute
  * Feature: tools: Deprecate score expansion by default in cibadmin
  * API: libcrmcommon: deprecate direct access to struct pe_resource_s and its members
  * API: libcrmcommon: deprecate resource_alloc_functions_s and pcmk_assignment_methods_t
  * API: libcrmcommon: deprecate pcmk_rsc_methods_t, struct resource_object_functions_s, and all members
Yan Gao's avatar Yan Gao (yan_gao) committed (revision 1002)
- libcrmcommon: Mark parents dirty in pcmk__mark_xml_created()
Yan Gao's avatar 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's avatar 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's avatar 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's avatar 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's avatar 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's avatar 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's avatar 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's avatar 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's avatar 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's avatar 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's avatar 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's avatar 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)
Displaying revisions 1 - 20 of 1009
openSUSE Build Service is sponsored by