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" [rhel-9]

    • pcs-0.11.7-3.el9
    • FutureFeature
    • sst_high_availability
    • ssg_filesystems_storage_and_HA
    • 13
    • 19
    • 3
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Feature
    • Hide
      .New `pcs status wait` command

      The `pcs` command-line interface now provides a `pcs status wait` command. This command ensures that Pacemaker has completed any actions required by changes to the Cluster Information Base (CIB) and does not need to take any further actions in order to make the actual cluster state match the requested cluster state.
      Show
      .New `pcs status wait` command The `pcs` command-line interface now provides a `pcs status wait` command. This command ensures that Pacemaker has completed any actions required by changes to the Cluster Information Base (CIB) and does not need to take any further actions in order to make the actual cluster state match the requested cluster state.
    • Done
    • None

      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

            mmazoure Michal Mazourek
            jpokorny_jira Jan Pokorny (Inactive)
            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: