Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-21047

[RFE] Provide means to export tags as pcs commands [rhel-10]

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.0
    • rhel-9.0.0
    • pcs
    • rhel-sst-high-availability
    • 13
    • 19
    • 5
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Enhancement
    • Hide
      New `pcs tag [config]` option for displaying configuration in text, JSON, and command formats

      The `pcs tag [config]` now supports the `--output-format` option.

      * Specifying `--output-format=text` displays the configured tags in plain text format, which is the default value for this option.

      * Specifying `--output-format=cmd` displays the commands created from the current cluster tags configuration. You can use these commands to re-create configured tags on a different system.

      * Specifying `--output-format=json` displays the configured tags in JSON format, which is suitable for machine parsing.
      Show
      New `pcs tag [config]` option for displaying configuration in text, JSON, and command formats The `pcs tag [config]` now supports the `--output-format` option. * Specifying `--output-format=text` displays the configured tags in plain text format, which is the default value for this option. * Specifying `--output-format=cmd` displays the commands created from the current cluster tags configuration. You can use these commands to re-create configured tags on a different system. * Specifying `--output-format=json` displays the configured tags in JSON format, which is suitable for machine parsing.
    • Proposed
    • None

      Goal

      This is a part of a long term goal to export the whole cluster configuration in form of pcs commands which, when run, recreate the same configuration.

      This particular ticket is focused on pacemaker tags configuration.

      Acceptance Criteria

      • There is a CLI command which prints configured tags in plaintext, json, and pcs commands format.
      • There is an API call which exports the tags in a data  structure.
      • Exporting constraints as pcs commands and json supports tags.
      • Pcs man page and help text is updated accordingly.
      • There are corresponding pcs / pcsd capabilities.

       

              mmazoure Michal Mazourek
              tojeline@redhat.com Tomas Jelinek
              Peter Romancik Peter Romancik
              Michal Mazourek Michal Mazourek
              Steven Levine Steven Levine
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: