Phriction Welcome to the ClusterLabs Wiki Projects Pacemaker Pacemaker 3.0 Changes Pacemaker 3.0 Api Changes History Version 9 vs 10
Version 9 vs 10
Version 9 vs 10
Content Changes
Content Changes
== libcrmcommon ==
The following symbols were dropped from the library
=== Headers ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| compatibility.h | |
=== Types, structs, and enums ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| pcmk_assignment_methods_t | |
| pcmk_rsc_methods_t | |
| resource_alloc_functions_t | |
| resource_object_functions_t | |
| struct resource_alloc_functions_s | |
| struct resource_object_functions_s | |
In addition, direct access to all members of `struct pe_resource_s` (`pcmk_resource_t`) except for `id` and `flags` has been dropped. `id` and `flags` remain deprecated.
=== Global variables ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| resource_class_functions | |
== libpe_rules and libpe_status (common code) ==
The following symbols were dropped from the library
=== Constants ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| pe_flag_check_config | |
| pe_flag_concurrent_fencing | |
| pe_flag_enable_unfencing | |
| pe_flag_have_remote_nodes | |
| pe_flag_have_status | |
| pe_flag_maintenance_mode | |
| pe_flag_no_compat | |
| pe_flag_no_counts | |
| pe_flag_quick_location | |
| pe_flag_remove_after_stop | |
| pe_flag_sanitized | |
| pe_flag_show_scores | |
| pe_flag_show_utilization | |
| pe_flag_shutdown_lock | |
| pe_flag_start_failure_fatal | |
| pe_flag_startup_fencing | |
| pe_flag_startup_probes | |
| pe_flag_stdout | |
| pe_flag_stonith_enabled | |
| pe_flag_stop_action_orphans | |
| pe_flag_stop_everything | |
| pe_flag_stop_rsc_orphans | |
| pe_flag_symmetric_cluster | |
| pe_rsc_allocating | |
| pe_rsc_allow_migrate | |
| pe_rsc_allow_remote_remotes | |
| pe_rsc_block | |
| pe_rsc_critical | |
| pe_rsc_detect_loop | |
| pe_rsc_failed | |
| pe_rsc_failure_ignored | |
| pe_rsc_fence_device | |
| pe_rsc_is_container | |
| pe_rsc_maintenance | |
| pe_rsc_merging | |
| pe_rsc_needs_fencing | |
| pe_rsc_needs_quorum | |
| pe_rsc_needs_unfencing | |
| pe_rsc_notify | |
| pe_rsc_orphan | |
| pe_rsc_orphan_container_filler | |
| pe_rsc_promotable | |
| pe_rsc_provisional | |
| pe_rsc_reload | |
| pe_rsc_replica_container | |
| pe_rsc_restarting | |
| pe_rsc_runnable | |
| pe_rsc_starting | |
| pe_rsc_start_pending | |
| pe_rsc_stop | |
| pe_rsc_stopping | |
| pe_rsc_stop_unexpected | |
| pe_rsc_unique | |
| RSC_ROLE_MASTER_S | |
| RSC_ROLE_MAX | |
| RSC_ROLE_PROMOTED_LEGACY_S | |
| RSC_ROLE_PROMOTED_S | pcmk_role_text(pcmk_role_promoted) |
| RSC_ROLE_SLAVE_S | |
| RSC_ROLE_STARTED_S | pcmk_role_text(pcmk_role_started) |
| RSC_ROLE_STOPPED_S | pcmk_role_text(pcmk_role_stopped) |
| RSC_ROLE_UNKNOWN_S | pcmk_role_text(pcmk_role_unknown) |
| RSC_ROLE_UNPROMOTED_LEGACY_S | |
| RSC_ROLE_UNPROMOTED_S | pcmk_role_text(pcmk_role_unpromoted) |
=== Types, structs, and enums ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| action_t | pcmk_action_t |
| action_wrapper_t | |
| enum pe_graph_flags | |
| enum pe_check_parameters | |
| no_quorum_policy_t | enum pe_quorum_policy |
| pe_action_t | pcmk_action_t |
| pe_action_wrapper_t | |
| pe_node_t | pcmk_node_t |
| pe_resource_t | pcmk_resource_t |
| pe_tag_t | |
| pe_ticket_t | |
| tag_t | |
| ticket_t | |
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| fail2text() | |
| pe_pref() | |
| recovery2text() | |
| role2text() | pcmk_role_text() |
| task2text() | |
| text2role() | pcmk_parse_role() |
| text2task() | |
== libpe_rules ==
The following symbols were dropped from the library
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| find_expression_type() | |
| pe_eval_expr() | pcmk_evaluate_rule() on parent rule |
| pe_eval_rules() | pcmk_evaluate_rule() on each rule |
| pe_eval_subexpr() | pcmk_evaluate_rule() on parent rule |
| pe_evaluate_rules() | pcmk_evaluate_rule() on each rule |
| pe_expand_re_matches() | |
| pe_test_expression() | pcmk_evaluate_rule() on parent rule |
| pe_test_expression_full() | pcmk_evaluate_rule() on parent rule |
| pe_test_expression_re | pcmk_evaluate_rule() on parent rule |
| pe_test_rule() | pcmk_evaluate_rule() |
| pe_test_rule_full | pcmk_evaluate_rule() |
| pe_test_rule_re() | pcmk_evaluate_rule() |
| test_expression() | pcmk_evaluate_rule() on parent rule |
| test_ruleset | pcmk_evaluate_rule() on each rule |
| unpack_instance_attributes() | pe_unpack_nvpairs() |
== libpe_status ==
The following symbols were dropped from the library
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| pe_rsc_is_anon_clone() | |
| pe_rsc_is_bundled() | |
| pe_rsc_is_clone() | |
| pe_rsc_is_unique_clone() | |
== libcrmcommon ==
The following symbols were dropped from the library
=== Headers ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| compatibility.h | |
=== Types, structs, and enums ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| enum pe_print_options | |
| pcmk_assignment_methods_t | |
| pcmk_rsc_methods_t | |
| resource_alloc_functions_t | |
| resource_object_functions_t | |
| struct resource_alloc_functions_s | |
| struct resource_object_functions_s | |
In addition, direct access to all members of `struct pe_resource_s` (`pcmk_resource_t`) except for `id` and `flags` has been dropped. `id` and `flags` remain deprecated.
=== Global variables ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| resource_class_functions | |
== libpe_rules and libpe_status (common code) ==
The following symbols were dropped from the library
=== Constants ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| pe_flag_check_config | |
| pe_flag_concurrent_fencing | |
| pe_flag_enable_unfencing | |
| pe_flag_have_remote_nodes | |
| pe_flag_have_status | |
| pe_flag_maintenance_mode | |
| pe_flag_no_compat | |
| pe_flag_no_counts | |
| pe_flag_quick_location | |
| pe_flag_remove_after_stop | |
| pe_flag_sanitized | |
| pe_flag_show_scores | |
| pe_flag_show_utilization | |
| pe_flag_shutdown_lock | |
| pe_flag_start_failure_fatal | |
| pe_flag_startup_fencing | |
| pe_flag_startup_probes | |
| pe_flag_stdout | |
| pe_flag_stonith_enabled | |
| pe_flag_stop_action_orphans | |
| pe_flag_stop_everything | |
| pe_flag_stop_rsc_orphans | |
| pe_flag_symmetric_cluster | |
| pe_rsc_allocating | |
| pe_rsc_allow_migrate | |
| pe_rsc_allow_remote_remotes | |
| pe_rsc_block | |
| pe_rsc_critical | |
| pe_rsc_detect_loop | |
| pe_rsc_failed | |
| pe_rsc_failure_ignored | |
| pe_rsc_fence_device | |
| pe_rsc_is_container | |
| pe_rsc_maintenance | |
| pe_rsc_merging | |
| pe_rsc_needs_fencing | |
| pe_rsc_needs_quorum | |
| pe_rsc_needs_unfencing | |
| pe_rsc_notify | |
| pe_rsc_orphan | |
| pe_rsc_orphan_container_filler | |
| pe_rsc_promotable | |
| pe_rsc_provisional | |
| pe_rsc_reload | |
| pe_rsc_replica_container | |
| pe_rsc_restarting | |
| pe_rsc_runnable | |
| pe_rsc_starting | |
| pe_rsc_start_pending | |
| pe_rsc_stop | |
| pe_rsc_stopping | |
| pe_rsc_stop_unexpected | |
| pe_rsc_unique | |
| RSC_ROLE_MASTER_S | |
| RSC_ROLE_MAX | |
| RSC_ROLE_PROMOTED_LEGACY_S | |
| RSC_ROLE_PROMOTED_S | pcmk_role_text(pcmk_role_promoted) |
| RSC_ROLE_SLAVE_S | |
| RSC_ROLE_STARTED_S | pcmk_role_text(pcmk_role_started) |
| RSC_ROLE_STOPPED_S | pcmk_role_text(pcmk_role_stopped) |
| RSC_ROLE_UNKNOWN_S | pcmk_role_text(pcmk_role_unknown) |
| RSC_ROLE_UNPROMOTED_LEGACY_S | |
| RSC_ROLE_UNPROMOTED_S | pcmk_role_text(pcmk_role_unpromoted) |
=== Types, structs, and enums ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| action_t | pcmk_action_t |
| action_wrapper_t | |
| enum pe_graph_flags | |
| enum pe_check_parameters | |
| no_quorum_policy_t | enum pe_quorum_policy |
| pe_action_t | pcmk_action_t |
| pe_action_wrapper_t | |
| pe_node_t | pcmk_node_t |
| pe_resource_t | pcmk_resource_t |
| pe_tag_t | |
| pe_ticket_t | |
| tag_t | |
| ticket_t | |
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| fail2text() | |
| pe_pref() | |
| recovery2text() | |
| role2text() | pcmk_role_text() |
| task2text() | |
| text2role() | pcmk_parse_role() |
| text2task() | |
== libpe_rules ==
The following symbols were dropped from the library
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| find_expression_type() | |
| pe_eval_expr() | pcmk_evaluate_rule() on parent rule |
| pe_eval_rules() | pcmk_evaluate_rule() on each rule |
| pe_eval_subexpr() | pcmk_evaluate_rule() on parent rule |
| pe_evaluate_rules() | pcmk_evaluate_rule() on each rule |
| pe_expand_re_matches() | |
| pe_test_expression() | pcmk_evaluate_rule() on parent rule |
| pe_test_expression_full() | pcmk_evaluate_rule() on parent rule |
| pe_test_expression_re | pcmk_evaluate_rule() on parent rule |
| pe_test_rule() | pcmk_evaluate_rule() |
| pe_test_rule_full | pcmk_evaluate_rule() |
| pe_test_rule_re() | pcmk_evaluate_rule() |
| test_expression() | pcmk_evaluate_rule() on parent rule |
| test_ruleset | pcmk_evaluate_rule() on each rule |
| unpack_instance_attributes() | pe_unpack_nvpairs() |
== libpe_status ==
The following symbols were dropped from the library
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| pe_rsc_is_anon_clone() | |
| pe_rsc_is_bundled() | |
| pe_rsc_is_clone() | |
| pe_rsc_is_unique_clone() | |
== libcrmcommon ==
The following symbols were dropped from the library
=== Headers ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| compatibility.h | |
=== Types, structs, and enums ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| enum pe_print_options | |
| pcmk_assignment_methods_t | |
| pcmk_rsc_methods_t | |
| resource_alloc_functions_t | |
| resource_object_functions_t | |
| struct resource_alloc_functions_s | |
| struct resource_object_functions_s | |
In addition, direct access to all members of `struct pe_resource_s` (`pcmk_resource_t`) except for `id` and `flags` has been dropped. `id` and `flags` remain deprecated.
=== Global variables ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| resource_class_functions | |
== libpe_rules and libpe_status (common code) ==
The following symbols were dropped from the library
=== Constants ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| pe_flag_check_config | |
| pe_flag_concurrent_fencing | |
| pe_flag_enable_unfencing | |
| pe_flag_have_remote_nodes | |
| pe_flag_have_status | |
| pe_flag_maintenance_mode | |
| pe_flag_no_compat | |
| pe_flag_no_counts | |
| pe_flag_quick_location | |
| pe_flag_remove_after_stop | |
| pe_flag_sanitized | |
| pe_flag_show_scores | |
| pe_flag_show_utilization | |
| pe_flag_shutdown_lock | |
| pe_flag_start_failure_fatal | |
| pe_flag_startup_fencing | |
| pe_flag_startup_probes | |
| pe_flag_stdout | |
| pe_flag_stonith_enabled | |
| pe_flag_stop_action_orphans | |
| pe_flag_stop_everything | |
| pe_flag_stop_rsc_orphans | |
| pe_flag_symmetric_cluster | |
| pe_rsc_allocating | |
| pe_rsc_allow_migrate | |
| pe_rsc_allow_remote_remotes | |
| pe_rsc_block | |
| pe_rsc_critical | |
| pe_rsc_detect_loop | |
| pe_rsc_failed | |
| pe_rsc_failure_ignored | |
| pe_rsc_fence_device | |
| pe_rsc_is_container | |
| pe_rsc_maintenance | |
| pe_rsc_merging | |
| pe_rsc_needs_fencing | |
| pe_rsc_needs_quorum | |
| pe_rsc_needs_unfencing | |
| pe_rsc_notify | |
| pe_rsc_orphan | |
| pe_rsc_orphan_container_filler | |
| pe_rsc_promotable | |
| pe_rsc_provisional | |
| pe_rsc_reload | |
| pe_rsc_replica_container | |
| pe_rsc_restarting | |
| pe_rsc_runnable | |
| pe_rsc_starting | |
| pe_rsc_start_pending | |
| pe_rsc_stop | |
| pe_rsc_stopping | |
| pe_rsc_stop_unexpected | |
| pe_rsc_unique | |
| RSC_ROLE_MASTER_S | |
| RSC_ROLE_MAX | |
| RSC_ROLE_PROMOTED_LEGACY_S | |
| RSC_ROLE_PROMOTED_S | pcmk_role_text(pcmk_role_promoted) |
| RSC_ROLE_SLAVE_S | |
| RSC_ROLE_STARTED_S | pcmk_role_text(pcmk_role_started) |
| RSC_ROLE_STOPPED_S | pcmk_role_text(pcmk_role_stopped) |
| RSC_ROLE_UNKNOWN_S | pcmk_role_text(pcmk_role_unknown) |
| RSC_ROLE_UNPROMOTED_LEGACY_S | |
| RSC_ROLE_UNPROMOTED_S | pcmk_role_text(pcmk_role_unpromoted) |
=== Types, structs, and enums ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| action_t | pcmk_action_t |
| action_wrapper_t | |
| enum pe_graph_flags | |
| enum pe_check_parameters | |
| no_quorum_policy_t | enum pe_quorum_policy |
| pe_action_t | pcmk_action_t |
| pe_action_wrapper_t | |
| pe_node_t | pcmk_node_t |
| pe_resource_t | pcmk_resource_t |
| pe_tag_t | |
| pe_ticket_t | |
| tag_t | |
| ticket_t | |
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| fail2text() | |
| pe_pref() | |
| recovery2text() | |
| role2text() | pcmk_role_text() |
| task2text() | |
| text2role() | pcmk_parse_role() |
| text2task() | |
== libpe_rules ==
The following symbols were dropped from the library
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| find_expression_type() | |
| pe_eval_expr() | pcmk_evaluate_rule() on parent rule |
| pe_eval_rules() | pcmk_evaluate_rule() on each rule |
| pe_eval_subexpr() | pcmk_evaluate_rule() on parent rule |
| pe_evaluate_rules() | pcmk_evaluate_rule() on each rule |
| pe_expand_re_matches() | |
| pe_test_expression() | pcmk_evaluate_rule() on parent rule |
| pe_test_expression_full() | pcmk_evaluate_rule() on parent rule |
| pe_test_expression_re | pcmk_evaluate_rule() on parent rule |
| pe_test_rule() | pcmk_evaluate_rule() |
| pe_test_rule_full | pcmk_evaluate_rule() |
| pe_test_rule_re() | pcmk_evaluate_rule() |
| test_expression() | pcmk_evaluate_rule() on parent rule |
| test_ruleset | pcmk_evaluate_rule() on each rule |
| unpack_instance_attributes() | pe_unpack_nvpairs() |
== libpe_status ==
The following symbols were dropped from the library
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| pe_rsc_is_anon_clone() | |
| pe_rsc_is_bundled() | |
| pe_rsc_is_clone() | |
| pe_rsc_is_unique_clone() | |