Page MenuHomeClusterLabs Projects
Feed Advanced Search

Apr 11 2024

kgaillot committed rPb9afeb69598f: Refactor: scheduler: move unpack_data_t to libcrmcommon (authored by kgaillot).
Refactor: scheduler: move unpack_data_t to libcrmcommon
Apr 11 2024, 9:41 PM
kgaillot committed rPc6782460b866: Refactor: scheduler: rename pcmk__nvpair_unpack_t hash member (authored by kgaillot).
Refactor: scheduler: rename pcmk__nvpair_unpack_t hash member
Apr 11 2024, 9:41 PM
kgaillot committed rPa6f4ca6936c8: Refactor: scheduler: rename pcmk__nvpair_unpack_t special_name member (authored by kgaillot).
Refactor: scheduler: rename pcmk__nvpair_unpack_t special_name member
Apr 11 2024, 9:41 PM
kgaillot committed rPdffb1abf988f: Refactor: scheduler: make pcmk__nvpair_unpack_t overwrite member a bool (authored by kgaillot).
Refactor: scheduler: make pcmk__nvpair_unpack_t overwrite member a bool
Apr 11 2024, 9:41 PM
kgaillot updated the task description for T781: Improve terminology for clarity.
Apr 11 2024, 6:11 PM · Restricted Project, Restricted Project, Restricted Project

Apr 10 2024

kgaillot raised the priority of T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables from Normal to High.
Apr 10 2024, 11:48 AM · Restricted Project, Restricted Project, Restricted Project

Apr 9 2024

kgaillot added a parent task for T813: Replace and deprecate custom meta-attributes: T781: Improve terminology for clarity.
Apr 9 2024, 5:31 PM · Restricted Project, Restricted Project
kgaillot added a subtask for T781: Improve terminology for clarity: T813: Replace and deprecate custom meta-attributes.
Apr 9 2024, 5:31 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot updated the task description for T781: Improve terminology for clarity.
Apr 9 2024, 5:29 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot added a parent task for T813: Replace and deprecate custom meta-attributes: T814: Drop support for custom meta-attributes, and enforce meta-attribute names in schema.
Apr 9 2024, 5:27 PM · Restricted Project, Restricted Project
kgaillot added a subtask for T814: Drop support for custom meta-attributes, and enforce meta-attribute names in schema: T813: Replace and deprecate custom meta-attributes.
Apr 9 2024, 5:27 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot triaged T814: Drop support for custom meta-attributes, and enforce meta-attribute names in schema as Wishlist priority.
Apr 9 2024, 5:27 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot triaged T813: Replace and deprecate custom meta-attributes as Wishlist priority.
Apr 9 2024, 5:21 PM · Restricted Project, Restricted Project
kgaillot updated the task description for T781: Improve terminology for clarity.
Apr 9 2024, 4:57 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot updated the task description for T781: Improve terminology for clarity.
Apr 9 2024, 4:53 PM · Restricted Project, Restricted Project, Restricted Project

Apr 8 2024

kgaillot added a comment to T744: Clarify allowed values of integer options.

score will always have to remain separate because it accepts red, yellow, green, and {+,-,}INFINITY

Apr 8 2024, 5:07 PM · Restricted Project
kgaillot committed rPc21fa3651ae5: Refactor: libcrmcommon,libpe_rules: move ruleset evaluation to libcrmcommon (authored by kgaillot).
Refactor: libcrmcommon,libpe_rules: move ruleset evaluation to libcrmcommon
Apr 8 2024, 4:29 PM
kgaillot committed rP6cb24d84c52f: Log: scheduler: warn if multiple top-level rules are used (authored by kgaillot).
Log: scheduler: warn if multiple top-level rules are used
Apr 8 2024, 4:29 PM
kgaillot committed rP85439a0e97a3: API: libpe_rules: deprecate pe_evaluate_rules() (authored by kgaillot).
API: libpe_rules: deprecate pe_evaluate_rules()
Apr 8 2024, 4:29 PM
kgaillot committed rP4dfa732b3605: API: libpe_rules: deprecate pe_eval_rules() (authored by kgaillot).
API: libpe_rules: deprecate pe_eval_rules()
Apr 8 2024, 4:29 PM
kgaillot updated the task description for T811: Change base image used in wiki bundle walk-through.
Apr 8 2024, 11:00 AM · Restricted Project, Restricted Project, Restricted Project
kgaillot triaged T811: Change base image used in wiki bundle walk-through as Low priority.
Apr 8 2024, 10:59 AM · Restricted Project, Restricted Project, Restricted Project

Apr 4 2024

kgaillot edited the content of Pacemaker 3.0 Configuration Changes.
Apr 4 2024, 7:32 PM
kgaillot edited the content of Pacemaker 3.0 Configuration Changes.
Apr 4 2024, 7:28 PM
kgaillot added a parent task for T809: Deprecate support for disabling schema validation: T810: Drop support for disabling schema validation.
Apr 4 2024, 7:07 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot added a subtask for T810: Drop support for disabling schema validation: T809: Deprecate support for disabling schema validation.
Apr 4 2024, 7:07 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot triaged T810: Drop support for disabling schema validation as Normal priority.
Apr 4 2024, 7:07 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot triaged T809: Deprecate support for disabling schema validation as Normal priority.
Apr 4 2024, 7:06 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot committed rPa5a58f602715: Refactor: scheduler: validate rule ID in location constraint sooner (authored by kgaillot).
Refactor: scheduler: validate rule ID in location constraint sooner
Apr 4 2024, 5:28 PM
kgaillot committed rP456b0f3691d6: Low: scheduler: improve error checking in pcmk__new_location() (authored by kgaillot).
Low: scheduler: improve error checking in pcmk__new_location()
Apr 4 2024, 5:28 PM
kgaillot committed rP50fe06984b05: Refactor: scheduler: make generate_location_rule() take pcmk_rule_input_t (authored by kgaillot).
Refactor: scheduler: make generate_location_rule() take pcmk_rule_input_t
Apr 4 2024, 5:28 PM
kgaillot committed rP9dfea5a36bd9: Refactor: scheduler: remove redundant code in generate_location_rule() (authored by kgaillot).
Refactor: scheduler: remove redundant code in generate_location_rule()
Apr 4 2024, 5:28 PM
kgaillot committed rPe959bed59969: Log: scheduler: improve message for empty location rules (authored by kgaillot).
Log: scheduler: improve message for empty location rules
Apr 4 2024, 5:28 PM
kgaillot committed rP82bf4e6d4749: Refactor: scheduler: regex_t doesn't need to be dynamically allocated (authored by kgaillot).
Refactor: scheduler: regex_t doesn't need to be dynamically allocated
Apr 4 2024, 5:28 PM
kgaillot committed rPb07d7322aa68: Refactor: scheduler: make unpack_rsc_location() take individual arguments (authored by kgaillot).
Refactor: scheduler: make unpack_rsc_location() take individual arguments
Apr 4 2024, 5:28 PM
kgaillot moved T807: Drop support for deprecated aliases of cluster options from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 4 2024, 12:21 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
kgaillot triaged T807: Drop support for deprecated aliases of cluster options as Normal priority.
Apr 4 2024, 12:20 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Apr 3 2024

kgaillot committed rP8d5ab7ea8f45: Low: scheduler: accept empty attribute name in node attribute expressions (authored by kgaillot).
Low: scheduler: accept empty attribute name in node attribute expressions
Apr 3 2024, 1:51 PM
kgaillot committed rP3e3513e579b3: Low: tools: use better value for crm_resource --force-* timeout (authored by kgaillot).
Low: tools: use better value for crm_resource --force-* timeout
Apr 3 2024, 1:51 PM
kgaillot committed rPf944c9944cf2: Feature: fencer: deprecate node attribute expressions in fence device meta… (authored by kgaillot).
Feature: fencer: deprecate node attribute expressions in fence device meta…
Apr 3 2024, 1:51 PM
kgaillot committed rPc7cebdf09ac5: Feature: CIB: deprecate support for multiple rules within a single location… (authored by kgaillot).
Feature: CIB: deprecate support for multiple rules within a single location…
Apr 3 2024, 1:51 PM
kgaillot committed rP69064c5a99a7: Fix: tools: crm_resource should ignore resource meta-attribute node expressions (authored by kgaillot).
Fix: tools: crm_resource should ignore resource meta-attribute node expressions
Apr 3 2024, 1:51 PM
kgaillot committed rP6d5d28da1006: Feature: CIB: deprecate support for node attribute expressions beneath op and… (authored by kgaillot).
Feature: CIB: deprecate support for node attribute expressions beneath op and…
Apr 3 2024, 1:51 PM
kgaillot committed rP0638f4082518: Fix: scheduler: use default timeout (20s) if user configures 0 (authored by kgaillot).
Fix: scheduler: use default timeout (20s) if user configures 0
Apr 3 2024, 1:51 PM
kgaillot committed rP68d86f7b5607: Low: scheduler: deprecate support for default instance attributes (authored by kgaillot).
Low: scheduler: deprecate support for default instance attributes
Apr 3 2024, 1:51 PM
kgaillot committed rPccd09841c87d: Fix: tools: honor rules when getting utilization attributes with crm_resource (authored by kgaillot).
Fix: tools: honor rules when getting utilization attributes with crm_resource
Apr 3 2024, 1:51 PM
kgaillot committed rP1595482d4edd: Log: scheduler: correct lifetime deprecation warning (authored by kgaillot).
Log: scheduler: correct lifetime deprecation warning
Apr 3 2024, 1:51 PM
kgaillot closed T784: Log location constraints that don't match a known node as Merged by committing rP723be0bc814a: Log: scheduler: log unknown nodes in location constraints.
Apr 3 2024, 1:51 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot committed rP538a16928fe9: XML: schemas: Copy rule schema and related schemas in preparation for changes (authored by kgaillot).
XML: schemas: Copy rule schema and related schemas in preparation for changes
Apr 3 2024, 1:51 PM
kgaillot committed rP723be0bc814a: Log: scheduler: log unknown nodes in location constraints (authored by kgaillot).
Log: scheduler: log unknown nodes in location constraints
Apr 3 2024, 1:51 PM
kgaillot committed rP99208a6fae01: Test: cts-cli: strip schema version when comparing output (authored by kgaillot).
Test: cts-cli: strip schema version when comparing output
Apr 3 2024, 1:51 PM
kgaillot committed rPd61d8f74796e: Test: cts-cli: update expected outputs for new schema version (authored by kgaillot).
Test: cts-cli: update expected outputs for new schema version
Apr 3 2024, 1:51 PM
kgaillot committed rPd08bc7ca24f6: XML: schemas: restructure rule schema for planned incompatible changes (authored by kgaillot).
XML: schemas: restructure rule schema for planned incompatible changes
Apr 3 2024, 1:51 PM
kgaillot committed rPbb2953a1b92e: XML: resources: reduce duplication for instance_attributes definition (authored by kgaillot).
XML: resources: reduce duplication for instance_attributes definition
Apr 3 2024, 1:51 PM
kgaillot committed rP205a07239941: Doc: Pacemaker Explained: correct rST syntax in fencing documentation (authored by kgaillot).
Doc: Pacemaker Explained: correct rST syntax in fencing documentation
Apr 3 2024, 1:51 PM
kgaillot committed rP2e70227a4820: Doc: Pacemaker Explained: overhaul rules documentation (authored by kgaillot).
Doc: Pacemaker Explained: overhaul rules documentation
Apr 3 2024, 1:51 PM
kgaillot committed rPb75a3efbe35b: Doc: Pacemaker Explained: improve utilization chapter (authored by kgaillot).
Doc: Pacemaker Explained: improve utilization chapter
Apr 3 2024, 1:51 PM
kgaillot updated the task description for T781: Improve terminology for clarity.
Apr 3 2024, 12:36 PM · Restricted Project, Restricted Project, Restricted Project

Apr 2 2024

kgaillot updated the task description for T781: Improve terminology for clarity.
Apr 2 2024, 10:51 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot triaged T806: Create a rsc_promotion constraint type as Wishlist priority.
Apr 2 2024, 10:41 PM · Restricted Project, Restricted Project
kgaillot updated the task description for T805: Drop support for role, score, and score-attribute in rules.
Apr 2 2024, 10:20 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot moved T805: Drop support for role, score, and score-attribute in rules from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 2 2024, 10:19 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot renamed T805: Drop support for role, score, and score-attribute in rules from Drop support for role in rules to Drop support for role, score, and score-attribute in rules.
Apr 2 2024, 10:18 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot renamed T804: Deprecate role, score, and score-attribute in rules, and implement score-attribute in location constraints without rules from Deprecate role in rules to Deprecate role, score, and score-attribute in rules, and implement score-attribute in location constraints without rules.
Apr 2 2024, 10:18 PM · Restricted Project, Restricted Project
kgaillot added a parent task for T804: Deprecate role, score, and score-attribute in rules, and implement score-attribute in location constraints without rules: T805: Drop support for role, score, and score-attribute in rules.
Apr 2 2024, 9:52 PM · Restricted Project, Restricted Project
kgaillot added a subtask for T805: Drop support for role, score, and score-attribute in rules: T804: Deprecate role, score, and score-attribute in rules, and implement score-attribute in location constraints without rules.
Apr 2 2024, 9:52 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot triaged T805: Drop support for role, score, and score-attribute in rules as Low priority.
Apr 2 2024, 9:52 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot triaged T804: Deprecate role, score, and score-attribute in rules, and implement score-attribute in location constraints without rules as Normal priority.
Apr 2 2024, 9:51 PM · Restricted Project, Restricted Project

Apr 1 2024

kgaillot added a comment to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.

I'm thinking the simplest approach might be to consider the "inheritable" meta-attributes as separate to each layer. For example there is a group resource-stickiness meta-attribute and a different primitive resource-stickiness meta-attribute. That way each could have its own description of how it behaves. Primitive resource-stickiness keeps the current description from Pacemaker Explained, group resource-stickiness gets something like "Default value to use for members' resource-stickiness if not explicitly set for the member. The group's own stickiness is not this value, but the sum of its members' stickiness." The primitive default could even be described as "Value of resource-stickiness in group meta-attributes if set, otherwise value of resource-stickiness in clone meta-attributes if set, otherwise value of resource-stickiness in bundle meta-attributes if set, otherwise 0, plus 1 for promoted clone instances of the primitive" though that sounds horrible.

Apr 1 2024, 6:54 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot added a comment to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
In T620#11565, @nrwahl2 wrote:

Meta-attribute inheritance is weird. I've just started looking at groups. Very much non-exhaustive:

  • is-managed: Any false wins. If is-managed=false for the group and is-managed=true for a primitive, the primitive is unmanaged.
  • maintenance: Any true wins. Similar to is-managed but reversed.
Apr 1 2024, 6:52 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot added a project to T802: cibadmin --show-access on live cluster gives incorrect results for ACL-restricted user: Restricted Project.
Apr 1 2024, 6:06 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot committed rP1bbfacfcf44a: API: libpe_rules: deprecate pe_test_expression() (authored by kgaillot).
API: libpe_rules: deprecate pe_test_expression()
Apr 1 2024, 2:00 PM
kgaillot committed rP7b0c849b3b9c: Refactor: libpe_rules,libcrmcommon: move single-rule evaluation to libcrmcommon (authored by kgaillot).
Refactor: libpe_rules,libcrmcommon: move single-rule evaluation to libcrmcommon
Apr 1 2024, 2:00 PM
kgaillot committed rPd3f4f478e464: API: libpe_rules: deprecate pe_test_rule() (authored by kgaillot).
API: libpe_rules: deprecate pe_test_rule()
Apr 1 2024, 2:00 PM
kgaillot committed rP18f2508921d6: API: libpe_rules: deprecate pe_eval_subexpr() (authored by kgaillot).
API: libpe_rules: deprecate pe_eval_subexpr()
Apr 1 2024, 2:00 PM
kgaillot committed rP7b16340abc4f: API: libpe_rules: deprecate pe_eval_expr() (authored by kgaillot).
API: libpe_rules: deprecate pe_eval_expr()
Apr 1 2024, 2:00 PM
kgaillot committed rPd1a804b3f797: Test: libcrmcommon: add unit tests for pcmk__evaluate_condition() (authored by kgaillot).
Test: libcrmcommon: add unit tests for pcmk__evaluate_condition()
Apr 1 2024, 1:59 PM
kgaillot committed rP001230cef02a: Refactor: libpe_rules: drop no-longer-used internal functions (authored by kgaillot).
Refactor: libpe_rules: drop no-longer-used internal functions
Apr 1 2024, 1:59 PM
kgaillot committed rP3c144c482155: Test: libcrmcommon: add unit tests for pcmk_evaluate_rule() (authored by kgaillot).
Test: libcrmcommon: add unit tests for pcmk_evaluate_rule()
Apr 1 2024, 1:59 PM
kgaillot committed rP34b12da59695: Refactor: libcrmcommon: make some evaluation functions library-private (authored by kgaillot).
Refactor: libcrmcommon: make some evaluation functions library-private
Apr 1 2024, 1:59 PM
kgaillot committed rPd25631379835: Refactor: scheduler: drop redundant code in expression evaluation (authored by kgaillot).
Refactor: scheduler: drop redundant code in expression evaluation
Apr 1 2024, 1:59 PM
kgaillot committed rPdfb0d1f107e6: Refactor: scheduler: best practices for pcmk_evaluate_rule() (authored by kgaillot).
Refactor: scheduler: best practices for pcmk_evaluate_rule()
Apr 1 2024, 1:59 PM
kgaillot committed rPeed66e1203ba: Refactor: scheduler: best practices for pcmk__evaluate_condition() (authored by kgaillot).
Refactor: scheduler: best practices for pcmk__evaluate_condition()
Apr 1 2024, 1:59 PM
kgaillot committed rPa068288685f2: Refactor: scheduler: parse boolean operator into an enum (authored by kgaillot).
Refactor: scheduler: parse boolean operator into an enum
Apr 1 2024, 1:59 PM
kgaillot committed rP24137b1dca26: Refactor: scheduler: use new condition terminology in more places (authored by kgaillot).
Refactor: scheduler: use new condition terminology in more places
Apr 1 2024, 1:59 PM
kgaillot added a comment to T800: Bring CIB schema and parsing code into closer alignment.
In T800#11838, @nrwahl2 wrote:
<define name="non-empty-string">
   <data type="string">
      <except><value></value></except>
   </data>
</define>

It turns out that due to the same normalization you described, any value that consists of only spaces is rejected. Not just empty strings.

Which might be fine for our purposes, but we need to be aware of it.

Apr 1 2024, 9:45 AM · Restricted Project, Restricted Project, Restricted Project
kgaillot added a comment to T787: Warn for deprecated master syntax in CIB.

For this task, we only need a deprecation warning. When we get around to dropping support for master, the code won't have to worry about it at all -- an XSL transform will map master to clone before the code ever sees it.

Apr 1 2024, 9:43 AM · Restricted Project, Restricted Project, Restricted Project

Mar 28 2024

kgaillot committed rP268fa1bbeea2: Refactor: libcrmcommon,libpe_rules: move operation evaluation to libcrmcommon (authored by kgaillot).
Refactor: libcrmcommon,libpe_rules: move operation evaluation to libcrmcommon
Mar 28 2024, 6:28 PM
kgaillot committed rP3a90ac9cc0cb: Refactor: scheduler: best practices for pcmk__evaluate_op_expression() (authored by kgaillot).
Refactor: scheduler: best practices for pcmk__evaluate_op_expression()
Mar 28 2024, 6:28 PM
kgaillot committed rP34d1ea4df60e: Test: libcrmcommon: add unit tests for pcmk__evaluate_op_expression() (authored by kgaillot).
Test: libcrmcommon: add unit tests for pcmk__evaluate_op_expression()
Mar 28 2024, 6:28 PM
kgaillot committed rP452516aa991c: Refactor: libcrmcommon,libpe_rules: move resource evaluation to libcrmcommon (authored by kgaillot).
Refactor: libcrmcommon,libpe_rules: move resource evaluation to libcrmcommon
Mar 28 2024, 6:28 PM
kgaillot committed rP4f12b61aafe1: Refactor: scheduler: best practices for pcmk__evaluate_rsc_expression() (authored by kgaillot).
Refactor: scheduler: best practices for pcmk__evaluate_rsc_expression()
Mar 28 2024, 6:28 PM
kgaillot committed rP925d93c20bec: Test: libcrmcommon: add unit tests for pcmk__evaluate_rsc_expression() (authored by kgaillot).
Test: libcrmcommon: add unit tests for pcmk__evaluate_rsc_expression()
Mar 28 2024, 6:28 PM
kgaillot moved T800: Bring CIB schema and parsing code into closer alignment from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Mar 28 2024, 4:41 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot triaged T800: Bring CIB schema and parsing code into closer alignment as Low priority.
Mar 28 2024, 4:40 PM · Restricted Project, Restricted Project, Restricted Project
kgaillot edited the content of Pacemaker Release Checklist.
Mar 28 2024, 11:11 AM · Restricted Project
kgaillot moved T799: Escape whitespace in node attribute output in a way that is parseable by OpenStack from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Mar 28 2024, 10:52 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project
kgaillot added projects to T799: Escape whitespace in node attribute output in a way that is parseable by OpenStack: Restricted Project, Restricted Project.
Mar 28 2024, 10:51 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project
kgaillot changed the status of T799: Escape whitespace in node attribute output in a way that is parseable by OpenStack from Open to WIP.
Mar 28 2024, 10:49 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project

Mar 27 2024

kgaillot added a parent task for T798: Make `pcmk_scheduler_t` definition internal: Unknown Object (Maniphest Task).
Mar 27 2024, 6:59 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project