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
      .Updated date specification and duration options in Pacemaker rules

      Pacemaker rules no longer support the following options:

      * Invalid `duration` options: `monthdays`, `moon`, `weekdays`, `weekyears`, `yearsdays`
      * Invalid `date-spec` options: `moon`, `yearsdays`

      Pacemaker rules now support the following options:

      * The supported `duration` options are now `seconds`, `minutes`, `hours`, `days`, `weeks`, `months`, and `years`.
      * The supported `date-spec` options are now `seconds`, `minutes`, `hours`, `monthdays`, `weekdays`, `yeardays`, `months`, `weeks`, `years`, and `weekyears`.

      You can configure rules that incorporate `duration` and `date-spec` options in the following `pcs` commands:

      * `pcs resource defaults`
      * `pcs stonith defaults`
      * `pcs resource op defaults`
      * `pcs stonith op defaults`
      * `pcs constraint location`
      Show
      .Updated date specification and duration options in Pacemaker rules Pacemaker rules no longer support the following options: * Invalid `duration` options: `monthdays`, `moon`, `weekdays`, `weekyears`, `yearsdays` * Invalid `date-spec` options: `moon`, `yearsdays` Pacemaker rules now support the following options: * The supported `duration` options are now `seconds`, `minutes`, `hours`, `days`, `weeks`, `months`, and `years`. * The supported `date-spec` options are now `seconds`, `minutes`, `hours`, `monthdays`, `weekdays`, `yeardays`, `months`, `weeks`, `years`, and `weekyears`. You can configure rules that incorporate `duration` and `date-spec` options in the following `pcs` commands: * `pcs resource defaults` * `pcs stonith defaults` * `pcs resource op defaults` * `pcs stonith op defaults` * `pcs constraint location`
    • Done
    • 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: