Page MenuHomeClusterLabs Projects
Feed Advanced Search

Mar 27 2024

kgaillot added a parent task for T791: Deprecate direct access to scheduler action structs and enums: T797: Make scheduler action structs and enums internal.
Mar 27 2024, 6:42 PM · Pacemaker (2.1.8), Restricted Project, Pacemaker: Scheduler
kgaillot renamed T791: Deprecate direct access to scheduler action structs and enums from Make scheduler action structs and enums internal to Deprecate direct access to scheduler action structs and enums.
Mar 27 2024, 6:41 PM · Pacemaker (2.1.8), Restricted Project, Pacemaker: Scheduler
kgaillot edited projects for T790: Deprecate direct access to scheduler resource structs, added: Pacemaker (2.1.8); removed Pacemaker: Future Release Series, Pacemaker (3.0.0).
Mar 27 2024, 6:39 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot added a parent task for T789: Deprecate direct access to scheduler node structs: T795: Make definition of scheduler node structs internal.
Mar 27 2024, 6:35 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot updated the task description for T789: Deprecate direct access to scheduler node structs.
Mar 27 2024, 6:35 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot renamed T789: Deprecate direct access to scheduler node structs from Make definition of scheduler node structs internal to Deprecate direct access to scheduler node structs.
Mar 27 2024, 6:34 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot added a parent task for T788: Deprecate public API access to most of libcrmcluster: T794: Update SBD to avoid deprecated Pacemaker APIs.
Mar 27 2024, 6:33 PM · Restricted Project, Pacemaker (2.1.8), Restricted Project
kgaillot added a parent task for T789: Deprecate direct access to scheduler node structs: T794: Update SBD to avoid deprecated Pacemaker APIs.
Mar 27 2024, 6:33 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot added a parent task for T792: Deprecate direct access to `pcmk_scheduler_t` members: T794: Update SBD to avoid deprecated Pacemaker APIs.
Mar 27 2024, 6:33 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot updated the task description for T789: Deprecate direct access to scheduler node structs.
Mar 27 2024, 6:32 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot updated the task description for T788: Deprecate public API access to most of libcrmcluster.
Mar 27 2024, 6:31 PM · Restricted Project, Pacemaker (2.1.8), Restricted Project
kgaillot renamed T788: Deprecate public API access to most of libcrmcluster from Deprecate and drop public API access to most of libcrmcluster to Deprecate public API access to most of libcrmcluster.
Mar 27 2024, 5:45 PM · Restricted Project, Pacemaker (2.1.8), Restricted Project
kgaillot added a parent task for T788: Deprecate public API access to most of libcrmcluster: T793: Drop public API access to most of libcrmcluster.
Mar 27 2024, 5:44 PM · Restricted Project, Pacemaker (2.1.8), Restricted Project
kgaillot moved T792: Deprecate direct access to `pcmk_scheduler_t` members from Miscellaneous to Backward-incompatible API Changes on the Pacemaker: Future Release Series board.
Mar 27 2024, 3:17 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot triaged T792: Deprecate direct access to `pcmk_scheduler_t` members as High priority.
Mar 27 2024, 3:16 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot edited projects for T789: Deprecate direct access to scheduler node structs, added: Pacemaker (2.1.8); removed Pacemaker (3.0.0).
Mar 27 2024, 3:15 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot edited projects for T789: Deprecate direct access to scheduler node structs, added: Pacemaker (2.1.8); removed Pacemaker (3.0.0).
Mar 27 2024, 2:46 PM · Pacemaker (2.1.8), Pacemaker: Scheduler, Restricted Project
kgaillot added a parent task for T788: Deprecate public API access to most of libcrmcluster: Restricted Maniphest Task.
Mar 27 2024, 1:20 PM · Restricted Project, Pacemaker (2.1.8), Restricted Project
kgaillot moved T788: Deprecate public API access to most of libcrmcluster from Miscellaneous to Backward-incompatible API Changes on the Pacemaker: Future Release Series board.
Mar 27 2024, 1:16 PM · Restricted Project, Pacemaker (2.1.8), Restricted Project
kgaillot triaged T788: Deprecate public API access to most of libcrmcluster as High priority.
Mar 27 2024, 1:15 PM · Restricted Project, Pacemaker (2.1.8), Restricted Project
kgaillot updated the task description for T787: Warn for deprecated master syntax in CIB.
Mar 27 2024, 11:58 AM · Pacemaker (2.1.8), Restricted Project, Pacemaker: Scheduler
kgaillot added a parent task for T787: Warn for deprecated master syntax in CIB: Restricted Maniphest Task.
Mar 27 2024, 11:52 AM · Pacemaker (2.1.8), Restricted Project, Pacemaker: Scheduler
kgaillot added a project to T787: Warn for deprecated master syntax in CIB: Pacemaker (2.1.8).
Mar 27 2024, 11:51 AM · Pacemaker (2.1.8), Restricted Project, Pacemaker: Scheduler
nrwahl2 added a comment to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.

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.
  • resource-stickiness: Group's stickiness is used as the default for a primitive's stickiness. Primitive's stickiness overrides (does not add to) group's stickiness.
  • target-role: Same as resource-stickiness. The group's value is only a default. In particular, if the group has target-role=Stopped and the first member has target-role=Started, the first member is allowed to run.
