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

Add support for new datespec and duration options in rules [rhel-10]

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

      None

      Show
      None
    • Yes
    • None
    • Enhancement
    • Hide
      Feature, enhancement (describe the feature or enhancement from the user’s point of view):
      New options are allowed in date-spec and duration in rules.

      Reason (why has the feature or enhancement been implemented):
      The options were added in pacemaker 3, pcs is following.

      Result (what is the current user experience):
      Supported duration options are: seconds, minutes, hours, days, weeks, months, years.
      Supported date-spec options are: seconds, minutes, hours, monthdays, weekdays, yeardays, months, weeks, years, weekyears.
      Affected commands are: 'pcs resource | stonith defaults', 'pcs resource | stonith op defaults', 'pcs constraint location'.
      Show
      Feature, enhancement (describe the feature or enhancement from the user’s point of view): New options are allowed in date-spec and duration in rules. Reason (why has the feature or enhancement been implemented): The options were added in pacemaker 3, pcs is following. Result (what is the current user experience): Supported duration options are: seconds, minutes, hours, days, weeks, months, years. Supported date-spec options are: seconds, minutes, hours, monthdays, weekdays, yeardays, months, weeks, years, weekyears. Affected commands are: 'pcs resource | stonith defaults', 'pcs resource | stonith op defaults', 'pcs constraint location'.
    • Proposed
    • None

      Goal

      • Support all datespec and duration options defined by pacemaker
        • datespec: seconds minutes hours monthdays weekdays yeardays months weeks years weekyears
        • duration: seconds minutes hours days weeks months years

      Acceptance Criteria

      • Pcs recognized the specified duration and datespec options as valid, is able to validate their values, and save the options and their values in CIB
      • exporting rules as pcs commands works with the new options and they are exported correctly
      • pcs capabilities are updated to reflect the change

              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:
              11 Start watching this issue

                Created:
                Updated: