Page MenuHomeClusterLabs Projects
Feed Advanced Search

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

nrwahl2 closed Restricted Maniphest Task, a subtask of T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables, as Merged.
Jan 3 2024, 1:54 PM · Restricted Project, Restricted Project, Pacemaker: Tools
kgaillot edited projects for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables, added: Pacemaker (3.0.0); removed Pacemaker (2.1.8).
Jan 3 2024, 11:40 AM · Restricted Project, Restricted Project, Pacemaker: Tools
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

nrwahl2 closed Restricted Maniphest Task, a subtask of T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables, as Merged.
Jan 2 2024, 5:13 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Jan 1 2024

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

we will likely need some sort of internal API for these that the rest of the code must use to access options (rather than directly access them via getenv() etc.), so that we can guarantee we have one comprehensive list.

This is reasonable as a stylistic choice and as a reminder to update the meta-data when we add an option. However, it doesn't seem either necessary or sufficient in order to guarantee we have one comprehensive list.

Jan 1 2024, 12:21 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#10726, @nrwahl2 wrote:

I feel like internationalization might be easier if we store all the options (with their descriptions, etc.) in C files. Then we can generate XML on demand.

This may also reduce duplication: we can use bit flags for options that are applicable to more than one type of object. It looks like we could do this by referencing an XML entity. However, that strikes me as less intuitive, and it would make the XML files harder to parse. (Parsability by external tools seems like the main advantage of using a static XML file as the source of truth.)

Jan 1 2024, 12:17 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Dec 24 2023

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

we will likely need some sort of internal API for these that the rest of the code must use to access options (rather than directly access them via getenv() etc.), so that we can guarantee we have one comprehensive list.

Dec 24 2023, 8:08 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Dec 23 2023

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

It might even be worthwhile to keep the OCF-like metadata in XML files to be used as the definitive list, with the sysconfig file, ReST files for the books, and C and Python data files created from it automatically via make targets. Alternatively, we could install the XML files, and C and Python APIs could parse them.

Dec 23 2023, 7:46 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Dec 19 2023

kgaillot changed the status of T723: Fix regression in crm_ticket/cibadmin/crm_diff XML output from Merged to Released.
Dec 19 2023, 6:17 PM · Restricted Project, Pacemaker (2.1.7), Pacemaker: Tools, Restricted Project
kgaillot changed the status of T732: crm_attribute --delete doesn't delete transient attributes from Merged to Released.
Dec 19 2023, 6:16 PM · Restricted Project, Pacemaker (2.1.7), Restricted Project, Pacemaker: Tools

Dec 12 2023

nrwahl2 updated the task description for T734: attrd_updater doesn't write bundle node attributes to CIB.
Dec 12 2023, 3:57 PM · Pacemaker: Tools, Restricted Project
nrwahl2 renamed T734: attrd_updater doesn't write bundle node attributes to CIB from attrd_updater doesn't write bundle nodes attribute to CIB to attrd_updater doesn't write bundle node attributes to CIB.
Dec 12 2023, 3:56 PM · Pacemaker: Tools, Restricted Project

Dec 11 2023

nrwahl2 added a comment to T735: crmadmin -D hangs forever if there is no DC.

For pcmk__designated_controller(), it seems reasonable to just ask the local controller for controld_globals.dc_name, using that as the source of truth instead of broadcasting a ping.

  • If it's NULL when there is in fact a DC somewhere, that should be a very temporary state, and "no DC" is still "true" from the local perspective.
  • If it's set when the DC has gone offline or something, then similar to above.
  • If it's possible for multiple nodes to transiently see themselves as DC, then that already complicates the "ping the DC and wait for a response" approach we use now. There's no obviously correct answer in that case.
Dec 11 2023, 6:13 PM · Restricted Project, Pacemaker: Tools, Restricted Project
nrwahl2 added a comment to T735: crmadmin -D hangs forever if there is no DC.

All of this stems from dropping the mainloops in pcmk_cluster_queries.c. We replaced them with sync when the timeout is 0 in a6ec43e3. We replaced them with poll when the timeout is greater than 0 in 8771565f. The sync change is causing this problem. It's unclear if the poll change has caused or will cause any problems; that seems less likely, but it's possible.

Dec 11 2023, 4:08 PM · Restricted Project, Pacemaker: Tools, Restricted Project
nrwahl2 triaged T735: crmadmin -D hangs forever if there is no DC as High priority.
Dec 11 2023, 3:16 PM · Restricted Project, Pacemaker: Tools, Restricted Project
kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
Dec 11 2023, 12:33 PM · Restricted Project, Restricted Project, Pacemaker: Tools
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.
Dec 11 2023, 12:29 PM · Restricted Project, Restricted Project, Pacemaker: Tools
nrwahl2 closed T732: crm_attribute --delete doesn't delete transient attributes as Merged by committing rP394b80aa7214: Fix: attrd: Regression in transient attr deletions.
Dec 11 2023, 9:48 AM · Restricted Project, Pacemaker (2.1.7), Restricted Project, Pacemaker: Tools

Dec 10 2023

nrwahl2 updated the task description for T734: attrd_updater doesn't write bundle node attributes to CIB.
Dec 10 2023, 8:40 PM · Pacemaker: Tools, Restricted Project
nrwahl2 updated the task description for T734: attrd_updater doesn't write bundle node attributes to CIB.
Dec 10 2023, 8:39 PM · Pacemaker: Tools, Restricted Project
nrwahl2 renamed T734: attrd_updater doesn't write bundle node attributes to CIB from Transient attribute updates for bundle nodes are not written to CIB to attrd_updater doesn't write bundle nodes attribute to CIB.
Dec 10 2023, 8:39 PM · Pacemaker: Tools, Restricted Project

Dec 8 2023

nrwahl2 added a project to T732: crm_attribute --delete doesn't delete transient attributes: Restricted Project.
Dec 8 2023, 4:32 PM · Restricted Project, Pacemaker (2.1.7), Restricted Project, Pacemaker: Tools
nrwahl2 added a project to T732: crm_attribute --delete doesn't delete transient attributes: Pacemaker (2.1.7).
Dec 8 2023, 4:32 PM · Restricted Project, Pacemaker (2.1.7), Restricted Project, Pacemaker: Tools
nrwahl2 claimed T732: crm_attribute --delete doesn't delete transient attributes.
Dec 8 2023, 3:39 PM · Restricted Project, Pacemaker (2.1.7), Restricted Project, Pacemaker: Tools
nrwahl2 triaged T732: crm_attribute --delete doesn't delete transient attributes as High priority.
Dec 8 2023, 3:20 PM · Restricted Project, Pacemaker (2.1.7), Restricted Project, Pacemaker: Tools

Dec 7 2023

kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
Dec 7 2023, 2:51 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Dec 6 2023

kgaillot triaged T729: Clean up XML schema validation code, and use output object where possible as Normal priority.
Dec 6 2023, 5:36 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Pacemaker: Tools, Restricted Project
kgaillot triaged T727: Handle output objects in pcmk_update_configured_schema() as Normal priority.
Dec 6 2023, 12:27 PM · Restricted Project, Restricted Project, Pacemaker: Tools
nrwahl2 added a project to T721: crm_resource --cleanup doesn't work reliably: Pacemaker: Tools.
Dec 6 2023, 12:29 AM · Pacemaker: Tools

Dec 4 2023

clumens closed T723: Fix regression in crm_ticket/cibadmin/crm_diff XML output as Merged by committing rP1382915a15a6: Med: tools: Fix a regression in tool XML output..
Dec 4 2023, 1:05 PM · Restricted Project, Pacemaker (2.1.7), Pacemaker: Tools, Restricted Project
kgaillot added projects to T723: Fix regression in crm_ticket/cibadmin/crm_diff XML output: Pacemaker (2.1.7), Restricted Project.
Dec 4 2023, 11:27 AM · Restricted Project, Pacemaker (2.1.7), Pacemaker: Tools, Restricted Project
kgaillot triaged T723: Fix regression in crm_ticket/cibadmin/crm_diff XML output as Unbreak Now! priority.
Dec 4 2023, 11:27 AM · Restricted Project, Pacemaker (2.1.7), Pacemaker: Tools, Restricted Project

Nov 29 2023

clumens 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.
Nov 29 2023, 12:31 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Nov 22 2023

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

This is now:

Nov 22 2023, 3:25 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Oct 2 2023

kgaillot added a subtask for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables: Restricted Maniphest Task.
Oct 2 2023, 5:41 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Sep 5 2023

kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
Sep 5 2023, 6:01 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.
Sep 5 2023, 5:59 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Aug 30 2023

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.
Aug 30 2023, 12:24 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Aug 8 2023

kgaillot assigned T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables to nrwahl2.
Aug 8 2023, 10:38 AM · Restricted Project, Restricted Project, Pacemaker: Tools

Mar 28 2023

kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
Mar 28 2023, 10:55 AM · 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.
Mar 28 2023, 10:44 AM · 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.
Mar 28 2023, 10:38 AM · Restricted Project, Restricted Project, Pacemaker: Tools
kgaillot renamed T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables from Create command-line method of listing all possible meta-attributes to Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
Mar 28 2023, 10:34 AM · Restricted Project, Restricted Project, Pacemaker: Tools

Feb 1 2023

kgaillot added a project to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables: Restricted Project.
Feb 1 2023, 6:42 PM · Restricted Project, Restricted Project, Pacemaker: Tools

Jan 24 2023

kgaillot triaged T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables as Normal priority.
Jan 24 2023, 10:21 AM · Restricted Project, Restricted Project, Pacemaker: Tools

Mar 15 2022

kgaillot changed the edit policy for Pacemaker: Tools.
Mar 15 2022, 11:32 AM

Dec 3 2021

kgaillot created Pacemaker: Tools.
Dec 3 2021, 5:33 PM