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

Improve documentation and error messages of `pcs resource move` command

    • pcs-0.11.6-6.el9
    • None
    • Moderate
    • sst_high_availability
    • ssg_filesystems_storage_and_HA
    • 13
    • 19
    • 2
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Release Note Not Required
    • Hide
      Feature:
      Improve an error message when 'pcs resource move' command fails.

      Reason:
      Previously, it wasn't clear in which phase the command failed and what it left behind in the cluster configuration.

      Result:
      If the command left a move constraint behind, pcs explicitly points it out and provides a guidance on removing the constraint.
      Show
      Feature: Improve an error message when 'pcs resource move' command fails. Reason: Previously, it wasn't clear in which phase the command failed and what it left behind in the cluster configuration. Result: If the command left a move constraint behind, pcs explicitly points it out and provides a guidance on removing the constraint.
    • None

      Documentation of `pcs resource move` command needs to better describe a case when command fails and a constraint used to move the resource is not removed by pcs afterwards. Error message produced by pcs in a such case may also be improved to suggest to use `pcs resource clear <resource> [<node>]` command in order to remove the constraint. However, the error message should be clear that removal of the constraint may cause the resource to move to another node.

            cluster-qe Cluster QE
            omular1@redhat.com Ondrej Mular
            Tomas Jelinek Tomas Jelinek
            Nina Hostakova Nina Hostakova
            Steven Levine Steven Levine
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: