Page MenuHomeClusterLabs Projects

clumens (Chris Lumens)
User

Projects

User Details

User Since
Jan 12 2022, 10:04 AM (166 w, 3 d)

Recent Activity

Wed, Mar 19

clumens added a project to T979: crmadmin error output is redundant: Restricted Project.
Wed, Mar 19, 9:39 AM · Restricted Project, Restricted Project
clumens triaged T979: crmadmin error output is redundant as Low priority.
Wed, Mar 19, 9:37 AM · Restricted Project, Restricted Project

Tue, Mar 18

clumens added a comment to T966: Avoid blocking wait in controller for CIB re-request.

@waltdisgrace Adding a mainloop timer here is definitely the way to go. If you haven't looked at the mainloop stuff before (especially glib's implementation and what we've built on top of it), this could be a little bit confusing. The basic idea is that we fake being multithreaded by looping over a queue of events that can come from various sources like file or network IO, UNIX signals, periodic or one-off timers, and so forth. Using the main loop allows us to avoid blocking other work from happening.

Tue, Mar 18, 3:33 PM · Restricted Project, Restricted Project, Restricted Project
clumens assigned T966: Avoid blocking wait in controller for CIB re-request to waltdisgrace.
Tue, Mar 18, 3:28 PM · Restricted Project, Restricted Project, Restricted Project
clumens added a comment to T845: Don't allow id-ref to parent rule within nested rule.

@waltdisgrace Start by adding a unit test to verify that the pacemaker library still just segfaults on that input. I think lib/common/tests/xml_idref/pcmk__xe_dereference_children_test.c would be as good a place as any for this, but @nrwahl2 might have a better suggestion. I can then help you make sense of the segfault and we can figure out where to throw an error.

Tue, Mar 18, 3:09 PM · Restricted Project, Pacemaker: Scheduler, Restricted Project
clumens assigned T845: Don't allow id-ref to parent rule within nested rule to waltdisgrace.
Tue, Mar 18, 3:07 PM · Restricted Project, Pacemaker: Scheduler, Restricted Project
clumens assigned T907: Map Corosync error codes to Pacemaker error codes to waltdisgrace.
Tue, Mar 18, 2:58 PM · Restricted Project, Restricted Project, Restricted Project
clumens added a comment to T890: Log errors in pcmk_parse_interval_spec() callers.

Additionally, it would be nice to have a unit test or two for this function. Most of what it does is call another function, several of which are already unit tested, but checking that the inputs/outputs are as expected would be good.

Tue, Mar 18, 2:57 PM · Restricted Project, Restricted Project
clumens assigned T890: Log errors in pcmk_parse_interval_spec() callers to waltdisgrace.
Tue, Mar 18, 2:55 PM · Restricted Project, Restricted Project

Thu, Mar 13

clumens committed rPdac88ca0fa3d: Refactor: libcrmservice: New services__copy_result() function (authored by nrwahl2).
Refactor: libcrmservice: New services__copy_result() function
Thu, Mar 13, 1:05 PM
clumens committed rP283225383916: Refactor: libcrmservice: Store systemd job path in svc_action_private_t (authored by nrwahl2).
Refactor: libcrmservice: Store systemd job path in svc_action_private_t
Thu, Mar 13, 1:05 PM
clumens committed rP373a7a317023: Fix: various: Correctly detect completion of systemd start/stop actions (authored by clumens).
Fix: various: Correctly detect completion of systemd start/stop actions
Thu, Mar 13, 1:05 PM
clumens committed rP67c1821648f3: Refactor: libcrmservice: Subscribe to systemd D-Bus signals (authored by clumens).
Refactor: libcrmservice: Subscribe to systemd D-Bus signals
Thu, Mar 13, 1:05 PM
clumens committed rP656ec99b060e: Refactor: daemons: Unindent the goagain block in action_complete. (authored by clumens).
Refactor: daemons: Unindent the goagain block in action_complete.
Thu, Mar 13, 10:10 AM
clumens committed rP031e8a5bac5d: Refactor: libcrmservice: systemd_init should return a bool. (authored by clumens).
Refactor: libcrmservice: systemd_init should return a bool.
Thu, Mar 13, 10:10 AM
clumens committed rPe182eb7d61fb: Low: libcrmservices: Don't leak msg if systemd_proxy is NULL. (authored by clumens).
Low: libcrmservices: Don't leak msg if systemd_proxy is NULL.
Thu, Mar 13, 10:10 AM
clumens committed rPfc0ef6cd7a35: Refactor: libcrmservices: Unref the dbus connection... (authored by clumens).
Refactor: libcrmservices: Unref the dbus connection...
Thu, Mar 13, 10:10 AM

Tue, Mar 11

clumens committed rP28f614c5e4e9: Refactor: libcrmservice: Improve error checks in systemd_service_name() (authored by nrwahl2).
Refactor: libcrmservice: Improve error checks in systemd_service_name()
Tue, Mar 11, 8:40 PM
clumens committed rP7cf68fd3a838: Refactor: libcrmservice: Fail systemd rsc start if create override fails (authored by nrwahl2).
Refactor: libcrmservice: Fail systemd rsc start if create override fails
Tue, Mar 11, 8:40 PM
clumens committed rP501bf0591493: Refactor: libcrmservice: Check for empty arg in invoke_unit_by_name() (authored by nrwahl2).
Refactor: libcrmservice: Check for empty arg in invoke_unit_by_name()
Tue, Mar 11, 8:40 PM
clumens committed rP23f38b324654: Refactor: libcrmservice: Avoid gboolean/gchar in systemd_unit_exists() (authored by nrwahl2).
Refactor: libcrmservice: Avoid gboolean/gchar in systemd_unit_exists()
Tue, Mar 11, 8:40 PM
clumens committed rPdbd823befed4: Refactor: libcrmservice: Defunctionize create_world_readable() (authored by nrwahl2).
Refactor: libcrmservice: Defunctionize create_world_readable()
Tue, Mar 11, 8:40 PM
clumens committed rP458df80960c6: Refactor: libcrmservice: Simplify systemd override path getters (authored by nrwahl2).
Refactor: libcrmservice: Simplify systemd override path getters
Tue, Mar 11, 8:40 PM
clumens committed rP13074ae9e325: Refactor: libcrmcommon: Drop check for unused flag from str_any_of() (authored by nrwahl2).
Refactor: libcrmcommon: Drop check for unused flag from str_any_of()
Tue, Mar 11, 8:40 PM
clumens committed rP89e737154902: Low: libcrmservice: Fix overrides for systemd resources (authored by nrwahl2).
Low: libcrmservice: Fix overrides for systemd resources
Tue, Mar 11, 8:40 PM
clumens committed rP03410d37ee8d: Refactor: tools: NULL-check args in cli_resource_print() (authored by nrwahl2).
Refactor: tools: NULL-check args in cli_resource_print()
Tue, Mar 11, 8:40 PM
clumens committed rP3b2e759224a3: Refactor: tools: NULL-check scheduler arg of cli_resource_move() (authored by nrwahl2).
Refactor: tools: NULL-check scheduler arg of cli_resource_move()
Tue, Mar 11, 8:40 PM
clumens committed rP43d0674f2391: Refactor: tools: NULL-check scheduler arg of cli_cleanup_all() (authored by nrwahl2).
Refactor: tools: NULL-check scheduler arg of cli_cleanup_all()
Tue, Mar 11, 8:40 PM
clumens committed rPdb372f971e58: Refactor: tools: NULL-check scheduler arg in cli_resource_fail() (authored by nrwahl2).
Refactor: tools: NULL-check scheduler arg in cli_resource_fail()
Tue, Mar 11, 8:40 PM
clumens committed rPa80c1b2df67c: Doc: libcrmservice: Suppress Coverity false positives (authored by nrwahl2).
Doc: libcrmservice: Suppress Coverity false positives
Tue, Mar 11, 8:40 PM
clumens committed rPbc4c4ae72e1f: Doc: tools: Suppress Coverity false positives in crm_resource.c (authored by nrwahl2).
Doc: tools: Suppress Coverity false positives in crm_resource.c
Tue, Mar 11, 8:40 PM

Wed, Mar 5

clumens committed rBfd679976bb8f: Refactor: Unindent various code blocks in transport.c. (authored by clumens).
Refactor: Unindent various code blocks in transport.c.
Wed, Mar 5, 5:23 PM
clumens committed rB05c261e6fcd5: Refactor: Remove global booth_conf variable in transport.c. (authored by clumens).
Refactor: Remove global booth_conf variable in transport.c.
Wed, Mar 5, 5:23 PM
clumens committed rB6b6d0ba26107: Refactor: Add braces around conditional blocks in transport.c. (authored by clumens).
Refactor: Add braces around conditional blocks in transport.c.
Wed, Mar 5, 5:23 PM
clumens committed rB8bfffbd9f836: Refactor: Remove some (void) casts from transport.c. (authored by clumens).
Refactor: Remove some (void) casts from transport.c.
Wed, Mar 5, 5:23 PM
clumens committed rB36765017e94a: Refactor: Check the return value of setsockopt. (authored by clumens).
Refactor: Check the return value of setsockopt.
Wed, Mar 5, 5:23 PM
clumens committed rB8842fb9dc7f5: Refactor: Use whitespace more consistently in transport.c. (authored by clumens).
Refactor: Use whitespace more consistently in transport.c.
Wed, Mar 5, 5:23 PM
clumens committed rP3dba2c1b2a5e: Refactor: cts: Give an explicit encoding to uses of io.open. (authored by clumens).
Refactor: cts: Give an explicit encoding to uses of io.open.
Wed, Mar 5, 2:28 PM
clumens committed rP2f806d08c255: Refactor: cts: Fix the last few pyflake problems in cts-regression. (authored by clumens).
Refactor: cts: Fix the last few pyflake problems in cts-regression.
Wed, Mar 5, 2:28 PM
clumens committed rPccb49570cc01: Refactor: cts: Add the usual pylint import and name pragmas. (authored by clumens).
Refactor: cts: Add the usual pylint import and name pragmas.
Wed, Mar 5, 2:28 PM
clumens committed rPf830591b354d: Refactor: cts: Don't inherit from object. (authored by clumens).
Refactor: cts: Don't inherit from object.
Wed, Mar 5, 2:28 PM
clumens committed rPd268d9eadd8a: Refactor: python: Use += in cts-scheduler for increment. (authored by clumens).
Refactor: python: Use += in cts-scheduler for increment.
Wed, Mar 5, 2:28 PM
clumens committed rPbc74c8468bf9: Refactor: cts: Condense test descriptions onto single lines. (authored by clumens).
Refactor: cts: Condense test descriptions onto single lines.
Wed, Mar 5, 2:28 PM
clumens committed rP98c49d9b16ee: Refactor: cts: Use f-strings in cts-scheduler. (authored by clumens).
Refactor: cts: Use f-strings in cts-scheduler.
Wed, Mar 5, 2:28 PM
clumens committed rP5adaf6e041d8: Refactor: python: Don't explicitly compare against an empty list. (authored by clumens).
Refactor: python: Don't explicitly compare against an empty list.
Wed, Mar 5, 2:28 PM
clumens committed rPe11bf24ce2ff: Refactor: cts: Disable pylint warnings we're not going to address. (authored by clumens).
Refactor: cts: Disable pylint warnings we're not going to address.
Wed, Mar 5, 2:28 PM
clumens committed rP76cf88640ad4: Refactor: cts: Unindent some code where possible. (authored by clumens).
Refactor: cts: Unindent some code where possible.
Wed, Mar 5, 2:28 PM
clumens committed rP9d4dc31cfee9: Refactor: cts: Fix whitespace around lists and operators. (authored by clumens).
Refactor: cts: Fix whitespace around lists and operators.
Wed, Mar 5, 2:28 PM
clumens committed rP9b31620b4048: Refactor: python: Improve whitespace throughout cts-scheduler. (authored by clumens).
Refactor: python: Improve whitespace throughout cts-scheduler.
Wed, Mar 5, 2:28 PM
clumens committed rP672b24af7853: Refactor: cts: Get rid of the DESC variable. (authored by clumens).
Refactor: cts: Get rid of the DESC variable.
Wed, Mar 5, 2:28 PM
clumens committed rP0423b37bcd6c: Refactor: cts: Disable the too-many-locals warning in cts-scheduler. (authored by clumens).
Refactor: cts: Disable the too-many-locals warning in cts-scheduler.
Wed, Mar 5, 2:28 PM
clumens committed rP235f8105a792: Refactor: cts: Add a function to check if a file is missing or empty. (authored by clumens).
Refactor: cts: Add a function to check if a file is missing or empty.
Wed, Mar 5, 2:28 PM
clumens committed rPa83f4b4a7cd2: Refactor: cts: Improve docstrings in cts-scheduler. (authored by clumens).
Refactor: cts: Improve docstrings in cts-scheduler.
Wed, Mar 5, 2:28 PM
clumens committed rPae44688df3d7: Refactor: python: Disable the similar code warning from pylintrc. (authored by clumens).
Refactor: python: Disable the similar code warning from pylintrc.
Wed, Mar 5, 2:28 PM
clumens committed rPe36b4b8bccd8: Build: cts: Add cts-cli to the python_files list. (authored by clumens).
Build: cts: Add cts-cli to the python_files list.
Wed, Mar 5, 2:28 PM
clumens committed rP301e4678e8e0: Refactor: cts: Fix a pyflake whitespace problem in cts-cli. (authored by clumens).
Refactor: cts: Fix a pyflake whitespace problem in cts-cli.
Wed, Mar 5, 2:28 PM
clumens committed rPf69c484027a7: Refactor: cts: Replace {shadow} strings in cts-cli where possible. (authored by clumens).
Refactor: cts: Replace {shadow} strings in cts-cli where possible.
Wed, Mar 5, 2:28 PM
clumens committed rP59114640d618: Refactor: cts: Use {cts_cli_data} as an f-string where possible. (authored by clumens).
Refactor: cts: Use {cts_cli_data} as an f-string where possible.
Wed, Mar 5, 2:28 PM
clumens committed rPc21b30b014e0: Refactor: cts: Remove unnecessary whitespace from the end of commands. (authored by clumens).
Refactor: cts: Remove unnecessary whitespace from the end of commands.
Wed, Mar 5, 2:28 PM
clumens committed rP63e78fbf4622: Build: Run cts-cli verbosely. (authored by clumens).
Build: Run cts-cli verbosely.
Wed, Mar 5, 11:28 AM
clumens committed rP50e9864f6899: Test: CTS: Pass verbose argument to the diff function. (authored by clumens).
Test: CTS: Pass verbose argument to the diff function.
Wed, Mar 5, 11:28 AM
clumens committed rPf39e0e2f6f2d: API: libcrmcommon: Map pcmk_rc_cib_corrupt to CRM_EX_CONFIG. (authored by clumens).
API: libcrmcommon: Map pcmk_rc_cib_corrupt to CRM_EX_CONFIG.
Wed, Mar 5, 11:28 AM
clumens committed rPc1aa2c722e62: Med: cts: Add missing crm_simulate regression tests back to cts-cli. (authored by clumens).
Med: cts: Add missing crm_simulate regression tests back to cts-cli.
Wed, Mar 5, 11:28 AM
clumens committed rP2380d2b99e7a: Log: pacemaker-based: improve messages when reading CIB from disk (authored by kgaillot).
Log: pacemaker-based: improve messages when reading CIB from disk
Wed, Mar 5, 11:28 AM
clumens committed rPeb1081cf0e37: Log: pacemaker-based: improve exit messages (authored by kgaillot).
Log: pacemaker-based: improve exit messages
Wed, Mar 5, 11:28 AM
clumens committed rP9ca219f2aac8: Log: controller: simplify join finalization messages (authored by kgaillot).
Log: controller: simplify join finalization messages
Wed, Mar 5, 11:28 AM
clumens committed rP7747df0fb7a0: Log: pacemaker-based: improve a few messages (authored by kgaillot).
Log: pacemaker-based: improve a few messages
Wed, Mar 5, 11:28 AM
clumens committed rP8eab0af5ad98: Log: controller: drop dot file logs (authored by kgaillot).
Log: controller: drop dot file logs
Wed, Mar 5, 11:28 AM
clumens committed rP3cbec72bf4a5: Log: controller: improve start-up/exit messages (authored by kgaillot).
Log: controller: improve start-up/exit messages
Wed, Mar 5, 11:28 AM
clumens committed rP97584ad1f289: Log: controller: improve resource action execution logs (authored by kgaillot).
Log: controller: improve resource action execution logs
Wed, Mar 5, 11:28 AM
clumens committed rPc5ee89910c75: Build: devel: Add additional cppcheck arguments. (authored by clumens).
Build: devel: Add additional cppcheck arguments.
Wed, Mar 5, 11:28 AM
clumens committed rPe636645eef86: Refactor: libs: Remove existing cppcheck suppressions. (authored by clumens).
Refactor: libs: Remove existing cppcheck suppressions.
Wed, Mar 5, 11:28 AM
clumens committed rP9a4a52c47bd0: Refactor: daemons: Simplify some code in start_child. (authored by clumens).
Refactor: daemons: Simplify some code in start_child.
Wed, Mar 5, 11:28 AM
clumens committed rPe31c9a8667e7: Refactor: libs: Add a couple new cppcheck suppressions. (authored by clumens).
Refactor: libs: Add a couple new cppcheck suppressions.
Wed, Mar 5, 11:28 AM
clumens committed rP20bc479523c5: Build: Fix coverage targets. (authored by clumens).
Build: Fix coverage targets.
Wed, Mar 5, 11:28 AM

Feb 19 2025

clumens claimed T903: Split large IPC messages.
Feb 19 2025, 3:35 PM · Restricted Project, Restricted Project, Restricted Project
clumens changed the status of T903: Split large IPC messages from Open to WIP.
Feb 19 2025, 3:35 PM · Restricted Project, Restricted Project, Restricted Project

Feb 18 2025

clumens triaged T973: Get rid of "non-option ARGV-elements" blocks from tools as Wishlist priority.
Feb 18 2025, 3:41 PM · Restricted Project, Pacemaker: Tools
clumens triaged T972: cts-cli shouldn't write to /tmp during package builds as Low priority.
Feb 18 2025, 1:33 PM · Restricted Project
clumens added a comment to T901: Use asynchronous communication for liblrmd commands with replies.

This is going to be very, very difficult to do which is why we've removed it from the RHEL board and lowered the priority. Basically, lrmd_send_command implements almost all of the API commands for a lrmd_t. All of those would need to be converted over to an async style, and then all of their callers would be. This includes major portions of the control daemon, which isn't very well set up to call the async versions of these functions. It would require rewriting much of liblrmd and the control daemon, and there's simply not enough time to get around to a project of that size.

Feb 18 2025, 1:24 PM · Restricted Project, Restricted Project
clumens added a comment to T775: Evaluate replacing pcmk__realloc() with GLib functions.

cppcheck appears to be fine with pcmk__realloc for me, but I would still be all for investigating removing it in favor of someone else's code.

Feb 18 2025, 1:10 PM · Restricted Project, Pacemaker: Libraries

Feb 17 2025

clumens committed rPc8ea0e8e32f9: Build: devel: Replace indent with clang-format. (authored by clumens).
Build: devel: Replace indent with clang-format.
Feb 17 2025, 3:56 PM

Feb 6 2025

clumens updated the task description for T970: Decrease code duplication in cts regression tests.
Feb 6 2025, 3:38 PM · Restricted Project
clumens changed the edit policy for T970: Decrease code duplication in cts regression tests.
Feb 6 2025, 3:31 PM · Restricted Project

Feb 5 2025

clumens committed rP02b1a18c1130: Refactor: libcrmservice: systemd_init should return a bool. (authored by clumens).
Refactor: libcrmservice: systemd_init should return a bool.
Feb 5 2025, 3:44 PM
clumens committed rP9138d96d027b: Refactor: daemons: Fix whitespace problems in execd_commands.c. (authored by clumens).
Refactor: daemons: Fix whitespace problems in execd_commands.c.
Feb 5 2025, 3:44 PM
clumens committed rP96e9f97e4926: Refactor: daemons: Unindent a block of code in action_complete. (authored by clumens).
Refactor: daemons: Unindent a block of code in action_complete.
Feb 5 2025, 3:44 PM
clumens committed rP9151b51c50b1: Refactor: daemons: Get rid of an unnecessary #endif/#ifdef. (authored by clumens).
Refactor: daemons: Get rid of an unnecessary #endif/#ifdef.
Feb 5 2025, 3:44 PM
clumens committed rP7874bce94ba8: Refactor: daemons: Unindent the goagain block in action_complete. (authored by clumens).
Refactor: daemons: Unindent the goagain block in action_complete.
Feb 5 2025, 3:44 PM
clumens committed rP51a93e771656: Low: libcrmservices: Don't leak msg if systemd_proxy is NULL. (authored by clumens).
Low: libcrmservices: Don't leak msg if systemd_proxy is NULL.
Feb 5 2025, 3:44 PM
clumens committed rP96e9bff3ff7b: Refactor: daemons: Improve whitespace in action_complete. (authored by clumens).
Refactor: daemons: Improve whitespace in action_complete.
Feb 5 2025, 3:44 PM
clumens committed rP4a4e721520a7: Refactor: libcrmservices: Unref the dbus connection... (authored by clumens).
Refactor: libcrmservices: Unref the dbus connection...
Feb 5 2025, 3:44 PM

Feb 3 2025

clumens triaged T971: Store inflight and blocked ops in a hash table as Wishlist priority.
Feb 3 2025, 2:55 PM · Restricted Project
clumens committed rPe8ab7135f77f: Low: python: Add python value for new CRM_EX_NO_DC exit code. (authored by clumens).
Low: python: Add python value for new CRM_EX_NO_DC exit code.
Feb 3 2025, 2:46 PM
clumens committed rP2e109a7950bb: Refactor: python: Rename variables in Audit __call__ methods. (authored by clumens).
Refactor: python: Rename variables in Audit __call__ methods.
Feb 3 2025, 2:42 PM
clumens committed rP3eb9450fa20b: Refactor: python: Reduce code duplication looking for core dumps. (authored by clumens).
Refactor: python: Reduce code duplication looking for core dumps.
Feb 3 2025, 2:42 PM
clumens committed rPb9b5eab3c2d9: Low: python: Use coredumpctl to check for core files. (authored by clumens).
Low: python: Use coredumpctl to check for core files.
Feb 3 2025, 2:42 PM
clumens committed rP35d58504c48c: Refactor: cts: _find_core_on_fs can now take a list of locations. (authored by clumens).
Refactor: cts: _find_core_on_fs can now take a list of locations.
Feb 3 2025, 2:42 PM

Jan 31 2025

clumens added subtasks for T970: Decrease code duplication in cts regression tests: T846: Move cts-cli validity and upgrade tests to cts-schemas, Restricted Maniphest Task, Restricted Maniphest Task, Restricted Maniphest Task.
Jan 31 2025, 3:59 PM · Restricted Project
clumens added a parent task for T846: Move cts-cli validity and upgrade tests to cts-schemas: T970: Decrease code duplication in cts regression tests.
Jan 31 2025, 3:59 PM · Pacemaker, Restricted Project