Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
292 commits
Select commit Hold shift + click to select a range
5f204d2
Refactor: based: Drop unused based_diff_notify() argument
nrwahl2 Dec 31, 2025
44c63b6
Refactor: libcib: Get attributes from result CIB instead of existing CIB
nrwahl2 Dec 31, 2025
08d212c
Refactor: libcib: Log correct error message in replace_cib()
nrwahl2 Dec 31, 2025
777048b
Refactor: libcib: Free *result_cib only on success in replace_cib()
nrwahl2 Dec 31, 2025
9550dbd
Refactor: libcib: Free *result_cib unconditionally in cib__process_er…
nrwahl2 Dec 31, 2025
be185b9
Refactor: libcib: Drop result_cib from cib__perform_query()
nrwahl2 Jan 16, 2026
9284ca7
Refactor: based: Get versions from *result_cib in based_process_ping()
nrwahl2 Jan 16, 2026
3fa7fc9
Refactor: based: Copy based on *result_cib in based_process_upgrade()
nrwahl2 Dec 31, 2025
b06f3d2
Refactor: libcib: cib_process_erase() doesn't free its cib argument
nrwahl2 Jan 2, 2026
77b7e1f
Test: cts-cli: Use word boundaries for CIB version attributes
nrwahl2 Jan 2, 2026
49a4eda
Feature: libcib, tools: Empty CIB contains admin_epoch before epoch
nrwahl2 Jan 2, 2026
51ee80d
Refactor: libcrmcommon: New pcmk__xml_replace_with_copy()
nrwahl2 Jan 2, 2026
eb44316
Refactor: libcib: Replace CIB with a copy of input in same doc
nrwahl2 Jan 2, 2026
23e3f33
Refactor: libcib: Merge existing_cib and result_cib args of cib__op_fn_t
nrwahl2 Dec 31, 2025
6536559
Refactor: libcib: Return standard code from cib_file.c:process_request()
nrwahl2 Dec 31, 2025
385368a
Refactor: libcib: Return standard code from cib__extend_transaction()
nrwahl2 Dec 31, 2025
bbb331f
Refactor: libcib: Return standard code from cib__create_op()
nrwahl2 Dec 31, 2025
84dafd3
Refactor: libcib: Assert *current_cib != scratch when make_copy true
nrwahl2 Dec 31, 2025
1846129
Refactor: libcib: Rename scratch to working_cib in cib_perform_op()
nrwahl2 Dec 31, 2025
9070506
Refactor: libcib: New set_update_origin() for cib_perform_op()
nrwahl2 Dec 31, 2025
0868744
Log: libcib: Drop unhelpful trace message
nrwahl2 Dec 31, 2025
efa38e8
Low: libcrmcommon: Handle NULL and PCMK_XA_FORMAT and PCMK_XA_DIGEST
nrwahl2 Dec 31, 2025
45a72f8
Test: cts-cli: Update outputs for "(no digest)"
nrwahl2 Dec 31, 2025
ca75731
Refactor: libcib: Add digest in cib_perform_op if and only if tracing
nrwahl2 Dec 31, 2025
6ea4584
Refactor: libcib: Drop test apply-patchset when tracing cib_perform_op()
nrwahl2 Dec 31, 2025
f24b20c
Refactor: libcib: Drop make_copy variable
nrwahl2 Dec 31, 2025
f001ba2
Refactor: libcib: Functionize checking versions in cib_perform_op()
nrwahl2 Dec 31, 2025
8552ad5
Refactor: libcib: Simplify some return-code handling in cib_perform_op()
nrwahl2 Dec 31, 2025
9e505d9
Refactor: libcib: Drop redundant NULL check in cib_perform_op()
nrwahl2 Dec 31, 2025
03e0c6f
Refactor: libcib: cib_perform_op() takes enum cib_variant arg
nrwahl2 Dec 31, 2025
7cd24c5
Refactor: libcib: Functionize checking new feature set in cib_perform_op
nrwahl2 Dec 31, 2025
24e051c
API: libcrmcommon: xml_create_patchset() source argument is now const
nrwahl2 Dec 31, 2025
b1b4b23
Refactor: libcib: Clarify patchset_cib variable
nrwahl2 Dec 31, 2025
e14cba5
Refactor: libcib: Assert on NULL diff in cib_perform_op()
nrwahl2 Jan 1, 2026
c3462b6
Refactor: libcrmcommon: Drop redundant check in xml_create_patchset_v2()
nrwahl2 Jan 1, 2026
ba78db2
Refactor: libcib: goto done if *diff is NULL in cib_perform_op()
nrwahl2 Jan 1, 2026
081f435
Log: libcib: Drop logging XML changes and raw patchset in cib_perform_op
nrwahl2 Jan 1, 2026
e1b48d4
Refactor: libcib: Move pcmk__xml_commit_changes() call
nrwahl2 Jan 1, 2026
6ce9007
Refactor: based: Drop dead code for PCMK__XA_CIB_UPDATE
nrwahl2 Jan 2, 2026
a6e9c23
Refactor: based: Drop based_process_apply_patch, send_sync_request, etc.
nrwahl2 Jan 2, 2026
780fb1f
Refactor: based: Drop based_process_replace()
nrwahl2 Jan 2, 2026
d8fcefe
Refactor: libcib, based: Drop cib__op_sync_to_one and related things
nrwahl2 Jan 2, 2026
649e820
Refactor: libcib: Rename *_sync_to_all to *_sync
nrwahl2 Jan 2, 2026
0798ef0
Fix: libcib: Don't convert -pcmk_err_diff_resync to pcmk_ok
nrwahl2 Jan 2, 2026
213792e
Feature: libcrmcommon: xml_apply_patchset doesn't return diff_resync err
nrwahl2 Jan 2, 2026
2df5316
Log: controller: Don't treat patchset-apply errors as OK
nrwahl2 Jan 2, 2026
6198b2c
Refactor: based: Drop pcmk_rc_diff_resync from switch
nrwahl2 Jan 2, 2026
66d6d22
Log: based: Don't log specially for PCMK__XA_CIB_UPDATE
nrwahl2 Jan 2, 2026
dccc866
Low: fencer: Refresh CIB in case of old diff
nrwahl2 Jan 2, 2026
996a4af
API: libcrmcommon: Deprecate pcmk_rc_diff_resync, pcmk_err_diff_resync
nrwahl2 Jan 2, 2026
e81401d
Log: based: Don't send entire CIB in ping reply for digest mismatch
nrwahl2 Jan 2, 2026
b52d3fd
Doc: libcib: Address a comment about possible legacy code
nrwahl2 Jan 2, 2026
49af696
Refactor: libcib: Drop cib_perform_op() manage_counters argument
nrwahl2 Jan 2, 2026
1ac0031
Refactor: libcib: Drop op arg from cib__perform_query()/cib_perform_op()
nrwahl2 Jan 2, 2026
3174979
Refactor: libcib: Drop call_options arg from cib_perform_op()...
nrwahl2 Jan 2, 2026
46919ae
Refactor: based: Don't pass type to prepare_input()
nrwahl2 Jan 2, 2026
0cb73dc
Refactor: libcib: Drop input arg from cib__perform_query/cib_perform_op
nrwahl2 Jan 2, 2026
46c545b
Low: libcib: Move CIB op input transformation to ops that need it
nrwahl2 Jan 2, 2026
33d337f
Refactor: libcib: Drop section arg of cib__perform_query/cib_perform_op
nrwahl2 Jan 2, 2026
9551182
Refactor: libcib: Move process_replace_xpath() downward
nrwahl2 Jan 2, 2026
516085e
Fix: libcib: Full-CIB replace op no longer segfaults with cib_xpath
nrwahl2 Jan 2, 2026
6f96fe5
Refactor: libcrmcommon: apply_transformation takes xmlDoc * argument
nrwahl2 Jan 2, 2026
8132a70
Refactor: libcrmcommon: apply_upgrade() takes xmlDoc * argument
nrwahl2 Jan 2, 2026
46df043
Refactor: libcrmcommon: validate_with() takes xmlDoc * argument
nrwahl2 Jan 2, 2026
2b95d21
Refactor: libcrmcommon: validate_with_silent() takes xmlDoc * argument
nrwahl2 Jan 2, 2026
d0c7cec
Refactor: libcrmcommon: Drop pcmk__validate_xml() validation argument
nrwahl2 Jan 2, 2026
98a6800
Refactor: libcib: cib__process_upgrade() keeps same doc
nrwahl2 Jan 2, 2026
fd7bf9a
Doc: libcib: Require that cib__op_fn_t does not alter doc private data
nrwahl2 Jan 2, 2026
7e2cdb1
Refactor: libcib: cib_perform_op no longer checks tracking flag post-fn
nrwahl2 Jan 2, 2026
e67f29f
Refactor: libcib: Deduplicate tracing in cib_perform_op()
nrwahl2 Jan 2, 2026
c74ae3f
Refactor: libcib: cib_perform_op() takes only one CIB argument
nrwahl2 Jan 2, 2026
00e8af2
Refactor: libcib: Drop working_cib variable from cib_perform_op()
nrwahl2 Jan 3, 2026
92d9603
Refactor: libcib: Deduplicate enable-ACL and fn call in cib_perform_op()
nrwahl2 Jan 3, 2026
47c858e
Refactor: libcib: Drop op arg from cib__op_fn_t
nrwahl2 Jan 3, 2026
cc95b82
Refactor: libcib: Drop options arg from cib__op_fn_t
nrwahl2 Jan 3, 2026
442c030
Refactor: libcib: Drop section arg from cib__op_fn_t
nrwahl2 Jan 3, 2026
e09787b
Refactor: libcib: New cib__get_calldata()
nrwahl2 Jan 3, 2026
ce9e890
Refactor: libcib: New cib__set_calldata()
nrwahl2 Jan 3, 2026
3759fdb
Refactor: libcib: Call xml_apply_patchset() in cib_apply_patch_event()
nrwahl2 Jan 3, 2026
d4cda40
Refactor: libcib: Drop input arg from cib__op_fn_t
nrwahl2 Jan 3, 2026
78d1dad
Refactor: libcib: Drop input argument from cib_perform_op helpers
nrwahl2 Jan 3, 2026
aa46989
Refactor: libcib: Reduce number of arguments in cib_ops.c
nrwahl2 Jan 3, 2026
f50a576
Log: based: Drop redundant log from cib_process_command()
nrwahl2 Jan 3, 2026
f6c2fcd
Refactor: based: Drop redundant cib_process_command() config_changed set
nrwahl2 Jan 3, 2026
de779d2
Refactor: based: Unindent block of cib_process_command()
nrwahl2 Jan 3, 2026
a6ad324
Refactor: based: Unindent some of process_ping_reply()
nrwahl2 Jan 3, 2026
aa0cf01
Refactor: based: Unindent rest of process_ping_reply()
nrwahl2 Jan 3, 2026
0415618
Refactor: based: Convert ping_seq to long long
nrwahl2 Jan 3, 2026
59492cf
Low: based: Ignore ping reply if we're no longer DC
nrwahl2 Jan 3, 2026
90e4710
Refactor: based: Unindent outermost else block in based_process_upgrade
nrwahl2 Jan 4, 2026
824b99d
Refactor: based: Unindent pcmk_rc_ok section of based_process_upgrade()
nrwahl2 Jan 4, 2026
124d955
Refactor: based: Don't set answer to NULL in cib__op_fn_t functions
nrwahl2 Jan 4, 2026
7174559
Refactor: libcib: Rename cib__perform_query() to cib__perform_op_ro()
nrwahl2 Jan 4, 2026
dcae900
Refactor: libcib: Rename cib_perform_op() to cib__perform_op_rw()
nrwahl2 Jan 4, 2026
cddf151
Refactor: based: Don't free remote_versions in process_ping_reply()
nrwahl2 Jan 4, 2026
aeb7afb
Refactor: based: Assume the_cib is not NULL
nrwahl2 Jan 4, 2026
5e5b15c
Doc: based, libcib: Clarify cib__op_attr_modifies
nrwahl2 Jan 4, 2026
17062ce
Refactor: based: Set ping_modified_since to true only if the CIB changed
nrwahl2 Jan 12, 2026
f416a72
Doc: based: Add Doxygen for process_ping_reply()
nrwahl2 Jan 4, 2026
78ba699
Refactor: based: sync_our_cib() takes const argument
nrwahl2 Jan 4, 2026
bcdc714
Low: based: Free ping_digest on exit
nrwahl2 Jan 4, 2026
9a12136
Refactor: based: Minor reorganization of cib_process_command()
nrwahl2 Jan 4, 2026
3a8ab28
Feature: libcrmcommon: Assert on memory error in mainloop_add_fd()
nrwahl2 Jan 6, 2026
3eaa72b
Refactor: libcrmcommon: Unindent mainloop_add_fd()
nrwahl2 Jan 6, 2026
439feac
Low: based: Free remote client if TLS session creation fails
nrwahl2 Jan 6, 2026
a022735
Refactor: based: Drop qb_ipcs_stats_get() call
nrwahl2 Jan 6, 2026
ff8bdd1
Doc: libcrmcommon: Add detail to mainloop_del_fd() Doxygen
nrwahl2 Jan 8, 2026
befeb54
Low: based: Drop remote clients during shutdown
nrwahl2 Jan 6, 2026
e64c98c
Refactor: based: Use pcmk__drop_all_clients() in based_shutdown()
nrwahl2 Jan 4, 2026
0f5f10c
Refactor: based: Call based_shutdown() only once
nrwahl2 Jan 6, 2026
143b0ff
Refactor: based: Inline initiate_exit()
nrwahl2 Jan 6, 2026
d72d290
Refactor: based: create_cib_reply/based_diff_notify take standard rc
nrwahl2 Jan 4, 2026
4df4046
Refactor: based: based_diff_notify() takes request argument
nrwahl2 Jan 4, 2026
ad83e7e
Refactor: based: create_cib_reply() takes request argument
nrwahl2 Jan 4, 2026
45f9092
Doc: based: Drop irrelevant comment about legacy mode
nrwahl2 Jan 4, 2026
f41de95
Refactor: based: Unindent do_local_notify() call
nrwahl2 Jan 4, 2026
94e18ce
Refactor: based: Guard create_cib_reply() call with !cib_discard_reply
nrwahl2 Jan 4, 2026
f8a77f0
Refactor: based: Move privilege check to based_process_request()
nrwahl2 Jan 4, 2026
55e860e
Refactor: based: Drop NULL-check of reply from cib_process_command()
nrwahl2 Jan 4, 2026
db7e7d1
Refactor: based: Drop based_process_request last cib_discard_reply check
nrwahl2 Jan 4, 2026
2e8c47a
Refactor: libcib: Use done label in cib__perform_op_ro()
nrwahl2 Jan 4, 2026
f91614f
Low: libcib: Avoid memory leak in processing CIB file commit transaction
nrwahl2 Jan 4, 2026
57d6e37
Refactor: libcib: Avoid unnecessary copy in process_request()
nrwahl2 Jan 5, 2026
9dc881d
Refactor: libcib: Don't copy output that's part of the current CIB's doc
nrwahl2 Jan 5, 2026
73bafb0
Refactor: libcib: Minor cib__perform_op_ro() cleanup
nrwahl2 Jan 5, 2026
669866d
Refactor: based: based_process_request gets last create_cib_reply check
nrwahl2 Jan 5, 2026
c451149
Refactor: based: Pull read-only ops out of cib_process_command()
nrwahl2 Jan 5, 2026
d71ce39
Low: based: Free digest_timer on exit
nrwahl2 Jan 5, 2026
fdde58a
Refactor: based: Move notify to done section in based_perform_op_rw()
nrwahl2 Jan 5, 2026
d4e7484
Refactor: based: Unindent successful common case in based_perform_op_rw
nrwahl2 Jan 5, 2026
b40597f
Refactor: based: Drop dead output log msg for pcmk_rc_schema_validation
nrwahl2 Jan 5, 2026
91d4a07
Fix: based: Fix handling of intermediate transaction results
nrwahl2 Jan 5, 2026
eb850d3
Log: based: Drop redundant log in based_process_request()
nrwahl2 Jan 5, 2026
a049f24
Refactor: based: Unindent "if (process)" block of based_process_request
nrwahl2 Jan 5, 2026
2e5f3be
Refactor: based: Don't call option parser when cib_transaction is set
nrwahl2 Jan 5, 2026
b6f6e72
Refactor: based: Drop needs_forward variable
nrwahl2 Jan 5, 2026
7776bbf
Log: based: Drop log message from forward_request()
nrwahl2 Jan 12, 2026
c7729e6
Doc: based: Drop comment in parse_peer_options()
nrwahl2 Jan 12, 2026
1d0b568
API: libcib: Deprecate cib_api_operations_t:sync
nrwahl2 Jan 5, 2026
a8dac12
Refactor: based: Minor easy changes to parse_peer_options()
nrwahl2 Jan 5, 2026
6445a7c
Refactor: based: Move two parse_peer_options() early returns upward
nrwahl2 Jan 5, 2026
551ce5d
Refactor: based: Drop legacy code from parse_peer_options()
nrwahl2 Jan 5, 2026
cb6cd7d
Refactor: based: Move is_reply block to where it's used
nrwahl2 Jan 5, 2026
704d106
Refactor: based: Drop redundant check for upgrade RC
nrwahl2 Jan 5, 2026
3ee3f89
Refactor: based: Move early return to beginning of upgrade block
nrwahl2 Jan 5, 2026
da417fd
Refactor: based: Drop skip_is_reply label
nrwahl2 Jan 5, 2026
577c690
Refactor: based: parse_local_options() -> log_local_options()
nrwahl2 Jan 5, 2026
42e3595
Refactor: based: Set control variables only if they override defaults
nrwahl2 Jan 5, 2026
1616380
Refactor: based: Rename crm_cluster to based_cluster
nrwahl2 Jan 6, 2026
b6735f8
Refactor: based: Don't create based_cluster if in stand-alone mode
nrwahl2 Jan 6, 2026
2661d41
Refactor: based: New based_ipc_init() and based_ipc.h
nrwahl2 Jan 6, 2026
7a63d57
Refactor: based: Unindent cib_init()
nrwahl2 Jan 7, 2026
8298b04
Refactor: based: New based_ipc_cleanup()
nrwahl2 Jan 6, 2026
97c2dfc
Low: based: Move based_ipc_cleanup() call to based_terminate()
nrwahl2 Jan 6, 2026
c0a1f5a
Refactor: based: Functionize remote fd closure in based_remote.c
nrwahl2 Jan 6, 2026
47e29c2
Refactor: based: New based_cluster_connect()
nrwahl2 Jan 7, 2026
b754129
Refactor: based: Pull cib_init() body into main()
nrwahl2 Jan 7, 2026
0a5ea07
Refactor: based: Move based_io_init() call just before based_read_cib()
nrwahl2 Jan 7, 2026
0d2b439
Refactor: based: Set based_is_primary in setup_stand_alone()
nrwahl2 Jan 7, 2026
48e9f48
Refactor: based: New based_corosync.c for cluster-related functions
nrwahl2 Jan 7, 2026
004392d
Refactor: libcrmcluster: Don't init caches in pcmk__corosync_connect()
nrwahl2 Jan 7, 2026
1e94c79
Refactor: libcrmcluster: Clean up includes in corosync.c
nrwahl2 Jan 7, 2026
5c17309
Refactor: libcrmcluster: Destroy caches unconditionally on disconnect
nrwahl2 Jan 7, 2026
f6ba49c
Refactor: based: New based_cluster_disconnect()
nrwahl2 Jan 7, 2026
3b58f18
Refactor: attrd, fencer: Set cluster pointer to NULL after freeing
nrwahl2 Jan 7, 2026
b5feb0e
Refactor: controller: Use g_clear_pointer() in controld_control.c
nrwahl2 Jan 7, 2026
9334035
Fix: libcrmcluster: NULL to pcmk_cluster_disconnect() returns EINVAL
nrwahl2 Jan 7, 2026
1104ddd
Refactor: based: Rename corosync callback functions
nrwahl2 Jan 7, 2026
ded099c
Refactor: based: Don't send shutdown request
nrwahl2 Jan 10, 2026
261d6a7
Refactor: based: Move based_shutdown() to pacemaker-based.c
nrwahl2 Jan 7, 2026
acb0fa1
Refactor: based: New based_cluster_node_name()
nrwahl2 Jan 7, 2026
a5431a9
Refactor: based: Make based_cluster static
nrwahl2 Jan 7, 2026
a68909f
Refactor: based: New based_shutting_down()
nrwahl2 Jan 7, 2026
d7e8da1
Refactor: based: New based_stand_alone()
nrwahl2 Jan 7, 2026
5694e7a
Refactor: based: New based_{get,set}_local_node_dc()
nrwahl2 Jan 7, 2026
6a2b36a
Refactor: based: Rename the_cib to based_cib
nrwahl2 Jan 7, 2026
8fe10f1
Feature: libcrmcommon: Drop support for PCMK_ipc_type env variable
nrwahl2 Jan 7, 2026
2d63e3c
Refactor: libcrmcommon: Use QB_IPC_SHM in pcmk__serve_DAEMON_ipc()
nrwahl2 Jan 8, 2026
2863b87
Feature: libcrmcommon: mainloop_add_ipc_server{,_with_prio} ignore type
nrwahl2 Jan 8, 2026
1a9e506
API: libcib: Deprecate cib_command_nonblocking
nrwahl2 Jan 11, 2026
6727733
Refactor: various: Drop PCMK__SERVER_BASED_SHM
nrwahl2 Jan 11, 2026
c09086c
Refactor: libcrmcommon: Drop pcmk__stop_based_ipc()
nrwahl2 Jan 11, 2026
e43b8b8
Refactor: libcrmcommon: Assert for arguments in pcmk__serve_DAEMON_ipc()
nrwahl2 Jan 11, 2026
a7dffa9
Refactor: based: New based_{callbacks,io}_cleanup()
nrwahl2 Jan 8, 2026
c854f30
Refactor: based: Move based_terminate() to pacemaker-based.c
nrwahl2 Jan 8, 2026
42cb8ec
Refactor: based: New based_cleanup()
nrwahl2 Jan 8, 2026
d93e655
Refactor: based: Assume main loop is running in based_terminate()
nrwahl2 Jan 8, 2026
05cdb2d
Doc: based: Add notes to based_terminate()
nrwahl2 Jan 8, 2026
298b197
Refactor: based: Set shutting_down to true in based_terminate()
nrwahl2 Jan 8, 2026
1252480
Low: based: Fix memory leak in remote listeners
nrwahl2 Jan 9, 2026
06bf8fb
Refactor: libcrmcommon: Expose struct mainloop_io_s internally
nrwahl2 Jan 9, 2026
880d433
Low: based: Destroy remote listeners in based_remote_cleanup()
nrwahl2 Jan 9, 2026
6edaabd
Refactor: libcrmcommon: Free mainloop child list at exit
nrwahl2 Jan 10, 2026
0e28757
Refactor: libcrmcommon: Drop callback_needed variable
nrwahl2 Jan 10, 2026
e9f52b1
Refactor: libcrmcommon: child_kill_helper() returns standard code
nrwahl2 Jan 10, 2026
3c5405a
Refactor: libcrmcommon: Track mainloop children in a hash table
nrwahl2 Jan 10, 2026
ac46978
Refactor: based: Add missing include to pacemaker-based.c
nrwahl2 Jan 11, 2026
788e941
Refactor: based: Clean up shutdown logic
nrwahl2 Jan 11, 2026
3b1e6e8
Refactor: based: based_cib should always be non-NULL after init now
nrwahl2 Jan 14, 2026
a65b0c8
Refactor: various: Unref main loop consistently
nrwahl2 Jan 11, 2026
063eb6c
Refactor: attrd: Drop mainloop_destroy_signal() from attrd_shutdown()
nrwahl2 Jan 11, 2026
c698789
Refactor: attrd: Assume main loop is running in attrd_shutdown()
nrwahl2 Jan 11, 2026
f8258ed
Refactor: based: Don't init node caches explicitly
nrwahl2 Jan 11, 2026
dbcb1d5
Refactor: based: Drop based_peer_callback()
nrwahl2 Jan 11, 2026
d06d2c2
API: libcib: Deprecate cib_query and cib_connected_query
nrwahl2 Jan 11, 2026
88dd1e5
Refactor: remoted: Drop cib_proxy_accept_ro()
nrwahl2 Jan 11, 2026
9543cfe
Refactor: based: Check for old PCMK__SERVER_BASED_RW instance
nrwahl2 Jan 11, 2026
514a314
Refactor: based: Make PCMK__SERVER_BASED_RO behave like _RW
nrwahl2 Jan 11, 2026
42cd190
Refactor: based: Drop privileged argument of based_process_request()
nrwahl2 Jan 11, 2026
80342b1
Refactor: libcib: Drop cib__op_attr_privileged
nrwahl2 Jan 11, 2026
470d24c
Refactor: liblrmd: Map proxied PCMK__SERVER_BASED_RO clients to _RW
nrwahl2 Jan 11, 2026
bd7956f
Refactor: libcrmcommon: pcmk__serve_based_ipc() starts only one server
nrwahl2 Jan 12, 2026
848b35c
Refactor: based: Standardize based_cpg_dispatch()
nrwahl2 Jan 12, 2026
ae712ec
Refactor: based: Standardize based_ipc_dispatch()
nrwahl2 Jan 12, 2026
0fc86e6
Refactor: remoted: Minor improvements to remoted__read_handshake_data()
nrwahl2 Jan 12, 2026
ff21b1f
Refactor: based: New based_read_handshake_data()
nrwahl2 Jan 12, 2026
f39bb16
Refactor: based: pcmk__remote_ready() in cib_remote_msg()
nrwahl2 Jan 12, 2026
2082baa
Refactor: based: Some cleanup/standardization of cib_remote_msg()
nrwahl2 Jan 12, 2026
b27e243
Refactor: libcrmcommon: Reorganize pcmk__is_user_in_group() unit test
nrwahl2 Jan 12, 2026
770be0b
Refactor: libcrmcommon: Use getgrnam() in pcmk__is_user_in_group()
nrwahl2 Jan 12, 2026
7974130
Refactor: based: New based_remote_client_auth()
nrwahl2 Jan 12, 2026
580491d
Refactor: based: Functionize validating/parsing remote auth message
nrwahl2 Jan 12, 2026
1fdec42
Doc: based: Document confusion about "dangerous" options
nrwahl2 Jan 12, 2026
45d3b03
Refactor: based: Reorganize cib_handle_remote_msg()
nrwahl2 Jan 12, 2026
8dfa446
Refactor: based: Use pcmk__request_t in process_transaction_requests()
nrwahl2 Jan 12, 2026
4b7b917
Refactor: based: based_process_request() takes pcmk__request_t argument
nrwahl2 Jan 12, 2026
cf53de7
Refactor: based: Drop redundant client == NULL check
nrwahl2 Jan 12, 2026
0bbbe86
Refactor: based: forward_request() takes pcmk__request_t
nrwahl2 Jan 12, 2026
1eec325
Refactor: based: parse_peer_options() takes pcmk__request_t
nrwahl2 Jan 12, 2026
3c0a574
Refactor: based: based_perform_op_rw() takes pcmk__request_t
nrwahl2 Jan 12, 2026
4c46c94
Doc: based: Drop TODO comment
nrwahl2 Jan 13, 2026
11c4bcd
Refactor: based: Free output in the done section
nrwahl2 Jan 13, 2026
3b8cb49
Low: based: Don't forward requests via cluster if in stand-alone mode
nrwahl2 Jan 13, 2026
f2d1803
Refactor: libcib: Drop unneeded modifies flag for primary request
nrwahl2 Jan 13, 2026
a8ab74a
Feature: based: Drop support for cib_ismaster requests
nrwahl2 Jan 13, 2026
9f176ef
Refactor: libcib, based: Drop cib__op_attr_local
nrwahl2 Jan 13, 2026
73d55e5
Feature: based: Drop support for cib_delete_alt requests
nrwahl2 Jan 13, 2026
08089db
Refactor: libcib: Drop cib__op_attr_replaces
nrwahl2 Jan 13, 2026
7c1ede2
Low: based: Replace/commit ops don't automatically write to disk
nrwahl2 Jan 13, 2026
a072298
Refactor: libcrmcommon: Drop pcmk__update_schema transform argument
nrwahl2 Jan 13, 2026
58bc59e
Refactor: libcib: Drop cib__op_attr_writes_through
nrwahl2 Jan 13, 2026
251bf5c
Refactor: libcib: Drop cib__op_attr_transaction
nrwahl2 Jan 13, 2026
55255f8
Refactor: libcib: Drop enum cib__op_attr
nrwahl2 Jan 13, 2026
1bde94b
Refactor: libcib: Clean up includes
nrwahl2 Jan 14, 2026
42ea460
Refactor: libcib: Drop redundant cib_discard_reply check in cib_remote.c
nrwahl2 Jan 13, 2026
050fa29
API: libcib: Deprecate cib_api_operations_t:query_from() method
nrwahl2 Jan 15, 2026
591450e
Refactor: based: Drop redundant based_stand_alone() check
nrwahl2 Jan 15, 2026
f4d7814
Refactor: based: Default needs_reply to false
nrwahl2 Jan 15, 2026
a26b67f
wip
nrwahl2 Jan 13, 2026
6659392
Refactor: based: Ignore cib_discard_reply
nrwahl2 Jan 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cts/cli/regression.access_render.exp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=#=#=#= Begin test: Configure some ACLs =#=#=#=
=#=#=#= Current cib after: Configure some ACLs =#=#=#=
<cib epoch="2" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="2" num_updates="0">
<configuration>
<crm_config/>
<nodes/>
Expand All @@ -23,7 +23,7 @@
* Passed: cibadmin - Configure some ACLs
=#=#=#= Begin test: Enable ACLs =#=#=#=
=#=#=#= Current cib after: Enable ACLs =#=#=#=
<cib epoch="3" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="3" num_updates="0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
Expand All @@ -50,7 +50,7 @@
* Passed: crm_attribute - Enable ACLs
=#=#=#= Begin test: An instance of ACLs render (into color) =#=#=#=
<!-- ACLs as evaluated for user tony -->
<cib epoch="3" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="3" num_updates="0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
Expand All @@ -77,7 +77,7 @@
* Passed: cibadmin - An instance of ACLs render (into color)
=#=#=#= Begin test: An instance of ACLs render (into namespacing) =#=#=#=
<!-- ACLs as evaluated for user tony -->
<pcmk-access-readable:cib epoch="3" num_updates="0" admin_epoch="0" xmlns:pcmk-access-writable="http://clusterlabs.org/ns/pacemaker/access/writable" xmlns:pcmk-access-readable="http://clusterlabs.org/ns/pacemaker/access/readable" xmlns:pcmk-access-denied="http://clusterlabs.org/ns/pacemaker/access/denied">
<pcmk-access-readable:cib admin_epoch="0" epoch="3" num_updates="0" xmlns:pcmk-access-writable="http://clusterlabs.org/ns/pacemaker/access/writable" xmlns:pcmk-access-readable="http://clusterlabs.org/ns/pacemaker/access/readable" xmlns:pcmk-access-denied="http://clusterlabs.org/ns/pacemaker/access/denied">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
Expand Down Expand Up @@ -105,7 +105,7 @@
=#=#=#= Begin test: An instance of ACLs render (into text) =#=#=#=
<!-- ACLs as evaluated for user tony -->
vvv---[ READABLE ]---vvv
<cib epoch="3" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="3" num_updates="0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
Expand Down
74 changes: 37 additions & 37 deletions cts/cli/regression.acls.exp

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions cts/cli/regression.cibadmin.exp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
=#=#=#= Begin test: Validate CIB =#=#=#=
<cib epoch="4" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="4" num_updates="0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
Expand All @@ -17,7 +17,7 @@
<status/>
</cib>
=#=#=#= Current cib after: Validate CIB =#=#=#=
<cib epoch="4" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="4" num_updates="0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
Expand All @@ -38,7 +38,7 @@
* Passed: cibadmin - Validate CIB
=#=#=#= Begin test: Validate CIB (XML) =#=#=#=
<pacemaker-result api-version="X" request="cibadmin --output-as=xml -Q">
<output><![CDATA[<cib epoch="4" num_updates="0" admin_epoch="0">
<output><![CDATA[<cib admin_epoch="0" epoch="4" num_updates="0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
Expand All @@ -59,7 +59,7 @@
<status code="0" message="OK"/>
</pacemaker-result>
=#=#=#= Current cib after: Validate CIB (XML) =#=#=#=
<cib epoch="4" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="4" num_updates="0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
Expand All @@ -79,20 +79,20 @@
=#=#=#= End test: Validate CIB (XML) - OK (0) =#=#=#=
* Passed: cibadmin - Validate CIB (XML)
=#=#=#= Begin test: Digest calculation =#=#=#=
9130d6f39c2b83bd032a00e76621508c
1f3492630cde57d6b7ee45de4d390469
=#=#=#= End test: Digest calculation - OK (0) =#=#=#=
* Passed: cibadmin - Digest calculation
=#=#=#= Begin test: Digest calculation (XML) =#=#=#=
<pacemaker-result api-version="X" request="cibadmin --output-as=xml -5 -p">
<md5-sum digest="9130d6f39c2b83bd032a00e76621508c"/>
<md5-sum digest="1f3492630cde57d6b7ee45de4d390469"/>
<status code="0" message="OK"/>
</pacemaker-result>
=#=#=#= End test: Digest calculation (XML) - OK (0) =#=#=#=
* Passed: cibadmin - Digest calculation (XML)
=#=#=#= Begin test: Require --force for CIB erasure =#=#=#=
cibadmin: The supplied command is considered dangerous. To prevent accidental destruction of the cluster, the --force flag is required in order to proceed.
=#=#=#= Current cib after: Require --force for CIB erasure =#=#=#=
<cib epoch="4" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="4" num_updates="0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
Expand Down Expand Up @@ -120,7 +120,7 @@ cibadmin: The supplied command is considered dangerous. To prevent accidental de
</status>
</pacemaker-result>
=#=#=#= Current cib after: Require --force for CIB erasure (XML) =#=#=#=
<cib epoch="4" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="4" num_updates="0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
Expand Down Expand Up @@ -149,7 +149,7 @@ cibadmin: The supplied command is considered dangerous. To prevent accidental de
=#=#=#= End test: Allow CIB erasure with --force (XML) - OK (0) =#=#=#=
* Passed: cibadmin - Allow CIB erasure with --force (XML)
=#=#=#= Begin test: Query CIB =#=#=#=
<cib epoch="1" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="1" num_updates="0">
<configuration>
<crm_config/>
<nodes/>
Expand All @@ -159,7 +159,7 @@ cibadmin: The supplied command is considered dangerous. To prevent accidental de
<status/>
</cib>
=#=#=#= Current cib after: Query CIB =#=#=#=
<cib epoch="1" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="1" num_updates="0">
<configuration>
<crm_config/>
<nodes/>
Expand All @@ -172,7 +172,7 @@ cibadmin: The supplied command is considered dangerous. To prevent accidental de
* Passed: cibadmin - Query CIB
=#=#=#= Begin test: Query CIB (XML) =#=#=#=
<pacemaker-result api-version="X" request="cibadmin --output-as=xml -Q">
<output><![CDATA[<cib epoch="1" num_updates="0" admin_epoch="0">
<output><![CDATA[<cib admin_epoch="0" epoch="1" num_updates="0">
<configuration>
<crm_config/>
<nodes/>
Expand All @@ -185,7 +185,7 @@ cibadmin: The supplied command is considered dangerous. To prevent accidental de
<status code="0" message="OK"/>
</pacemaker-result>
=#=#=#= Current cib after: Query CIB (XML) =#=#=#=
<cib epoch="1" num_updates="0" admin_epoch="0">
<cib admin_epoch="0" epoch="1" num_updates="0">
<configuration>
<crm_config/>
<nodes/>
Expand Down
Loading