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

Drop support for multiple rules in location constraints following pacemaker3

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.0
    • rhel-10.0
    • pcs
    • pcs-0.12.0~b1-1.el10
    • rhel-sst-high-availability
    • ssg_filesystems_storage_and_HA
    • 13
    • 26
    • 5
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Removed Functionality
    • Hide
      Description (describe the discontinued feature): Following pacemaker 3, pcs no longer supports location constraints with multiple top-level rules. Only one rule per constraint is allowed.

      Consequence (describe the recommended replacement, if applicable):
      Commands 'pcs constraint rule add | delete | remove' have been removed. If users have constraints with multiple rules, they should run "pcs cluster cib-upgrade" to update to the latest cib schema. During the update, pacemaker creates a constraint for each rule, so that there will be only one rule in each constraint.
      Show
      Description (describe the discontinued feature): Following pacemaker 3, pcs no longer supports location constraints with multiple top-level rules. Only one rule per constraint is allowed. Consequence (describe the recommended replacement, if applicable): Commands 'pcs constraint rule add | delete | remove' have been removed. If users have constraints with multiple rules, they should run "pcs cluster cib-upgrade" to update to the latest cib schema. During the update, pacemaker creates a constraint for each rule, so that there will be only one rule in each constraint.
    • Proposed
    • None

      Goal

      Pacemaker team has announced upstream that support for multiple rules in a location constraint is going to be dropped in Pacemaker 3. Pcs needs to follow that.

      Acceptance criteria

      • commands 'pcs constraint rule add', 'pcs constraint rule delete | remove' don't update cib, they print a message explaining the commands have been removed
      • usage and man page no longer describe the commands
      • the change is described in man pages in 'changes in pcs-0.12 section'
      • capabilities are updated
      • changelog is updated
      • exporting constraints with multiple rules as commands no longer uses 'pcs constraint rule add', it creates a new constraint for each rule

              cluster-qe Cluster QE
              tojeline@redhat.com Tomas Jelinek
              Tomas Jelinek Tomas Jelinek
              Michal Mazourek Michal Mazourek
              Steven Levine Steven Levine
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: