Page MenuHomeClusterLabs Projects

Pacemaker 3.0 Api Changes
Updated 20 Days AgoPublic

This document only indicates APIs that were dropped or changed incompatibly. Additions and new deprecations can be seen in the ChangeLog.

libcib

The following symbols were dropped from the library

Types, structs, and enums

DroppedSuggested replacement (if any)
cib_api_operations_t (cib_t cmds member) delete_absolute() memberremove()
cib_api_operations_t (cib_t cmds member) inputfd(), is_master(), quit(), and set_slave_all() members
cib_api_operations_t (cib_t cmds member) set_master() memberset_primary()
cib_api_operations_t (cib_t cmds member) set_slave() memberset_secondary()
cib_api_operations_t (cib_t cmds member) set_op_callback() memberregister_callback() or register_callback_full() for individual calls
cib_api_operations_t (cib_t cmds member) signon_raw() membersignon()
cib_api_operations_t (cib_t cmds member) update() membermodify()
cib_database (in enum cib_variant)
cib_inhibit_bcast (in enum cib_call_options)
cib_mixed_update (in enum cib_call_options)
cib_quorum_override (in enum cib_call_options)
cib_t op_callback() member
cib_zero_copy (in enum cib_call_options)

Functions and macros

DroppedSuggested replacement (if any)
cib_get_generation()
cib_metadata()
cib_pref()
get_object_parent()pcmk_cib_parent_name_for()
get_object_path()pcmk_cib_xpath_for()
get_object_root()pcmk_cib_xpath_for()
query_node_uname()
set_standby()

libcrmcluster

The following symbols were dropped from the library.

Headers

The crm/cluster.h header no longer includes stdint.h, libxml/tree.h, crm/common/util.h, or crm/common/xml.h. If you were previously relying on any of those being included transitively, you will need to include them explicitly.

Constants

DroppedSuggested replacement (if any)
CRM_NODE_LOST
CRM_NODE_MEMBERPCMK_VALUE_MEMBER

Types, structs, and enums

DroppedSuggested replacement (if any)
crm_node_t
enum crm_ais_msg_class
enum crm_ais_msg_types
enum crm_get_peer_flags
enum crm_join_phase
enum crm_node_flags
enum crm_status_type
struct crm_peer_node_s

In addition, struct crm_cluster_s (pcmk_cluster_t) has been renamed to the internal name struct pcmk__cluster, which should not be used directly. Direct access to all members except for cpg and destroy has been dropped. Direct access to the remaining members is still deprecated.

Functions and macros

DroppedSuggested replacement (if any)
cluster_connect_cpg()
cluster_disconnect_cpg()
crm_active_peers()
crm_cluster_disconnect()pcmk_cluster_disconnect()
crm_get_peer()
crm_get_peer_full()
crm_is_corosync_peer_active()
crm_is_peer_active()
crm_join_phase_str()
crm_peer_destroy()
crm_peer_uname()
crm_peer_uuid()
crm_remote_peer_cache_refresh()
crm_remote_peer_cache_remove()
crm_remote_peer_cache_size()
crm_remote_peer_get()
crm_set_autoreap()
crm_set_status_callback()
crm_terminate_member()stonith_api_kick()
crm_terminate_member_no_mainloop()stonith_api_kick()
get_local_nodeid()
get_local_node_name()
get_node_name()
is_corosync_cluster()pcmk_get_cluster_layer()
pcmk_cpg_membership()
pcmk_message_common_cs()
reap_crm_member()
send_cluster_message()
send_cluster_text()
set_uuid()
text2msg_type()

Global variables

DroppedSuggested replacement (if any)
crm_have_quorum
crm_peer_cache
crm_peer_seq
crm_remote_peer_cache

libcrmcommon

The following symbols were dropped from the library

Headers

DroppedSuggested replacement (if any)
compatibility.h
tags.h
tickets.h

Constants

DroppedSuggested replacement (if any)
CIB_OPTIONS_FIRSTPCMK_VALUE_CIB_BOOTSTRAP_OPTIONS
CRM_ATTR_RA_VERSION
CRM_DEFAULT_OP_TIMEOUT_S
CRM_INFINITY_SPCMK_VALUE_INFINITY
CRM_MINUS_INFINITY_SPCMK_VALUE_MINUS_INFINITY
CRM_OP_FENCEPCMK_ACTION_STONITH
CRM_OP_LOCAL_SHUTDOWN
CRM_OP_LRM_QUERY
CRM_OP_LRM_REFRESH
CRM_OP_RELAXED_CLONEPCMK_ACTION_CLONE_ONE_OR_MORE
CRM_OP_RELAXED_SETPCMK_ACTION_ONE_OR_MORE
CRM_PLUS_INFINITY_SPCMK_VALUE_PLUS_INFINITY
CRMD_ACTION_CANCELPCMK_ACTION_CANCEL
CRMD_ACTION_DELETEPCMK_ACTION_DELETE
CRMD_ACTION_DEMOTEPCMK_ACTION_DEMOTE
CRMD_ACTION_DEMOTEDPCMK_ACTION_DEMOTED
CRMD_ACTION_METADATAPCMK_ACTION_META_DATA
CRMD_ACTION_MIGRATEPCMK_ACTION_MIGRATE_TO
CRMD_ACTION_MIGRATEDPCMK_ACTION_MIGRATE_FROM
CRMD_ACTION_NOTIFIEDPCMK_ACTION_NOTIFIED
CRMD_ACTION_NOTIFYPCMK_ACTION_NOTIFY
CRMD_ACTION_PROMOTEPCMK_ACTION_PROMOTE
CRMD_ACTION_PROMOTEDPCMK_ACTION_PROMOTED
CRMD_ACTION_RELOADPCMK_ACTION_RELOAD
CRMD_ACTION_RELOAD_AGENTPCMK_ACTION_RELOAD_AGENT
CRMD_ACTION_STARTPCMK_ACTION_START
CRMD_ACTION_STARTEDPCMK_ACTION_RUNNING
CRMD_ACTION_STATUSPCMK_ACTION_MONITOR
CRMD_ACTION_STOPPCMK_ACTION_STOP
CRMD_ACTION_STOPPEDPCMK_ACTION_STOPPED
CRMD_METADATA
EOS'\0'
F_CLIENTNAME
F_CRM_DATA
F_CRM_DC_LEAVING
F_CRM_ELECTION_AGE_S
F_CRM_ELECTION_AGE_US
F_CRM_ELECTION_ID
F_CRM_ELECTION_OWNER
F_CRM_HOST_FROM
F_CRM_HOST_TO
F_CRM_JOIN_ID
F_CRM_MSG_TYPE
F_CRM_ORIGINPCMK_XA_ORIGIN
F_CRM_REFERENCE
F_CRM_SYS_FROM
F_CRM_SYS_TO
F_CRM_TASK
F_CRM_TGRAPH
F_CRM_TGRAPH_INPUT
F_CRM_THROTTLE_MAX
F_CRM_THROTTLE_MODE
F_CRM_USER
F_CRM_VERSIONPCMK_XA_VERSION
F_ORIG
F_SEQ
F_SUBTYPE
F_TYPE
F_XML_TAGNAME
INFINITYPCMK_SCORE_INFINITY
INFINITY_SPCMK_VALUE_INFINITY
MAX_IPC_DELAY
MINUS_INFINITY_SPCMK_VALUE_MINUS_INFINITY
OFFLINESTATUSPCMK_VALUE_OFFLINE
ONLINESTATUSPCMK_VALUE_ONLINE
PCMK_DEFAULT_METADATA_TIMEOUT_MS
PCMK_XA_PROMOTED_MAX_LEGACY
PCMK_XA_PROMOTED_NODE_MAX_LEGACY
PCMK_XE_PROMOTABLE_LEGACY
PCMK_XE_PROMOTED_MAX_LEGACY
PCMK_XE_PROMOTED_NODE_MAX_LEGACY
RSC_CANCELPCMK_ACTION_CANCEL
RSC_DELETEPCMK_ACTION_DELETE
RSC_DEMOTEPCMK_ACTION_DEMOTE
RSC_DEMOTEDPCMK_ACTION_DEMOTED
RSC_METADATAPCMK_ACTION_META_DATA
RSC_MIGRATEPCMK_ACTION_MIGRATE_TO
RSC_MIGRATEDPCMK_ACTION_MIGRATE_FROM
RSC_NOTIFIEDPCMK_ACTION_NOTIFIED
RSC_NOTIFYPCMK_ACTION_NOTIFY
RSC_PROMOTEPCMK_ACTION_PROMOTE
RSC_PROMOTEDPCMK_ACTION_PROMOTED
RSC_ROLE_MASTERpcmk_role_promoted
RSC_ROLE_PROMOTEDpcmk_role_promoted
RSC_ROLE_SLAVEpcmk_role_unpromoted
RSC_ROLE_STARTEDpcmk_role_started
RSC_ROLE_STOPPEDpcmk_role_stopped
RSC_ROLE_UNKNOWNpcmk_role_unknown
RSC_ROLE_UNPROMOTEDpcmk_role_unpromoted
RSC_STARTPCMK_ACTION_START
RSC_STARTEDPCMK_ACTION_RUNNING
RSC_STATUSPCMK_ACTION_MONITOR
RSC_STOPPCMK_ACTION_STOP
RSC_STOPPEDPCMK_ACTION_STOPPED
T_ATTRD
T_CRM
T_STONITH_NOTIFY_DISCONNECT
T_STONITH_NOTIFY_FENCE
T_STONITH_NOTIFY_HISTORY
T_STONITH_NOTIFY_HISTORY_SYNCED
XML_ACL_ATTR_ATTRIBUTEPCMK_XA_ATTRIBUTE
XML_ACL_ATTR_KINDPCMK_XA_KIND
XML_ACL_ATTR_REFPCMK_XA_REFERENCE
XML_ACL_ATTR_REFv1
XML_ACL_ATTR_TAGPCMK_XA_OBJECT_TYPE
XML_ACL_ATTR_TAGv1
XML_ACL_ATTR_XPATHPCMK_XA_XPATH
XML_ACL_TAG_DENY
XML_ACL_TAG_GROUPPCMK_XE_ACL_GROUP
XML_ACL_TAG_PERMISSIONPCMK_XE_ACL_PERMISSION
XML_ACL_TAG_READ
XML_ACL_TAG_ROLEPCMK_XE_ACL_ROLE
XML_ACL_TAG_ROLE_REFPCMK_XE_ROLE
XML_ACL_TAG_ROLE_REFv1
XML_ACL_TAG_USER
XML_ACL_TAG_USERv1
XML_ACL_TAG_WRITE
XML_AGENT_ATTR_CLASSPCMK_XA_CLASS
XML_AGENT_ATTR_PROVIDERPCMK_XA_PROVIDER
XML_ALERT_ATTR_PATHPCMK_XA_PATH
XML_ALERT_ATTR_REC_VALUEPCMK_XA_VALUE
XML_ALERT_ATTR_TIMEOUTPCMK_META_TIMEOUT
XML_ALERT_ATTR_TSTAMP_FORMATPCMK_META_TIMESTAMP_FORMAT
XML_ATTR_CRM_VERSIONPCMK_XA_CRM_FEATURE_SET
XML_ATTR_DC_UUIDPCMK_XA_DC_UUID
XML_ATTR_DESCPCMK_XA_DESCRIPTION
XML_ATTR_DIGEST
XML_ATTR_GENERATIONPCMK_XA_EPOCH
XML_ATTR_GENERATION_ADMIN
XML_ATTR_HAVE_QUORUMPCMK_XA_HAVE_QUORUM
XML_ATTR_HAVE_WATCHDOGPCMK_OPT_HAVE_WATCHDOG
XML_ATTR_IDPCMK_XA_ID
XML_ATTR_ID_LONG
XML_ATTR_IDREFPCMK_XA_ID_REF
XML_ATTR_NAMEPCMK_XA_NAME
XML_ATTR_NUMUPDATESPCMK_XA_NUM_UPDATES
XML_ATTR_OPPCMK_XE_OP
XML_ATTR_ORIGINPCMK_XA_CRM_DEBUG_ORIGIN
XML_ATTR_QUORUM_PANICPCMK_XA_NO_QUORUM_PANIC
XML_ATTR_RA_VERSION
XML_ATTR_REFERENCEPCMK_XA_REFERENCE
XML_ATTR_REQUESTPCMK_XA_REQUEST
XML_ATTR_RESPONSE
XML_ATTR_STONITH_DEVICESPCMK_XA_DEVICES
XML_ATTR_STONITH_INDEXPCMK_XA_INDEX
XML_ATTR_STONITH_TARGETPCMK_XA_TARGET
XML_ATTR_STONITH_TARGET_ATTRIBUTEPCMK_XA_TARGET_ATTRIBUTE
XML_ATTR_STONITH_TARGET_PATTERNPCMK_XA_TARGET_PATTERN
XML_ATTR_STONITH_TARGET_VALUEPCMK_XA_TARGET_VALUE
XML_ATTR_TE_NOWAIT
XML_ATTR_TE_TARGET_RC
XML_ATTR_TIMEOUTPCMK_META_TIMEOUT
XML_ATTR_TRANSITION_KEY
XML_ATTR_TRANSITION_MAGIC
XML_ATTR_TSTAMPPCMK_XA_CRM_TIMESTAMP
XML_ATTR_TYPEPCMK_XA_TYPE
XML_ATTR_UNAMEPCMK_XA_UNAME
XML_ATTR_UPDATE_CLIENTPCMK_XA_UPDATE_CLIENT
XML_ATTR_UPDATE_ORIGPCMK_XA_UPDATE_ORIGIN
XML_ATTR_UPDATE_USERPCMK_XA_UPDATE_USER
XML_ATTR_UUIDPCMK_XA_ID
XML_ATTR_VALIDATIONPCMK_XA_VALIDATE_WITH
XML_ATTR_VERBOSE
XML_ATTR_VERSIONPCMK_XA_VERSION
XML_BOOLEAN_FALSEPCMK_VALUE_FALSE
XML_BOOLEAN_NOPCMK_VALUE_FALSE
XML_BOOLEAN_TRUEPCMK_VALUE_TRUE
XML_BOOLEAN_YESPCMK_VALUE_TRUE
XML_CIB_ATTR_PRIORITY
XML_CIB_ATTR_REPLACE
XML_CIB_ATTR_SOURCE
XML_CIB_ATTR_WRITTENPCMK_XA_CIB_LAST_WRITTEN
XML_CIB_TAG_ACLSPCMK_XE_ACLS
XML_CIB_TAG_ALERTPCMK_XE_ALERT
XML_CIB_TAG_ALERT_ATTRPCMK_XE_ATTRIBUTE
XML_CIB_TAG_ALERT_ATTRIBUTESPCMK_XE_SELECT_ATTRIBUTES
XML_CIB_TAG_ALERT_FENCINGPCMK_XE_SELECT_FENCING
XML_CIB_TAG_ALERT_NODESPCMK_XE_SELECT_NODES
XML_CIB_TAG_ALERT_RECIPIENTPCMK_XE_RECIPIENT
XML_CIB_TAG_ALERT_RESOURCESPCMK_XE_SELECT_RESOURCES
XML_CIB_TAG_ALERTSPCMK_XE_ALERTS
XML_CIB_TAG_ALERT_SELECTPCMK_XE_SELECT
XML_CIB_TAG_CONFIGURATIONPCMK_XE_CONFIGURATION
XML_CIB_TAG_CONSTRAINTSPCMK_XE_CONSTRAINTS
XML_CIB_TAG_CONTAINERPCMK_XE_BUNDLE
XML_CIB_TAG_CRMCONFIGPCMK_XE_CRM_CONFIG
XML_CIB_TAG_DOMAINS
XML_CIB_TAG_GENERATION_TUPPLE
XML_CIB_TAG_GROUPPCMK_XE_GROUP
XML_CIB_TAG_INCARNATIONPCMK_XE_CLONE
XML_CIB_TAG_LRM
XML_CIB_TAG_MASTER
XML_CIB_TAG_NODEPCMK_XE_NODE
XML_CIB_TAG_NODESPCMK_XE_NODES
XML_CIB_TAG_OBJ_REFPCMK_XE_OBJ_REF
XML_CIB_TAG_OPCONFIGPCMK_XE_OP_DEFAULTS
XML_CIB_TAG_PROPSETPCMK_XE_CLUSTER_PROPERTY_SET
XML_CIB_TAG_RESOURCEPCMK_XE_PRIMITIVE
XML_CIB_TAG_RESOURCESPCMK_XE_RESOURCES
XML_CIB_TAG_RSCCONFIGPCMK_XE_RSC_DEFAULTS
XML_CIB_TAG_RSC_TEMPLATEPCMK_XE_TEMPLATE
XML_CIB_TAG_SECTION_ALL
XML_CIB_TAG_STATUSPCMK_XE_STATUS
XML_CIB_TAG_TAGPCMK_XE_TAG
XML_CIB_TAG_TAGSPCMK_XE_TAGS
XML_CIB_TAG_TICKETSPCMK_XE_TICKETS
XML_CIB_TAG_TICKET_STATE
XML_COLOC_ATTR_INFLUENCEPCMK_XA_INFLUENCE
XML_COLOC_ATTR_NODE_ATTRPCMK_XA_NODE_ATTRIBUTE
XML_COLOC_ATTR_SOURCEPCMK_XA_RSC
XML_COLOC_ATTR_SOURCE_INSTANCE
XML_COLOC_ATTR_SOURCE_ROLEPCMK_XA_RSC_ROLE
XML_COLOC_ATTR_TARGETPCMK_XA_WITH_RSC
XML_COLOC_ATTR_TARGET_INSTANCE
XML_COLOC_ATTR_TARGET_ROLEPCMK_XA_WITH_RSC_ROLE
XML_CONFIG_ATTR_DC_DEADTIMEPCMK_OPT_DC_DEADTIME
XML_CONFIG_ATTR_ELECTION_FAILPCMK_OPT_ELECTION_TIMEOUT
XML_CONFIG_ATTR_FENCE_REACTIONPCMK_OPT_FENCE_REACTION
XML_CONFIG_ATTR_FORCE_QUITPCMK_OPT_SHUTDOWN_ESCALATION
XML_CONFIG_ATTR_NODE_PENDING_TIMEOUTPCMK_OPT_NODE_PENDING_TIMEOUT
XML_CONFIG_ATTR_PRIORITY_FENCING_DELAYPCMK_OPT_PRIORITY_FENCING_DELAY
XML_CONFIG_ATTR_RECHECKPCMK_OPT_CLUSTER_RECHECK_INTERVAL
XML_CONFIG_ATTR_SHUTDOWN_LOCKPCMK_OPT_SHUTDOWN_LOCK
XML_CONFIG_ATTR_SHUTDOWN_LOCK_LIMITPCMK_OPT_SHUTDOWN_LOCK_LIMIT
XML_CONS_ATTR_SYMMETRICALPCMK_XA_SYMMETRICAL
XML_CONS_TAG_RSC_DEPENDPCMK_XE_RSC_COLOCATION
XML_CONS_TAG_RSC_LOCATIONPCMK_XE_RSC_LOCATION
XML_CONS_TAG_RSC_ORDERPCMK_XE_RSC_ORDER
XML_CONS_TAG_RSC_SETPCMK_XE_RESOURCE_SET
XML_CONS_TAG_RSC_TICKETPCMK_XE_RSC_TICKET
XML_CRM_TAG_PING
XML_DIFF_ATTRPCMK_XE_CHANGE_ATTR
XML_DIFF_CHANGEPCMK_XE_CHANGE
XML_DIFF_LISTPCMK_XE_CHANGE_LIST
XML_DIFF_MARKER
XML_DIFF_OPPCMK_XA_OPERATION
XML_DIFF_PATHPCMK_XA_PATH
XML_DIFF_POSITIONPCMK_XE_POSITION
XML_DIFF_RESULTPCMK_XE_CHANGE_RESULT
XML_DIFF_VERSIONPCMK_XE_VERSION
XML_DIFF_VSOURCEPCMK_XE_SOURCE
XML_DIFF_VTARGETPCMK_XE_TARGET
XML_EXPR_ATTR_ATTRIBUTEPCMK_XA_ATTRIBUTE
XML_EXPR_ATTR_OPERATIONPCMK_XA_OPERATION
XML_EXPR_ATTR_TYPEPCMK_XA_TYPE
XML_EXPR_ATTR_VALUEPCMK_XA_VALUE
XML_EXPR_ATTR_VALUE_SOURCEPCMK_XA_VALUE_SOURCE
XML_FAILCIB_ATTR_IDPCMK_XA_ID
XML_FAILCIB_ATTR_OBJTYPE
XML_FAILCIB_ATTR_OPPCMK_XA_OPERATION
XML_FAILCIB_ATTR_REASONPCMK_XA_REASON
XML_FAIL_TAG_CIB
XML_GRAPH_TAG_CRM_EVENT
XML_GRAPH_TAG_DOWNED
XML_GRAPH_TAG_MAINTENANCE
XML_GRAPH_TAG_PSEUDO_EVENT
XML_GRAPH_TAG_RSC_OP
XML_LOCATION_ATTR_DISCOVERYPCMK_XA_RESOURCE_DISCOVERY
XML_LOC_ATTR_SOURCEPCMK_XA_RSC
XML_LOC_ATTR_SOURCE_PATTERNPCMK_XA_RSC_PATTERN
XML_LRM_ATTR_CALLID
XML_LRM_ATTR_EXIT_REASONPCMK_XA_EXIT_REASON
XML_LRM_ATTR_INTERVALPCMK_META_INTERVAL
XML_LRM_ATTR_INTERVAL_MSPCMK_META_INTERVAL
XML_LRM_ATTR_MIGRATE_SOURCE
XML_LRM_ATTR_MIGRATE_TARGET
XML_LRM_ATTR_OP_DIGEST
XML_LRM_ATTR_OP_RESTART
XML_LRM_ATTR_OP_SECURE
XML_LRM_ATTR_OPSTATUS
XML_LRM_ATTR_RC
XML_LRM_ATTR_RESTART_DIGEST
XML_LRM_ATTR_ROUTER_NODE
XML_LRM_ATTR_RSCID
XML_LRM_ATTR_SECURE_DIGEST
XML_LRM_ATTR_TARGET
XML_LRM_ATTR_TARGET_UUID
XML_LRM_ATTR_TASKPCMK_XA_OPERATION
XML_LRM_ATTR_TASK_KEY
XML_LRM_TAG_RESOURCE
XML_LRM_TAG_RESOURCES
XML_LRM_TAG_RSC_OP
XML_NODE_ATTR_RSC_DISCOVERY
XML_NODE_EXPECTED
XML_NODE_IN_CLUSTER
XML_NODE_IS_FENCED
XML_NODE_IS_MAINTENANCE
XML_NODE_IS_PEER
XML_NODE_IS_REMOTE
XML_NODE_JOIN_STATE
XML_NVPAIR_ATTR_NAMEPCMK_XA_NAME
XML_NVPAIR_ATTR_VALUEPCMK_XA_VALUE
XML_OP_ATTR_ALLOW_MIGRATEPCMK_META_ALLOW_MIGRATE
XML_OP_ATTR_DIGESTS_ALL
XML_OP_ATTR_DIGESTS_SECURE
XML_OP_ATTR_ON_FAILPCMK_META_ON_FAIL
XML_OP_ATTR_ORIGINPCMK_META_INTERVAL_ORIGIN
XML_OP_ATTR_PENDINGPCMK_META_RECORD_PENDING
XML_OP_ATTR_START_DELAYPCMK_META_START_DELAY
XML_ORDER_ATTR_FIRSTPCMK_XA_FIRST
XML_ORDER_ATTR_FIRST_ACTIONPCMK_XA_FIRST_ACTION
XML_ORDER_ATTR_FIRST_INSTANCE
XML_ORDER_ATTR_KINDPCMK_XA_KIND
XML_ORDER_ATTR_THENPCMK_XA_THEN
XML_ORDER_ATTR_THEN_ACTIONPCMK_XA_THEN_ACTION
XML_ORDER_ATTR_THEN_INSTANCE
XML_PARANOIA_CHECKS
XML_PING_ATTR_CRMDSTATE
XML_PING_ATTR_PACEMAKERDSTATE
XML_PING_ATTR_PACEMAKERDSTATE_INIT
XML_PING_ATTR_PACEMAKERDSTATE_REMOTE
XML_PING_ATTR_PACEMAKERDSTATE_RUNNING
XML_PING_ATTR_PACEMAKERDSTATE_SHUTDOWNCOMPLETE
XML_PING_ATTR_PACEMAKERDSTATE_SHUTTINGDOWN
XML_PING_ATTR_PACEMAKERDSTATE_STARTINGDAEMONS
XML_PING_ATTR_PACEMAKERDSTATE_WAITPING
XML_PING_ATTR_STATUSPCMK_XA_RESULT
XML_PING_ATTR_SYSFROM
XML_REMOTE_ATTR_RECONNECT_INTERVALPCMK_REMOTE_RA_RECONNECT_INTERVAL
XML_RSC_ATTR_CLEAR_INTERVAL
XML_RSC_ATTR_CLEAR_OP
XML_RSC_ATTR_CONTAINER
XML_RSC_ATTR_CRITICALPCMK_META_CRITICAL
XML_RSC_ATTR_FAIL_STICKINESSPCMK_META_MIGRATION_THRESHOLD
XML_RSC_ATTR_FAIL_TIMEOUTPCMK_META_FAILURE_TIMEOUT
XML_RSC_ATTR_INCARNATION
XML_RSC_ATTR_INCARNATION_MAXPCMK_META_CLONE_MAX
XML_RSC_ATTR_INCARNATION_MINPCMK_META_CLONE_MIN
XML_RSC_ATTR_INCARNATION_NODEMAXPCMK_META_CLONE_NODE_MAX
XML_RSC_ATTR_INTERLEAVEPCMK_META_INTERLEAVE
XML_RSC_ATTR_INTERNAL_RSC
XML_RSC_ATTR_MAINTENANCEPCMK_META_MAINTENANCE
XML_RSC_ATTR_MANAGEDPCMK_META_IS_MANAGED
XML_RSC_ATTR_MASTER_MAX
XML_RSC_ATTR_MASTER_NODEMAX
XML_RSC_ATTR_MULTIPLEPCMK_META_MULTIPLE_ACTIVE
XML_RSC_ATTR_NOTIFYPCMK_META_NOTIFY
XML_RSC_ATTR_ORDEREDPCMK_META_ORDERED
XML_RSC_ATTR_PROMOTABLEPCMK_META_PROMOTABLE
XML_RSC_ATTR_PROMOTED_MAXPCMK_META_PROMOTED_MAX
XML_RSC_ATTR_PROMOTED_NODEMAXPCMK_META_PROMOTED_NODE_MAX
XML_RSC_ATTR_PROVIDESPCMK_STONITH_PROVIDES
XML_RSC_ATTR_REMOTE_NODEPCMK_META_REMOTE_NODE
XML_RSC_ATTR_REMOTE_RA_ADDRPCMK_REMOTE_RA_ADDR
XML_RSC_ATTR_REMOTE_RA_PORTPCMK_REMOTE_RA_PORT
XML_RSC_ATTR_REMOTE_RA_SERVERPCMK_REMOTE_RA_SERVER
XML_RSC_ATTR_REQUIRESPCMK_META_REQUIRES
XML_RSC_ATTR_RESTART
XML_RSC_ATTR_STICKINESSPCMK_META_RESOURCE_STICKINESS
XML_RSC_ATTR_TARGETPCMK_META_CONTAINER_ATTRIBUTE_TARGET
XML_RSC_ATTR_TARGET_ROLEPCMK_META_TARGET_ROLE
XML_RSC_ATTR_UNIQUEPCMK_META_GLOBALLY_UNIQUE
XML_RSC_OP_LAST_CHANGEPCMK_XA_LAST_RC_CHANGE
XML_RSC_OP_LAST_RUN
XML_RSC_OP_T_EXECPCMK_XA_EXEC_TIME
XML_RSC_OP_T_QUEUEPCMK_XA_QUEUE_TIME
XML_RULE_ATTR_BOOLEAN_OPPCMK_XA_BOOLEAN_OP
XML_RULE_ATTR_ROLEPCMK_XE_ROLE
XML_RULE_ATTR_SCOREPCMK_XA_SCORE
XML_RULE_ATTR_SCORE_ATTRIBUTEPCMK_XA_SCORE_ATTRIBUTE
XML_TAG_ATTRS
XML_TAG_DIFFPCMK_XE_DIFF
XML_TAG_DIFF_ADDED
XML_TAG_DIFF_REMOVED
XML_TAG_EXPRESSIONPCMK_XE_EXPRESSION
XML_TAG_FAILED
XML_TAG_FENCING_LEVELPCMK_XE_FENCING_LEVEL
XML_TAG_FENCING_TOPOLOGYPCMK_XE_FENCING_TOPOLOGY
XML_TAG_FRAGMENT
XML_TAG_GRAPH
XML_TAG_META_SETSPCMK_XE_META_ATTRIBUTES
XML_TAG_OPTIONS
XML_TAG_OP_VER_ATTRS
XML_TAG_OP_VER_META
XML_TAG_PARAM
XML_TAG_PARAMSPCMK_XE_PARAMETERS
XML_TAG_RESOURCE_REFPCMK_XE_RESOURCE_REF
XML_TAG_RSC_VER_ATTRS
XML_TAG_RULEPCMK_XE_RULE
XML_TAG_UTILIZATIONPCMK_XE_UTILIZATION
XML_TICKET_ATTR_LOSS_POLICYPCMK_XA_LOSS_POLICY
XML_TICKET_ATTR_TICKETPCMK_XA_TICKET

Types, structs, and enums

DroppedSuggested replacement (if any)
PCMK_OCF_CANCELLED (in enum ocf_exitcode)
PCMK_OCF_DEGRADED_MASTER (in enum ocf_exitcode)PCMK_OCF_DEGRADED_PROMOTED
PCMK_OCF_EXEC_ERROR (in enum ocf_exitcode)
PCMK_OCF_FAILED_MASTER (in enum ocf_exitcode)PCMK_OCF_FAILED_PROMOTED
PCMK_OCF_NOT_SUPPORTED (in enum ocf_exitcode)
PCMK_OCF_OTHER_ERROR (in enum ocf_exitcode)
PCMK_OCF_PENDING (in enum ocf_exitcode)
PCMK_OCF_RUNNING_MASTER (in enum ocf_exitcode)PCMK_OCF_RUNNING_PROMOTED
PCMK_OCF_SIGNAL (in enum ocf_exitcode)
PCMK_OCF_TIMEOUT (in enum ocf_exitcode)
crm_ipc_server_error (in enum crm_ipc_flags)
crm_ipc_server_info (in enum crm_ipc_flags)
enum action_fail_response
enum action_tasks
enum node_type
enum pcmk_rsc_flags
enum pcmk_sched_flags
enum pe_action_flags
enum pe_discover_e
enum pe_ordering
enum pe_print_options
enum rsc_start_requirement
enum xml_log_options
pcmk_assignment_methods_t
pcmk_rsc_methods_t
pcmk_tag_t
pcmk_ticket_t
pe_find_any (in enum pe_find)pcmk_rsc_match_basename
pe_find_anon (in enum pe_find)pcmk_rsc_match_anon_basename
pe_find_clone (in enum pe_find)pcmk_rsc_match_clone_only
pe_find_current (in enum pe_find)pcmk_rsc_match_current_node
pe_find_inactive (in enum pe_find)
pe_find_renamed (in enum pe_find)pcmk_rsc_match_history
enum pe_link_state
resource_alloc_functions_t
resource_object_functions_t
struct pe_action_wrapper_s
struct pe_tag_s
struct pe_ticket_s
struct resource_alloc_functions_s
struct resource_object_functions_s

In addition, the implementation of certain structs has been made internal:

  • struct pe_action_s (pcmk_action_t) has been renamed to the internal name struct pcmk__action, which should not be used directly. Direct access to all members has been dropped.
  • struct pe_node_s (pcmk_node_t) has been renamed to the internal name struct pcmk__scored_node, which should not be used directly. Direct access to all members except for details has been dropped. Direct access to details is still deprecated.
  • struct pe_node_shared_s (used for the details member of pcmk_node_t) has been renamed to the internal name struct pcmk__node_details, which should not be used directly. Direct access to all members except for online, pending, unclean, shutdown, maintenance, and running_rsc has been dropped. Direct access to the remaining members is still deprecated.
  • struct pe_resource_s (pcmk_resource_t) has been renamed to the internal name struct pcmk__resource, which should not be used directly. Direct access to all members except for id and flags has been dropped. Direct access to the remaining members is still deprecated.
  • struct pe_working_set_s (pcmk_scheduler_t) has been renamed to the internal name struct pcmk__scheduler, which should not be used directly. Direct access to all members except for input, dc_node, flags, no_quorum_policy, and nodes has been dropped. Direct access to the remaining members is still deprecated.

Functions and macros

DroppedSuggested replacement (if any)
__likely(x)__builtin_expect(x, 1)
__unlikely(x)__builtin_expect(x, 0)
ID(x)crm_element_value(x, PCMK_XA_ID)
TYPE(x)x->name
add_message_xml()
add_node_copy()
add_node_nocopy()
apply_xml_diff()xml_apply_patchset()
bz2_strerror()
can_prune_leaf()
copy_in_properties()
create_hello_message()
create_reply()
create_reply_adv()
create_request()
create_request_adv()
create_xml_node()
crm_action_str()
crm_add_logfile()
crm_atoi()strtoll()
crm_build_path()
crm_destroy_xml()
crm_errno2exit(x)pcmk_rc2exitc(pcmk_legacy2rc(x))
crm_ftoa()
crm_get_interval()
crm_hash_table_size()g_hash_table_size()
crm_itoa()
crm_itoa_stack()snprintf()
crm_log_cli_init()
crm_map_element_name()
crm_next_same_xml()
crm_parse_int()strtoll()
crm_parse_interval_spec()pcmk_parse_interval_spec()
crm_parse_ll()strtoll()
crm_provider_required()pcmk_get_ra_caps()
crm_signal()crm_signal_handler()
crm_str()
crm_strcase_equal()
crm_strcase_hash()
crm_strcase_table_new()g_hash_table_new_full()
crm_str_eq()strcmp() or strcasecmp()
crm_str_hash()g_str_hash()
crm_strip_trailing_newline()
crm_str_table_dup()
crm_str_table_new()g_hash_table_new_full()
crm_ttoa()
crm_xml_add_boolean()crm_xml_add()
crm_xml_escape()
crm_xml_replace()crm_xml_add() or xml_remove_prop()
diff_xml_object()
do_crm_log_always()
dump_xml_formatted()
dump_xml_formatted_with_text()
dump_xml_unformatted()
expand_plus_plus()
filename2xml()
find_entity()
find_xml_children()
find_xml_node()
first_named_child()
fix_plus_plus_recursive()
g_str_hash_traditional()g_str_hash()
getDocPtr()
get_message_xml()
get_schema_name()
get_schema_version()
get_xpath_object_relative()
is_not_set()!pcmk_all_flags_set()
is_set_any()pcmk_any_flags_set()
log_data_element()
pcmk_action_text()
pcmk_create_html_node()
pcmk_create_xml_text_node()
pcmk_format_named_time()printf()-style function
pcmk_format_nvpair()printf()-style function
pcmk_hostname()uname()
pcmk_log_xml_impl()
pcmk_on_fail_text()
pcmk_numeric_strcasecmp()
pcmk_parse_action()
pcmk_scan_nvpair()sscanf()
purge_diff_markers()
replace_xml_child()
safe_str_eq()strcasecmp() == 0
safe_str_neq()strcasecmp() != 0
score2char()pcmk_readable_score()
score2char_stack()pcmk_readable_score()
stdin2xml()
string2xml()
subtract_xml_object()
update_validation()
update_xml_child()
validate_xml()
validate_xml_verbose()
write_xml_fd()
write_xml_file()
xml_get_path()
xml_has_children()
xml_latest_schema()
xml_log_changes()
xml_log_patchset()
xml_remove_prop()

Additionally, support for "version 1" patchsets has been dropped, so patchset-related functions such as xml_create_patchset() will no longer be able to create, apply, or display them.

Global variables

DroppedSuggested replacement (if any)
crm_config_error
crm_config_warning
resource_class_functions
was_processing_error
was_processing_warning

libcrmservice

Constants

DroppedSuggested replacement (if any)
LSB_ROOT_DIR"/etc/init.d"

Types, structs, and enums

DroppedSuggested replacement (if any)
enum op_statusenum pcmk_exec_status

Functions and macros

DroppedSuggested replacement (if any)
services_action_create()resources_action_create()
services_list()resources_list_agents()
services_lrm_status_str()pcmk_exec_status_str()
services_get_ocf_exitcode()services_result2ocf()

liblrmd

The following symbols were dropped from the library

Constants

DroppedSuggested replacement (if any)
ALT_REMOTE_KEY_LOCATION
F_LRMD_ALERT
F_LRMD_ALERT_ID
F_LRMD_ALERT_PATH
F_LRMD_CALLBACK_TOKEN
F_LRMD_CALLDATA
F_LRMD_CALLID
F_LRMD_CALLOPTS
F_LRMD_CLASS
F_LRMD_CLIENTID
F_LRMD_CLIENTNAME
F_LRMD_EXEC_RC
F_LRMD_IPC_CLIENT
F_LRMD_IPC_IPC_SERVER
F_LRMD_IPC_MSG
F_LRMD_IPC_MSG_FLAGS
F_LRMD_IPC_MSG_ID
F_LRMD_IPC_OP
F_LRMD_IPC_SESSION
F_LRMD_IPC_USER
F_LRMD_IS_IPC_PROVIDER
F_LRMD_OPERATION
F_LRMD_OP_STATUS
F_LRMD_ORIGIN
F_LRMD_PROTOCOL_VERSION
F_LRMD_PROVIDER
F_LRMD_RC
F_LRMD_REMOTE_MSG_ID
F_LRMD_REMOTE_MSG_TYPE
F_LRMD_RSC
F_LRMD_RSC_ACTION
F_LRMD_RSC_DELETED
F_LRMD_RSC_EXEC_TIME
F_LRMD_RSC_EXIT_REASON
F_LRMD_RSC_ID
F_LRMD_RSC_INTERVAL
F_LRMD_RSC_OUTPUT
F_LRMD_RSC_QUEUE_TIME
F_LRMD_RSC_RCCHANGE_TIME
F_LRMD_RSC_RUN_TIME
F_LRMD_RSC_START_DELAY
F_LRMD_RSC_USERDATA_STR
F_LRMD_TIMEOUT
F_LRMD_TYPE
F_LRMD_WATCHDOG
LRMD_MIN_PROTOCOL_VERSION
T_LRMD
T_LRMD_IPC_PROXY
T_LRMD_NOTIFY
T_LRMD_REPLY
T_LRMD_RSC_OP

Types, structs, and enums

The t_run and t_rcchange members of lrmd_event_data_t are now of type time_t instead of unsigned int. (This is the final change needed to make Pacemaker completely Y2038-ready.)


libpe_rules and libpe_status (common code)

The following symbols were dropped from the library

Constants

DroppedSuggested 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_Spcmk_role_text(pcmk_role_promoted)
RSC_ROLE_SLAVE_S
RSC_ROLE_STARTED_Spcmk_role_text(pcmk_role_started)
RSC_ROLE_STOPPED_Spcmk_role_text(pcmk_role_stopped)
RSC_ROLE_UNKNOWN_Spcmk_role_text(pcmk_role_unknown)
RSC_ROLE_UNPROMOTED_LEGACY_S
RSC_ROLE_UNPROMOTED_Spcmk_role_text(pcmk_role_unpromoted)

Types, structs, and enums

DroppedSuggested replacement (if any)
action_tpcmk_action_t
action_wrapper_t
enum node_type
enum pe_graph_flags
enum pe_check_parameters
no_quorum_policy_tenum pe_quorum_policy
pe_action_tpcmk_action_t
pe_action_wrapper_t
pe_node_tpcmk_node_t
pe_resource_tpcmk_resource_t
pe_tag_t
pe_ticket_t
tag_t
ticket_t

Additionally, direct access to all members of struct pe_node_shared_s (the details member of pcmk_node_t) has been dropped, except for online, pending, unclean, shutdown, maintenance, and running_rsc. Access to those remaining members is still deprecated.

Functions and macros

DroppedSuggested 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 and macros

DroppedSuggested 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_repcmk_evaluate_rule() on parent rule
pe_test_rule()pcmk_evaluate_rule()
pe_test_rule_fullpcmk_evaluate_rule()
pe_test_rule_re()pcmk_evaluate_rule()
test_expression()pcmk_evaluate_rule() on parent rule
test_rulesetpcmk_evaluate_rule() on each rule
unpack_instance_attributes()pe_unpack_nvpairs()

libpe_status

The following symbols were dropped from the library

Functions and macros

DroppedSuggested replacement (if any)
pe_rsc_is_anon_clone()
pe_rsc_is_bundled()
pe_rsc_is_clone()
pe_rsc_is_unique_clone()

libstonithd

The following symbols were dropped from the library

Types, structs, and enums

DroppedSuggested replacement (if any)
stonith_event_t type and message members
stonith_t call member

Functions and macros

DroppedSuggested replacement (if any)
get_stonith_provider()stonith_get_namespace()
Last Author
kgaillot
Last Edited
Mon, Sep 23, 11:34 AM

Event Timeline