Mar 27 2024, 5:58 AM · Restricted Project, Restricted Project, Pacemaker: Tools

Mar 4 2024

kgaillot added a project to T765: crm_attribute logs assertion if value but no attribute name is given: Pacemaker (2.1.8).
Mar 4 2024, 10:12 AM · Pacemaker (2.1.8), Pacemaker: Tools, Restricted Project
kgaillot closed T778: Typo in fence parameter help as Merged by committing rP29a53b9c677c: Doc: pacemaker-fenced: improve pcmk_host_list help.
Mar 4 2024, 9:48 AM · Pacemaker (2.1.8), Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project

Feb 20 2024

kgaillot moved T778: Typo in fence parameter help from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Feb 20 2024, 11:07 AM · Pacemaker (2.1.8), Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project

Feb 19 2024

kgaillot triaged T778: Typo in fence parameter help as High priority.
Feb 19 2024, 12:49 PM · Pacemaker (2.1.8), Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project

Feb 1 2024

kgaillot edited projects for T760: rpmlint make target fails, added: Pacemaker (2.1.8); removed Pacemaker.
Feb 1 2024, 7:04 PM · Pacemaker (2.1.8), Restricted Project, Restricted Project, Restricted Project

Jan 31 2024

kgaillot updated the task description for T766: Fix use-after-free in crm_attribute.
Jan 31 2024, 3:16 PM · Restricted Project, Restricted Project, Pacemaker (2.1.8), Restricted Project, Restricted Project, Restricted Project

Jan 30 2024

kgaillot moved T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 30 2024, 4:36 PM · Restricted Project, Restricted Project, Pacemaker: Tools
kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
Jan 30 2024, 4:35 PM · Restricted Project, Restricted Project, Pacemaker: Tools
kgaillot added projects to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables: Restricted Project, Restricted Project.
Jan 30 2024, 4:35 PM · Restricted Project, Restricted Project, Pacemaker: Tools
kgaillot moved T766: Fix use-after-free in crm_attribute from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 30 2024, 1:39 PM · Restricted Project, Restricted Project, Pacemaker (2.1.8), Restricted Project, Restricted Project, Restricted Project
kgaillot added projects to T766: Fix use-after-free in crm_attribute: Restricted Project, Restricted Project.
Jan 30 2024, 1:39 PM · Restricted Project, Restricted Project, Pacemaker (2.1.8), Restricted Project, Restricted Project, Restricted Project
kgaillot closed T766: Fix use-after-free in crm_attribute as Merged.

Fixed by rP9c13ce6fe

Jan 30 2024, 1:38 PM · Restricted Project, Restricted Project, Pacemaker (2.1.8), Restricted Project, Restricted Project, Restricted Project

Jan 29 2024

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

I think it would make sense if we were designing from scratch, but crm_attribute actually is the intended place for this. It has always been used to manage cluster options as well as node attributes.

Okay, that makes sense for cluster options. I'm still not sure it makes sense to put local options there, or to put meta-attributes for alerts, resources, and ops there.

I'm not at that point yet, still finishing up cluster options, but the rest should move faster with the infrastructure in place and the approach settled on.

Jan 29 2024, 3:53 PM · Restricted Project, Restricted Project, Pacemaker: Tools
nrwahl2 added a comment to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.

I think it would make sense if we were designing from scratch, but crm_attribute actually is the intended place for this. It has always been used to manage cluster options as well as node attributes.

Jan 29 2024, 3:02 PM · Restricted Project, Restricted Project, Pacemaker: Tools
kgaillot added a comment to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
In T620#11067, @nrwahl2 wrote:

If it doesn't require anything outside libcrmcommon, I would put the bulk of it there. When we get to the UI (command-line options), the highest-level equivalents of that should be in libpacemaker.
...
The libcrmcommon functions would do all the processing, and the libpacemaker functions would focus on output

That's basically the conundrum. Output is the only thing we're dealing with (there's no meaningful processing otherwise), but the output functions need access to an array that lives in libcrmcommon. There are many ways to approach this that would work. The question is which one's the cleanest and most in line with our existing code.

Jan 29 2024, 11:30 AM · Restricted Project, Restricted Project, Pacemaker: Tools
nrwahl2 added a comment to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.

How do you feel about a new lightweight CLI tool called something like pcmk_option? I think I can get this into crm_attribute relatively easily. It's just that none of these are attributes.

Jan 29 2024, 5:28 AM · Restricted Project, Restricted Project, Pacemaker: Tools

Jan 26 2024

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

If it doesn't require anything outside libcrmcommon, I would put the bulk of it there. When we get to the UI (command-line options), the highest-level equivalents of that should be in libpacemaker.
...
The libcrmcommon functions would do all the processing, and the libpacemaker functions would focus on output

Jan 26 2024, 7:28 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Jan 24 2024

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

Do we want the "list cluster options" command to go in libpacemaker, or libcrmcommon?

Jan 24 2024, 10:56 AM · Restricted Project, Restricted Project, Pacemaker: Tools
nrwahl2 added a comment to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.

Do we want the "list cluster options" command to go in libpacemaker, or libcrmcommon?

Jan 24 2024, 12:48 AM · Restricted Project, Restricted Project, Pacemaker: Tools

Jan 18 2024

nrwahl2 added a project to T751: crm_mon in interactive mode segfaults during cluster shutdown: Pacemaker (2.1.8).
Jan 18 2024, 5:13 PM · Pacemaker (2.1.8), Restricted Project, Pacemaker: Tools, Restricted Project

Jan 15 2024

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

However, I'm not sure whether you wanted to include meta-attributes that can be set on a collective for the sole purpose of being inherited by a primitive (sort of the opposite scenario compared to the one above).

  • On the one hand: it's cleaner and clearer not to include them, and to include only those meta-attributes that have a direct effect on the collective. We can simply ensure it's documented (maybe it already is) that primitives inherit all of their parents' meta-attributes. That implies that any primitive meta-attribute can be set on a collective for the purpose of inheritance.
  • On the other hand: excluding them offloads more work to external tools. For example, if pcs is validating meta-attributes for a bundle, then it needs to check the list of bundle meta-attributes, the list of primitive meta-attributes, and maybe the list of clone meta-attributes. That's not a deal-breaker, but it requires that extra knowledge of Pacemaker behavior be built into external tools.
Jan 15 2024, 11:30 AM · Restricted Project, Restricted Project, Pacemaker: Tools
kgaillot edited projects for T746: Avoid duplicating option metadata across daemons, added: Pacemaker (2.1.8), Pacemaker: Daemons; removed Pacemaker (3.0.0).
Jan 15 2024, 11:02 AM · Pacemaker: Daemons, Pacemaker (2.1.8), Restricted Project

Jan 12 2024

nrwahl2 closed T746: Avoid duplicating option metadata across daemons, a subtask of T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables, as Merged.
Jan 12 2024, 3:19 AM · Restricted Project, Restricted Project, Pacemaker: Tools
nrwahl2 added a comment to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.

For the purposes of showing lists, I would think we want to show the meta-attributes that can apply directly to the thing being requested (not just inherited).

Jan 12 2024, 2:50 AM · Restricted Project, Restricted Project, Pacemaker: Tools

Jan 11 2024

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

If we're using C as the starting point, we don't need XML, we just need tools that can parse the C code (we can require a particular style to make that easier) and generate sysconfig, ReST, and Python.

Running a command that generates XML on demand (which is our main goal anyway), and then parsing that, is probably easier than parsing the C code.

Jan 11 2024, 3:34 PM · Restricted Project, Restricted Project, Pacemaker: Tools
nrwahl2 added a comment to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.

If we're using C as the starting point, we don't need XML, we just need tools that can parse the C code (we can require a particular style to make that easier) and generate sysconfig, ReST, and Python.

Jan 11 2024, 2:41 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Jan 10 2024

kgaillot added a subtask for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables: T746: Avoid duplicating option metadata across daemons.
Jan 10 2024, 3:19 PM · Restricted Project, Restricted Project, Pacemaker: Tools
kgaillot changed the visibility for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
Jan 10 2024, 3:18 PM · Restricted Project, Restricted Project, Pacemaker: Tools
kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
Jan 10 2024, 3:17 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Jan 3 2024

kgaillot edited projects for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables, added: Pacemaker (2.1.8); removed Pacemaker (2.1.7).
Jan 3 2024, 11:39 AM · Restricted Project, Restricted Project, Pacemaker: Tools

Jan 2 2024

kgaillot added a project to T733: Attribute updates use the wrong default node name when container-attribute-target="host": Pacemaker (2.1.8).
Jan 2 2024, 6:08 PM · Pacemaker (2.1.8), Restricted Project

May 24 2023

kgaillot created Pacemaker (2.1.8).
May 24 2023, 1:29 PM