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

Drop support for removed options in rules following pacemaker 3

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

      None

      Show
      None
    • Yes
    • None
    • Removed Functionality
    • Hide
      Description (describe the discontinued feature): Following pacemaker 3,
      options 'moon' and 'yearsdays' in date_spec, and 'monthdays', ' weekdays', 'weekyears', 'moon' and 'yearsdays' in duration in rules are no longer supported.

      Consequence (describe the recommended replacement, if applicable):
      The mentioned options can no longer be used when defining rules in any commands. Affected commands are: 'pcs resource | stonith defaults', 'pcs resource | stonith op defaults', 'pcs constraint location'.
      Show
      Description (describe the discontinued feature): Following pacemaker 3, options 'moon' and 'yearsdays' in date_spec, and 'monthdays', ' weekdays', 'weekyears', 'moon' and 'yearsdays' in duration in rules are no longer supported. Consequence (describe the recommended replacement, if applicable): The mentioned options can no longer be used when defining rules in any commands. Affected commands are: 'pcs resource | stonith defaults', 'pcs resource | stonith op defaults', 'pcs constraint location'.
    • Proposed
    • None

      Goal

      Pacemaker team has announced upstream that support for moon in date_spec, monthdays,  weekdaysweekyears, or moon in a duration and yearsdays anywhere in rules is going to be dropped in Pacemaker 3. Pcs needs to follow that.

      They also announced that score or score-attribute in a rule won't be allowed anywhere other than a location constraint.

      Acceptance Criteria

      • The specified options are no longer considered to be valid by pcs
      • pcs is able to create rules in CIB correctly wrt. score options being removed
      • pcs capabilities are updated to reflect the change
      • Consider updating exporting rules as pcs commands

              rhn-support-nhostako Nina Hostakova
              tojeline@redhat.com Tomas Jelinek
              Tomas Jelinek Tomas Jelinek
              Nina Hostakova Nina Hostakova
              Steven Levine Steven Levine
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: