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

[RFE] Allow for explicit "sequence points" in pcs based scripting, e.g. by the means of "pcs cluster settle cib"

    • Normal
    • FutureFeature
    • sst_high_availability
    • ssg_filesystems_storage_and_HA
    • 13
    • 19
    • 3
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Feature
    • Hide
      Feature, enhancement (describe the feature or enhancement from the user’s point of view):
      Pcs now provides a command `pcs status wait` to wait for the cluster to settle into a stable state.

      Reason (why has the feature or enhancement been implemented):
      A command for waiting for the cluster to settle allows the users to perform multiple changes to the cluster and only then arrange the waiting. This allows for the creation of explicit "sequence points" in pcs-based scripting.

      Result (what is the current user experience):
      Use `pcs status wait [TIMEOUT]` to wait for the cluster to settle into a stable state.
      Show
      Feature, enhancement (describe the feature or enhancement from the user’s point of view): Pcs now provides a command `pcs status wait` to wait for the cluster to settle into a stable state. Reason (why has the feature or enhancement been implemented): A command for waiting for the cluster to settle allows the users to perform multiple changes to the cluster and only then arrange the waiting. This allows for the creation of explicit "sequence points" in pcs-based scripting. Result (what is the current user experience): Use `pcs status wait [TIMEOUT]` to wait for the cluster to settle into a stable state.
    • Proposed

      Intended use spurred with bz1619265 is:

      perform bunch of changes to cluster state/configuration, only then arrange for waiting until it all sinks in and the cluster at pacemaker level finally "settles"

      Implementation-wise:

      crm_resource --wait [--timeout=TIMEOUT]

      Notes:

      • modeled according to "udevadm settle" (and perhaps others) administrators can be familiar with
      • why not just "pcs cluster settle"? there are more in-flight, transients states that one may also want to establish "sequential points" for, e.g. "pcs cluster start"; "pcs cluster settle" could then easily be dedicated to mean as a catch-all (or smart decision to be made automatically) later on

            mpospisi@redhat.com Michal Pospisil
            jpokorny_jira Jan Pokorny (Inactive)
            Peter Romancik Peter Romancik
            Nina Hostakova Nina Hostakova
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: