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

[RFE] Provide means to export stonith levels as pcs commands [rhel-9]

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

      None

      Show
      None
    • Yes
    • None
    • Enhancement
    • Hide
      Feature, enhancement (describe the feature or enhancement from the user’s point of view):
      Ability to export fencing level configuration in json format, and as pcs command.

      Reason (why has the feature or enhancement been implemented):
      Exporting fencing level configuration in json is suitable for machine processing. Exporting the configuration as pcs commands allows for easy recreation of the configuration.

      Result (what is the current user experience):
      The user can use the `pcs stonith config --output-format=json|cmd` and `pcs stonith level config --output-format=json|cmd` commands to export the fencing level configuration in json, and as pcs commands.
      Show
      Feature, enhancement (describe the feature or enhancement from the user’s point of view): Ability to export fencing level configuration in json format, and as pcs command. Reason (why has the feature or enhancement been implemented): Exporting fencing level configuration in json is suitable for machine processing. Exporting the configuration as pcs commands allows for easy recreation of the configuration. Result (what is the current user experience): The user can use the `pcs stonith config --output-format=json|cmd` and `pcs stonith level config --output-format=json|cmd` commands to export the fencing level configuration in json, and as pcs commands.
    • 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 stonith levels configuration.

      Acceptance Criteria

      • The existing CLI command for exporting stonith resources as plain text, json, and pcs commands is extended to export stonith levels as well.
      • Pcs no longer warns that exporting stonith levels is not supported.
      • There is an API call to export stonith levels in a data structure.
      • Pcs man page and help text is updated accordingly
      • There are corresponding pcs / pcsd capabilities.

              cluster-qe Cluster QE
              tojeline@redhat.com Tomas Jelinek
              Peter Romancik
              Michal Pospisil Michal Pospisil
              Nina Hostakova Nina Hostakova
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: