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

Web UI: pcs should warn when setting utilization attributes may unexpectedly have no effect

    • Normal
    • sst_high_availability
    • ssg_filesystems_storage_and_HA
    • 13
    • 23
    • 8
    • False
    • Hide

      None

      Show
      None
    • No
    • Enhancement
    • Hide
      Feature, enhancement:
      Reason: When cluster property "placement-strategy" is not set to a value different from value "default", utilizations have no effect. The user can be confused by the fact.
      Result: The user sees warning near utilization attributes (for both - nodes and resources) that the utilization has no effect due to "placement-strategy" configuration.
      Show
      Feature, enhancement: Reason: When cluster property "placement-strategy" is not set to a value different from value "default", utilizations have no effect. The user can be confused by the fact. Result: The user sees warning near utilization attributes (for both - nodes and resources) that the utilization has no effect due to "placement-strategy" configuration.
    • Proposed

      This bug was initially created as a copy of Bug #1465829

      I am copying this bug because:
      Initially, this feature should have been implemented in web UI as well, as mentioned in bz1465829 comment 1, but was done only for CLI. This clone is to cover the GUI part.

      Unfortunately, [bug 1158500] missed this guidance point completely
      (also because the effect of utilization was never properly tested?).

      When setting utilization attribute while the placement-strategy is
      "default" (implicitly or not) ...

      1. ... on-the-fly: emit guidance message that placement-strategy cluster
      property needs to be changed for the current change to take effect

      2. ... accumulate + push: ditto as for 1. + make the "grand check"
      in the push stage that will verify that the final CIB indeed
      carries placement-strategy set to non-default, if not, emit
      the warning once more + perhaps prevent the push unless --force
      is specified

      Note also there's no restriction of available values for
      placement-strategy values in the current code.

      References:
      http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html-single/Pacemaker_Explained/index.html#_placement_strategy

            mpospisi@redhat.com Michal Pospisil
            mmazoure Michal Mazourek
            Ivan Devát Ivan Devát
            Nina Hostakova Nina Hostakova
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: