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.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Jan 11 2024
Jan 11 2024
kgaillot added a comment to T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
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 10 2024
Jan 10 2024
kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
Jan 3 2024
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.
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).
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 2 2024
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 1 2024
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.
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.)
Dec 24 2023
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 23 2023
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 19 2023
Dec 19 2023
kgaillot changed the status of T723: Fix regression in crm_ticket/cibadmin/crm_diff XML output from Merged to Released.
kgaillot changed the status of T732: crm_attribute --delete doesn't delete transient attributes from Merged to Released.
Dec 12 2023
Dec 12 2023
nrwahl2 updated the task description for T734: attrd_updater doesn't write bundle node attributes to CIB.
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 11 2023
Dec 11 2023
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.
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.
kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
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 10 2023
Dec 10 2023
nrwahl2 updated the task description for T734: attrd_updater doesn't write bundle node attributes to CIB.
nrwahl2 updated the task description for T734: attrd_updater doesn't write bundle node attributes to CIB.
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 8 2023
Dec 8 2023
nrwahl2 added a project to T732: crm_attribute --delete doesn't delete transient attributes: Restricted Project.
nrwahl2 added a project to T732: crm_attribute --delete doesn't delete transient attributes: Pacemaker (2.1.7).
Dec 7 2023
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 6 2023
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
Dec 4 2023
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..
kgaillot added projects to T723: Fix regression in crm_ticket/cibadmin/crm_diff XML output: Pacemaker (2.1.7), Restricted Project.
kgaillot triaged T723: Fix regression in crm_ticket/cibadmin/crm_diff XML output as Unbreak Now! priority.
Nov 29 2023
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 22 2023
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:
Oct 2 2023
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.
Sep 5 2023
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.
kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
Aug 30 2023
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 8 2023
Aug 8 2023
Mar 28 2023
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.
kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
kgaillot updated the task description for T620: Create command-line method of listing all possible meta-attributes, cluster options, and environment variables.
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.
Feb 1 2023
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.
Jan 24 2023
Jan 24 2023
Mar 15 2022
Mar 15 2022
Dec 3 2021
Dec 3 2021